summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-01-16 09:42:56 +0100
committerJohn Johansen <john.johansen@canonical.com>2017-01-16 10:18:43 +0100
commit04dc715e24d0820bf8740e1a1135ed61fe162bc8 (patch)
tree9b61af8362cb415447d96c83f179877f7679ff1c /security/apparmor/include
parentapparmor: allow introspecting the loaded policy pre internal transform (diff)
downloadlinux-04dc715e24d0820bf8740e1a1135ed61fe162bc8.tar.xz
linux-04dc715e24d0820bf8740e1a1135ed61fe162bc8.zip
apparmor: audit policy ns specified in policy load
Verify that profiles in a load set specify the same policy ns and audit the name of the policy ns that policy is being loaded for. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/policy_unpack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/policy_unpack.h b/security/apparmor/include/policy_unpack.h
index 7b675b6f7f02..4c1319eebc42 100644
--- a/security/apparmor/include/policy_unpack.h
+++ b/security/apparmor/include/policy_unpack.h
@@ -23,6 +23,7 @@ struct aa_load_ent {
struct aa_profile *new;
struct aa_profile *old;
struct aa_profile *rename;
+ const char *ns_name;
};
void aa_load_ent_free(struct aa_load_ent *ent);