patch-2.3.4 linux/arch/mips/kernel/ptrace.c
Next file: linux/arch/ppc/Makefile
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sat May 22 12:42:04 1999
- Orig file:
v2.3.3/linux/arch/mips/kernel/ptrace.c
- Orig date:
Tue Oct 20 13:52:54 1998
diff -u --recursive --new-file v2.3.3/linux/arch/mips/kernel/ptrace.c linux/arch/mips/kernel/ptrace.c
@@ -297,6 +297,7 @@
(current->uid != child->uid) ||
(current->gid != child->egid) ||
(current->gid != child->sgid) ||
+ (!cap_issubset(child->cap_permitted, current->cap_permitted)) ||
(current->gid != child->gid)) &&
!capable(CAP_SYS_PTRACE)) {
res = -EPERM;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)