From 72c8a768641dc6ee8d1d9dcebd51bbec2817459b Mon Sep 17 00:00:00 2001 From: John Johansen Date: Mon, 22 May 2017 03:06:52 -0700 Subject: apparmor: allow profiles to provide info to disconnected paths Signed-off-by: John Johansen --- security/apparmor/include/policy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security/apparmor/include/policy.h') diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index 67bc96afe541..dffa01c018c8 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -128,6 +128,7 @@ struct aa_data { * @mode: the enforcement mode of the profile * @flags: flags controlling profile behavior * @path_flags: flags controlling path generation behavior + * @disconnected: what to prepend if attach_disconnected is specified * @size: the memory consumed by this profiles rules * @policy: general match rules governing policy * @file: The set of rules governing basic file access and domain transitions @@ -169,6 +170,7 @@ struct aa_profile { long mode; long flags; u32 path_flags; + const char *disconnected; int size; struct aa_policydb policy; -- cgit v1.2.3