diff options
| author | Olof Johansson <olof@lixom.net> | 2013-02-04 22:56:41 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-02-04 22:56:41 -0800 | 
| commit | 469da62096e23adc755c1268b00b5fc7a214151b (patch) | |
| tree | fefd055fdae584e38d551f44d1339eb22cee4ed9 /include/linux/audit.h | |
| parent | 4227961650884a06757f80877d5dce0bddc723d4 (diff) | |
| parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) | |
| download | olio-linux-3.10-469da62096e23adc755c1268b00b5fc7a214151b.tar.xz olio-linux-3.10-469da62096e23adc755c1268b00b5fc7a214151b.zip  | |
Merge tag 'v3.8-rc6' into next/soc
Linux 3.8-rc6
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 bce729afbcf..5a6d718adf3 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);  }  |