Config option to set a default LSM
authorJohn Johansen <john.johansen@canonical.com>
Fri, 6 Nov 2009 01:03:20 +0000 (17:03 -0800)
committerJames Morris <jmorris@namei.org>
Sun, 8 Nov 2009 21:40:07 +0000 (08:40 +1100)
The LSM currently requires setting a kernel parameter at boot to select
a specific LSM.  This adds a config option that allows specifying a default
LSM that is used unless overridden with the security= kernel parameter.
If the the config option is not set the current behavior of first LSM
to register is used.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/Kconfig
security/security.c

Simple merge
Simple merge