diff options
author | John Johansen <john.johansen@canonical.com> | 2017-07-19 08:37:18 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-09-22 22:00:58 +0200 |
commit | 2410aa96d6b4930ed25fd02c3d173f14b962e0f4 (patch) | |
tree | ce9c9148e6191cf2d600f9ada737b5076201fcdf /security/apparmor/include | |
parent | apparmor: add support for absolute root view based labels (diff) | |
download | linux-2410aa96d6b4930ed25fd02c3d173f14b962e0f4.tar.xz linux-2410aa96d6b4930ed25fd02c3d173f14b962e0f4.zip |
apparmor: make policy_unpack able to audit different info messages
Switch unpack auditing to using the generic name field in the audit
struct and make it so we can start adding new info messages about
why an unpack failed.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r-- | security/apparmor/include/audit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h index c3fe1c5ef3bc..620e81169659 100644 --- a/security/apparmor/include/audit.h +++ b/security/apparmor/include/audit.h @@ -127,9 +127,9 @@ struct apparmor_audit_data { } fs; }; struct { - const char *name; - long pos; + struct aa_profile *profile; const char *ns; + long pos; } iface; int signal; struct { |