From 35b8ab3f36ac0fcd8fc910da0bed889b6c75c426 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Wed, 30 Sep 2026 08:49:43 -0700 Subject: [PATCH] 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 --- security/apparmor/net.c | 1 + 1 file changed, 1 insertion(+) 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), { } };