diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditsc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index d7e7e637b92a..cfaa4a277f08 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -966,11 +966,6 @@ void audit_syscall_entry(struct task_struct *tsk, int arch, int major, | |||
966 | if (context->in_syscall) { | 966 | if (context->in_syscall) { |
967 | struct audit_context *newctx; | 967 | struct audit_context *newctx; |
968 | 968 | ||
969 | #if defined(__NR_vm86) && defined(__NR_vm86old) | ||
970 | /* vm86 mode should only be entered once */ | ||
971 | if (major == __NR_vm86 || major == __NR_vm86old) | ||
972 | return; | ||
973 | #endif | ||
974 | #if AUDIT_DEBUG | 969 | #if AUDIT_DEBUG |
975 | printk(KERN_ERR | 970 | printk(KERN_ERR |
976 | "audit(:%d) pid=%d in syscall=%d;" | 971 | "audit(:%d) pid=%d in syscall=%d;" |