Message ID | 1369259719-23998-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/include/linux/audit.h b/include/linux/audit.h index 5a6d718..37464c5 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, unsigned long a1, unsigned long a2, unsigned long a3) { - if (unlikely(!audit_dummy_context())) + if (unlikely(current->audit_context)) __audit_syscall_entry(arch, major, a0, a1, a2, a3); } static inline void audit_syscall_exit(void *pt_regs)