diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/audit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index bce729afbcf9..9d5104d7aba9 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
| @@ -157,7 +157,8 @@ void audit_core_dumps(long signr); | |||
| 157 | 157 | ||
| 158 | static inline void audit_seccomp(unsigned long syscall, long signr, int code) | 158 | static inline void audit_seccomp(unsigned long syscall, long signr, int code) |
| 159 | { | 159 | { |
| 160 | if (unlikely(!audit_dummy_context())) | 160 | /* Force a record to be reported if a signal was delivered. */ |
| 161 | if (signr || unlikely(!audit_dummy_context())) | ||
| 161 | __audit_seccomp(syscall, signr, code); | 162 | __audit_seccomp(syscall, signr, code); |
| 162 | } | 163 | } |
| 163 | 164 | ||
