Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.4.14 /arch/i386/kernel/entry.S

Filename:/arch/i386/kernel/entry.S
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.14-pre8  2.4.13-ac8  2.4.13-ac7  2.4.13-ac6  2.4.13-ac5  2.4.13-ac4 
(Following) 2.4.18-pre8  2.4.18-pre9  2.4.18-rc1  2.4.18-rc2  2.4.18-rc2-ac2  2.4.18-rc3 

Location
[  2.4.14
  [  arch
    [  i386
      [  kernel
         o  entry.S

Patch

diff -u --recursive --new-file v2.4.13/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
--- v2.4.13/linux/arch/i386/kernel/entry.S   Tue Oct 23 22:48:49 2001
+++ linux/arch/i386/kernel/entry.S   Fri Nov  2 17:18:49 2001
@@ -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)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.