linux-stable/security/selinux
Ahmed S. Darwish 076c54c5bc Security: Introduce security= boot parameter
Add the security= boot parameter. This is done to avoid LSM
registration clashes in case of more than one bult-in module.

User can choose a security module to enable at boot. If no
security= boot parameter is specified, only the first LSM
asking for registration will be loaded. An invalid security
module name will be treated as if no module has been chosen.

LSM modules must check now if they are allowed to register
by calling security_module_enable(ops) first. Modify SELinux
and SMACK to do so.

Do not let SMACK register smackfs if it was not chosen on
boot. Smackfs assumes that smack hooks are registered and
the initial task security setup (swapper->security) is done.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Acked-by: James Morris <jmorris@namei.org>
2008-04-19 10:00:51 +10:00
..
include Audit: Final renamings and cleanup 2008-04-19 09:59:43 +10:00
ss SELinux: use new audit hooks, remove redundant exports 2008-04-19 09:53:46 +10:00
avc.c selinux: introduce permissive types 2008-04-18 20:26:11 +10:00
exports.c SELinux: remove redundant exports 2008-04-19 09:52:36 +10:00
hooks.c Security: Introduce security= boot parameter 2008-04-19 10:00:51 +10:00
Kconfig selinux: introduce permissive types 2008-04-18 20:26:11 +10:00
Makefile SELinux: Add network port SID cache 2008-04-18 20:26:16 +10:00
netif.c SELinux: Add warning messages on network denial due to error 2008-01-30 08:17:30 +11:00
netlabel.c selinux: selinux/netlabel.c should #include "netlabel.h" 2008-04-18 20:26:06 +10:00
netlink.c security: replace remaining __FUNCTION__ occurrences 2008-04-18 20:26:07 +10:00
netnode.c SELinux: Add warning messages on network denial due to error 2008-01-30 08:17:30 +11:00
netport.c SELinux: add netport.[ch] 2008-04-18 20:26:17 +10:00
nlmsgtab.c Audit: add TTY input auditing 2007-07-16 09:05:47 -07:00
selinuxfs.c security: replace remaining __FUNCTION__ occurrences 2008-04-18 20:26:07 +10:00
xfrm.c SELinux: Enable dynamic enable/disable of the network access checks 2008-01-30 08:17:26 +11:00