summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-09-30 08:49:43 -0700
committerJohn Johansen <john.johansen@canonical.com>2026-10-29 09:24:51 -0700
commit35b8ab3f36ac0fcd8fc910da0bed889b6c75c426 (patch)
tree91a753d4e759bd8a1046856e3a2f28e5b9d1bf5a
parent7a82f9a06459ff1c37b5e97b204430442cc076e3 (diff)
apparmor: advertise that sctp is being mediated
Enable the test harness to detect that the kernel should be properly mediating sctp. Fixes: 7a82f9a06459f ("apparmor: fix check SCTP bind, and connect permission checks") Signed-off-by: John Johansen <john.johansen@canonical.com>
-rw-r--r--security/apparmor/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/net.c b/security/apparmor/net.c
index 641d181544ac..136d14226b97 100644
--- a/security/apparmor/net.c
+++ b/security/apparmor/net.c
@@ -24,6 +24,7 @@
struct aa_sfs_entry aa_sfs_entry_network[] = {
AA_SFS_FILE_STRING("af_mask", AA_SFS_AF_MASK),
AA_SFS_FILE_BOOLEAN("tcp-fast-open", 1),
+ AA_SFS_FILE_BOOLEAN("sctp", 1),
{ }
};