]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] selinux: Clear selinux_enabled flag upon runtime disable.
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 3 May 2006 14:52:36 +0000 (10:52 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 3 May 2006 17:08:11 +0000 (10:08 -0700)
commitc83c3c3a6e1a9d04033a59af45dd6b60d3d83b1c
tree8df537addd3709f36f24dbd654662568b79ca943
parenta12f763a08fee91b6d2237174bacab01a92eb4b8
[PATCH] selinux: Clear selinux_enabled flag upon runtime disable.

Clear selinux_enabled flag upon runtime disable of SELinux by userspace,
and make sure it is defined even if selinux= boot parameter support is
not enabled in configuration.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Tested-by: Jon Smirl <jonsmirl@gmail.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c
security/selinux/include/security.h