[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231026090259.362945-1-roberto.sassu@huaweicloud.com>
Date: Thu, 26 Oct 2023 11:02:59 +0200
From: Roberto Sassu <roberto.sassu@...weicloud.com>
To: paul@...l-moore.com, jmorris@...ei.org, serge@...lyn.com
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, zohar@...ux.ibm.com,
linux-integrity@...r.kernel.org,
Roberto Sassu <roberto.sassu@...wei.com>
Subject: [PATCH] security: Don't yet account for IMA in LSM_CONFIG_COUNT calculation
From: Roberto Sassu <roberto.sassu@...wei.com>
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@...wei.com>
---
security/security.c | 1 -
1 file changed, 1 deletion(-)
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) + \
--
2.34.1
Powered by blists - more mailing lists