linux/security/selinux
David Howells ef57471a73 SELinux: Make selinux_kernel_create_files_as() shouldn't just always return 0
Make selinux_kernel_create_files_as() return an error when it gets one, rather
than unconditionally returning 0.

Without this, cachefiles doesn't return an error if the SELinux policy doesn't
let it create files with the label of the directory at the base of the cache.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
2010-02-26 14:54:23 +11:00
..
include selinux: allow MLS->non-MLS and vice versa upon policy reload 2010-02-04 09:06:36 +11:00
ss selinux: libsepol: remove dead code in check_avtab_hierarchy_callback() 2010-02-22 08:27:41 +11:00
.gitignore SELinux: add .gitignore files for dynamic classes 2009-10-24 09:42:27 +08:00
avc.c selinux: Only audit permissions specified in policy 2010-02-03 08:49:10 +11:00
exports.c Creds: creds->security can be NULL is selinux is disabled 2009-09-14 12:34:07 +10:00
hooks.c SELinux: Make selinux_kernel_create_files_as() shouldn't just always return 0 2010-02-26 14:54:23 +11:00
Kconfig
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
netif.c
netlabel.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c selinux: fix memory leak in sel_make_bools 2010-02-09 08:22:24 +11:00
xfrm.c SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00