summaryrefslogtreecommitdiff
path: root/security/apparmor/include/sig_names.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2018-02-01 12:32:02 +0100
committerJohn Johansen <john.johansen@canonical.com>2018-02-09 11:30:01 -0800
commit3acfd5f54ca16c15c36ac2f218357f2707b7edb8 (patch)
treed64067798fbe0d4ff3fa839e48ce6fae3bfe84c3 /security/apparmor/include/sig_names.h
parent3dc6b1ce6861ebf40b68ab4b752a05584a1f99bf (diff)
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/sig_names.h')
-rw-r--r--security/apparmor/include/sig_names.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/sig_names.h b/security/apparmor/include/sig_names.h
index 5ca47c50dfa7..cbf7a997ed84 100644
--- a/security/apparmor/include/sig_names.h
+++ b/security/apparmor/include/sig_names.h
@@ -3,6 +3,7 @@
#define SIGUNKNOWN 0
#define MAXMAPPED_SIG 35
#define MAXMAPPED_SIGNAME (MAXMAPPED_SIG + 1)
+#define SIGRT_BASE 128
/* provide a mapping of arch signal to internal signal # for mediation
* those that are always an alias SIGCLD for SIGCLHD and SIGPOLL for SIGIO