diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 11:42:56 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 12:18:43 +0300 |
commit | 04dc715e24d0820bf8740e1a1135ed61fe162bc8 (patch) | |
tree | 9b61af8362cb415447d96c83f179877f7679ff1c /security/apparmor/include | |
parent | 5ac8c355ae0013d82b3a07b49aebeadfce9b6e52 (diff) | |
download | linux-04dc715e24d0820bf8740e1a1135ed61fe162bc8.tar.xz |
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.h | 1 |
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); |