mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-12-18 08:26:08 +01:00
lsm: don't yet account for IMA in LSM_CONFIG_COUNT calculation
Since IMA is not yet an LSM, don't account for it in the LSM_CONFIG_COUNT calculation, used to limit how many LSMs can invoke security_add_hooks(). Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> [PM: subject line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
edd71f8e26
commit
aab30be071
|
|
@ -44,7 +44,6 @@
|
|||
(IS_ENABLED(CONFIG_SECURITY_SELINUX) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_SECURITY_SMACK) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_SECURITY_TOMOYO) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_IMA) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_SECURITY_APPARMOR) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_SECURITY_YAMA) ? 1 : 0) + \
|
||||
(IS_ENABLED(CONFIG_SECURITY_LOADPIN) ? 1 : 0) + \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user