diff options
author | John Johansen <john.johansen@canonical.com> | 2017-07-19 09:37:18 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-09-22 23:00:58 +0300 |
commit | 2410aa96d6b4930ed25fd02c3d173f14b962e0f4 (patch) | |
tree | ce9c9148e6191cf2d600f9ada737b5076201fcdf /security/apparmor/include/audit.h | |
parent | 26b7899510ae243e392960704ebdba52d05fbb13 (diff) | |
download | linux-2410aa96d6b4930ed25fd02c3d173f14b962e0f4.tar.xz |
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/audit.h')
-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 { |