diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 5a6d718adf34..37464c592c92 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
| @@ -120,7 +120,7 @@ static inline void audit_syscall_entry(int arch, int major, unsigned long a0, | |||
| 120 | unsigned long a1, unsigned long a2, | 120 | unsigned long a1, unsigned long a2, |
| 121 | unsigned long a3) | 121 | unsigned long a3) |
| 122 | { | 122 | { |
| 123 | if (unlikely(!audit_dummy_context())) | 123 | if (unlikely(current->audit_context)) |
| 124 | __audit_syscall_entry(arch, major, a0, a1, a2, a3); | 124 | __audit_syscall_entry(arch, major, a0, a1, a2, a3); |
| 125 | } | 125 | } |
| 126 | static inline void audit_syscall_exit(void *pt_regs) | 126 | static inline void audit_syscall_exit(void *pt_regs) |
