CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/01/28 12:23:06
Modified files:
sys/compat/hpux: hpux_compat.c
sys/kern : kern_proc.c kern_prot.c sys_process.c
sys/sys : proc.h
Log message:
Make sure the process tree is is loop-free by forbidding ptrace()
of a direct ancestor, closing a localhost DoS. As an exception,
do permit ptrace() of pid 1 and have inferiors() stop climbing if
it hits that.
ok tedu@ hpux_compat suggestion from miod@
