]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
LSM: Add all exclusive LSMs to ordered initialization
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 20 Nov 2018 02:04:32 +0000 (18:04 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:43 +0000 (13:18 -0800)
commitc91d8106b370593b4d3dcc0b06282bf39478ae13
treeab45414d24e44e6aefcb909ecdc50b37d2effec6
parentbe6ec88f41ba94746f830ba38cc4d08dd5ddbb08
LSM: Add all exclusive LSMs to ordered initialization

This removes CONFIG_DEFAULT_SECURITY in favor of the explicit ordering
offered by CONFIG_LSM and adds all the exclusive LSMs to the ordered
LSM initialization. The old meaning of CONFIG_DEFAULT_SECURITY is now
captured by which exclusive LSM is listed first in the LSM order. All
LSMs not added to the ordered list are explicitly disabled.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/security.c