patch-pre2.0.5 linux/arch/m68k/kernel/ptrace.c
Next file: linux/arch/m68k/kernel/setup.c
Previous file: linux/arch/m68k/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu May 16 09:05:10 1996
- Orig file:
pre2.0.4/linux/arch/m68k/kernel/ptrace.c
- Orig date:
Tue Apr 23 13:57:08 1996
diff -u --recursive --new-file pre2.0.4/linux/arch/m68k/kernel/ptrace.c linux/arch/m68k/kernel/ptrace.c
@@ -342,8 +342,10 @@
return -EPERM;
if ((!child->dumpable ||
(current->uid != child->euid) ||
+ (current->uid != child->suid) ||
(current->uid != child->uid) ||
(current->gid != child->egid) ||
+ (current->gid != child->sgid) ||
(current->gid != child->gid)) && !suser())
return -EPERM;
/* the same process cannot be attached many times */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this