diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-28 07:07:11 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-28 07:07:20 +0100 |
commit | 6b914c998787d65022e80d6262dfd0edef58cadb (patch) | |
tree | ec9d9605ae08e6e40664c4302a181979ab4fe1d3 /include/linux/audit.h | |
parent | Merge tag 'cleanup_for_v3.9' of git://git.infradead.org/users/jcooper/linux i... (diff) | |
parent | Linux 3.8-rc5 (diff) | |
download | linux-6b914c998787d65022e80d6262dfd0edef58cadb.tar.xz linux-6b914c998787d65022e80d6262dfd0edef58cadb.zip |
Merge tag 'v3.8-rc5' into next/cleanup
Linux 3.8-rc5
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index bce729afbcf9..5a6d718adf34 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -24,6 +24,7 @@ #define _LINUX_AUDIT_H_ #include <linux/sched.h> +#include <linux/ptrace.h> #include <uapi/linux/audit.h> struct audit_sig_info { @@ -157,7 +158,8 @@ void audit_core_dumps(long signr); static inline void audit_seccomp(unsigned long syscall, long signr, int code) { - if (unlikely(!audit_dummy_context())) + /* Force a record to be reported if a signal was delivered. */ + if (signr || unlikely(!audit_dummy_context())) __audit_seccomp(syscall, signr, code); } |