Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
security/apparmor/apparmorfs.c
··· 2336 2336 AA_SFS_FILE_BOOLEAN("post_nnp_subset", 1), 2337 2337 AA_SFS_FILE_BOOLEAN("computed_longest_left", 1), 2338 2338 AA_SFS_DIR("attach_conditions", aa_sfs_entry_attach), 2339 + AA_SFS_FILE_BOOLEAN("disconnected.path", 1), 2339 2340 AA_SFS_FILE_STRING("version", "1.2"), 2340 2341 { } 2341 2342 };