CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/01/29 14:33:13
Modified files:
sys/compat/hpux: Tag: OPENBSD_4_6 hpux_compat.c
sys/sys : Tag: OPENBSD_4_6 proc.h
sys/kern : Tag: OPENBSD_4_6 kern_proc.c kern_prot.c
sys_process.c
Log message:
Merge from -current:
----
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@
----
Requested by guent...@. The hpux_compat change here is more
conservative than committed to -current.