From 12f64f94ca28389fa6c79d17e3ffd543359dc043 Mon Sep 17 00:00:00 2001 From: Paolo 'Blaisorblade' Giarrusso Date: Sat, 3 Sep 2005 15:57:22 -0700 Subject: [PATCH] --- yaml --- r: 7020 b: refs/heads/master c: 640aa46e25922a00b805e6b0d0b5181ad9cf736a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/i386/kernel/entry.S | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index bef2517bf5d8..11f3498857e4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ab1c23c24471c760c573f4fb0dd78e166ddfd844 +refs/heads/master: 640aa46e25922a00b805e6b0d0b5181ad9cf736a diff --git a/trunk/arch/i386/kernel/entry.S b/trunk/arch/i386/kernel/entry.S index 9a47723469c6..abb909793efc 100644 --- a/trunk/arch/i386/kernel/entry.S +++ b/trunk/arch/i386/kernel/entry.S @@ -339,18 +339,12 @@ syscall_trace_entry: xorl %edx,%edx call do_syscall_trace cmpl $0, %eax - jne syscall_skip # ret != 0 -> running under PTRACE_SYSEMU, + jne resume_userspace # ret != 0 -> running under PTRACE_SYSEMU, # so must skip actual syscall movl ORIG_EAX(%esp), %eax cmpl $(nr_syscalls), %eax jnae syscall_call jmp syscall_exit -syscall_skip: - cli # make sure we don't miss an interrupt - # setting need_resched or sigpending - # between sampling and the iret - movl TI_flags(%ebp), %ecx - jmp work_pending # perform syscall exit tracing ALIGN