From: John Johansen Date: Thu, 24 Aug 2023 19:38:01 +0000 (-0700) Subject: apparmor: advertise disconnected.path is available X-Git-Tag: block-6.7-2023-11-10~32^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e105d8079f82819f4773c4853dc199e195fedf40;p=linux-block.git 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 Signed-off-by: John Johansen --- 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"), { } };