diff options
author | John Johansen <john.johansen@canonical.com> | 2018-02-01 12:32:02 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-02-09 20:30:01 +0100 |
commit | 3acfd5f54ca16c15c36ac2f218357f2707b7edb8 (patch) | |
tree | d64067798fbe0d4ff3fa839e48ce6fae3bfe84c3 /security/apparmor/include/audit.h | |
parent | apparmor: make signal label match work when matching stacked labels (diff) | |
download | linux-3acfd5f54ca16c15c36ac2f218357f2707b7edb8.tar.xz linux-3acfd5f54ca16c15c36ac2f218357f2707b7edb8.zip |
apparmor: audit unknown signal numbers
Allow apparmor to audit the number of a signal that it does not
provide a mapping for and is currently being reported only as
unknown.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/audit.h')
-rw-r--r-- | security/apparmor/include/audit.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h index 2ebc00a579fd..41ad2c947bf4 100644 --- a/security/apparmor/include/audit.h +++ b/security/apparmor/include/audit.h @@ -130,7 +130,10 @@ struct apparmor_audit_data { int rlim; unsigned long max; } rlim; - int signal; + struct { + int signal; + int unmappedsig; + }; }; }; struct { |