patch-2.1.91 linux/arch/m68k/kernel/ptrace.c
Next file: linux/arch/m68k/mac/ksyms.c
Previous file: linux/arch/m68k/kernel/m68k_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Mar 21 11:04:04 1998
- Orig file:
v2.1.90/linux/arch/m68k/kernel/ptrace.c
- Orig date:
Tue Feb 17 13:12:45 1998
diff -u --recursive --new-file v2.1.90/linux/arch/m68k/kernel/ptrace.c linux/arch/m68k/kernel/ptrace.c
@@ -439,7 +439,7 @@
long tmp;
ret = -EIO;
- if ((unsigned long) data >= _NSIG)
+ if ((unsigned long) data > _NSIG)
goto out;
if (request == PTRACE_SYSCALL)
child->flags |= PF_TRACESYS;
@@ -477,7 +477,7 @@
long tmp;
ret = -EIO;
- if ((unsigned long) data >= _NSIG)
+ if ((unsigned long) data > _NSIG)
goto out;
child->flags &= ~PF_TRACESYS;
tmp = get_reg(child, PT_SR) | (TRACE_BITS << 16);
@@ -494,7 +494,7 @@
long tmp;
ret = -EIO;
- if ((unsigned long) data >= _NSIG)
+ if ((unsigned long) data > _NSIG)
goto out;
child->flags &= ~(PF_PTRACED|PF_TRACESYS);
wake_up_process(child);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov