patch-2.4.14 linux/arch/i386/kernel/entry.S
Next file: linux/arch/i386/kernel/io_apic.c
Previous file: linux/arch/i386/kernel/apic.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Fri Nov  2 17:18:49 2001
-  Orig file: 
v2.4.13/linux/arch/i386/kernel/entry.S
-  Orig date: 
Tue Oct 23 22:48:49 2001
diff -u --recursive --new-file v2.4.13/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -195,10 +195,10 @@
 	pushl %eax			# save orig_eax
 	SAVE_ALL
 	GET_CURRENT(%ebx)
-	cmpl $(NR_syscalls),%eax
-	jae badsys
 	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS
 	jne tracesys
+	cmpl $(NR_syscalls),%eax
+	jae badsys
 	call *SYMBOL_NAME(sys_call_table)(,%eax,4)
 	movl %eax,EAX(%esp)		# save the return value
 ENTRY(ret_from_sys_call)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)