aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorTetsuo Handa <[email protected]>2010-08-28 05:58:44 +0000
committerJames Morris <[email protected]>2010-10-20 23:12:34 +0000
commit065d78a0603cc6f8d288e96dbf761b96984b634f (patch)
treeb95d865a91a6895d54b7b6486ebeb3b40bf2648e /security/selinux/hooks.c
parentselinux: type_bounds_sanity_check has a meaningless variable declaration (diff)
downloadkernel-065d78a0603cc6f8d288e96dbf761b96984b634f.tar.gz
kernel-065d78a0603cc6f8d288e96dbf761b96984b634f.zip
LSM: Fix security_module_enable() error.
We can set default LSM module to DAC (which means "enable no LSM module"). If default LSM module was set to DAC, security_module_enable() must return 0 unless overridden via boot time parameter. Signed-off-by: Tetsuo Handa <[email protected]> Acked-by: Serge E. Hallyn <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions