]> git.baikalelectronics.ru Git - 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)
commitcc2d2d9e98effa1948557ad5a97f99e6366573ba
treeab45414d24e44e6aefcb909ecdc50b37d2effec6
parentcf7796cdcf3ade553a92e90b2eacf2793d542be2
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