aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-02-26 01:56:16 +0000
committerJames Morris <jmorris@namei.org>2010-02-26 14:54:23 +1100
commitef57471a73b67a7b65fd8708fd55c77cb7c619af (patch)
tree0cb8f8dea197999d79bf69d192719be69cd36244 /security/tomoyo
parent1fcdc7c527010b144d3951f9ce25faedf264933c (diff)
downloadkernel_samsung_smdk4412-ef57471a73b67a7b65fd8708fd55c77cb7c619af.zip
kernel_samsung_smdk4412-ef57471a73b67a7b65fd8708fd55c77cb7c619af.tar.gz
kernel_samsung_smdk4412-ef57471a73b67a7b65fd8708fd55c77cb7c619af.tar.bz2
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>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions