summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2023-08-24 12:38:01 -0700
committerJohn Johansen <john.johansen@canonical.com>2023-10-18 15:30:51 -0700
commite105d8079f82819f4773c4853dc199e195fedf40 (patch)
tree8eec573d1429864e8d937532909ed9530afeb637 /security
parent98b824ff8984fd523fc264fbb13208098ab09da3 (diff)
downloadlinux-stable-e105d8079f82819f4773c4853dc199e195fedf40.tar.gz
linux-stable-e105d8079f82819f4773c4853dc199e195fedf40.tar.bz2
linux-stable-e105d8079f82819f4773c4853dc199e195fedf40.zip
apparmor: advertise disconnected.path is available
While disconnected.path has been available for a while it was never properly advertised as a feature. Fix this so that userspace doesn't need special casing to handle it. Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/apparmorfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 0bba46ccdb71..b123abbc43d8 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -2336,6 +2336,7 @@ static struct aa_sfs_entry aa_sfs_entry_domain[] = {
AA_SFS_FILE_BOOLEAN("post_nnp_subset", 1),
AA_SFS_FILE_BOOLEAN("computed_longest_left", 1),
AA_SFS_DIR("attach_conditions", aa_sfs_entry_attach),
+ AA_SFS_FILE_BOOLEAN("disconnected.path", 1),
AA_SFS_FILE_STRING("version", "1.2"),
{ }
};