diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2023-10-26 12:02:59 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-11-13 06:54:42 +0300 |
commit | aab30be071f7048c9c23c61e6eddd55bba328398 (patch) | |
tree | f4fa919a7eef1a22c2033fc0ff0d5ae9df1c3117 /security/security.c | |
parent | edd71f8e266c7ba15eedfec338864e53ddde1c25 (diff) | |
download | linux-aab30be071f7048c9c23c61e6eddd55bba328398.tar.xz |
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>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index 988483fcf153..7281aa90ca20 100644 --- a/security/security.c +++ b/security/security.c @@ -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) + \ |