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)
commit6e65f92ff0d6f18580737321718d09035085a3fb
tree2edfad79128d1b48e0b4ad49abdfbfcf2a1a2a48
parent0e1a6ef2dea88101b056b6d9984f3325c5efced3
Config option to set a default LSM

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