patch-1.3.98 linux/arch/i386/kernel/ptrace.c
Next file: linux/arch/i386/kernel/time.c
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu May 2 16:11:56 1996
- Orig file:
v1.3.97/linux/arch/i386/kernel/ptrace.c
- Orig date:
Wed Apr 3 16:06:55 1996
diff -u --recursive --new-file v1.3.97/linux/arch/i386/kernel/ptrace.c linux/arch/i386/kernel/ptrace.c
@@ -320,8 +320,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