apparmor: Remove SECURITY_APPARMOR_BOOTPARAM_VALUE
authorKees Cook <keescook@chromium.org>
Tue, 2 Oct 2018 00:08:57 +0000 (17:08 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:43 +0000 (13:18 -0800)
commit0102fb83f90050b86ce37aec810ea17bb4448e0c
tree358b34fa8f9ece6d7880aae1b233a802d7462e03
parent14bd99c821f7ace0e8110a1bfdfaa27e1788e20f
apparmor: Remove SECURITY_APPARMOR_BOOTPARAM_VALUE

In preparation for removing CONFIG_DEFAULT_SECURITY, this removes the
soon-to-be redundant SECURITY_APPARMOR_BOOTPARAM_VALUE. Since explicit
ordering via CONFIG_LSM or "lsm=" will define whether an LSM is enabled or
not, this CONFIG will become effectively ignored, so remove it. However,
in order to stay backward-compatible with "security=apparmor", the enable
variable defaults to true.

Signed-off-by: Kees Cook <keescook@chromium.org>
security/apparmor/Kconfig
security/apparmor/lsm.c