mirror of https://gitee.com/openkylin/linux.git
7ac512aa82
cachefiles_determine_cache_security() is expected to return with a security override in place. However, if set_create_files_as() fails, we fail to do this. In this case, we should just reinstate the security override that was set by the caller. Furthermore, if set_create_files_as() fails, we should dispose of the new credentials we were in the process of creating. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bind.c | ||
daemon.c | ||
interface.c | ||
internal.h | ||
key.c | ||
main.c | ||
namei.c | ||
proc.c | ||
rdwr.c | ||
security.c | ||
xattr.c |