]> git.ipfire.org Git - thirdparty/linux.git/commit - security/selinux/hooks.c
selinux: Remove SECURITY_SELINUX_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)
commitbe6ec88f41ba94746f830ba38cc4d08dd5ddbb08
tree4f660979afb89835d9dee6f80444e491ede591bc
parent0102fb83f90050b86ce37aec810ea17bb4448e0c
selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE

In preparation for removing CONFIG_DEFAULT_SECURITY, this removes the
soon-to-be redundant SECURITY_SELINUX_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=selinux", the enable
variable defaults to true.

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