[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250621171851.5869-9-casey@schaufler-ca.com>
Date: Sat, 21 Jun 2025 10:18:43 -0700
From: Casey Schaufler <casey@...aufler-ca.com>
To: casey@...aufler-ca.com,
paul@...l-moore.com,
eparis@...hat.com,
linux-security-module@...r.kernel.org,
audit@...r.kernel.org
Cc: jmorris@...ei.org,
serge@...lyn.com,
keescook@...omium.org,
john.johansen@...onical.com,
penguin-kernel@...ove.sakura.ne.jp,
stephen.smalley.work@...il.com,
linux-kernel@...r.kernel.org,
selinux@...r.kernel.org
Subject: [RFC PATCH 08/15] AppArmor: Remove the exclusive flag
With the preceeding audit changes AppArmor no longer needs
to be treated as an "exclusive" security module. Remove the
flag that indicates it is exclusive.
Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
---
security/apparmor/lsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 255d2e40386f..ac38864d9bce 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -2278,7 +2278,7 @@ static int __init apparmor_init(void)
DEFINE_LSM(apparmor) = {
.id = &apparmor_lsmid,
- .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE,
+ .flags = LSM_FLAG_LEGACY_MAJOR,
.enabled = &apparmor_enabled,
.blobs = &apparmor_blob_sizes,
.init = apparmor_init,
--
2.47.0
Powered by blists - more mailing lists