freebsd-skq/tests/sys/kern
John Baldwin c209e3e2e6 Only reparent a traced process to its old parent if the tracing process is
not the old parent. Otherwise, proc_reap() will leave the zombie in place
resulting in the process' status being returned twice to its parent.

Add test cases for PT_TRACE_ME and PT_ATTACH which are fixed by
this change.

Differential Revision:	https://reviews.freebsd.org/D2594
Reviewed by:	kib
MFC after:	2 weeks
2015-05-22 11:04:54 +00:00
..
execve Integrate tools/regression/execve into the FreeBSD test suite as 2015-04-27 07:22:18 +00:00
kern_descrip_test.c Added sysctl kern.maxfiles increase test, do not use /etc/passwd for tests 2014-03-19 09:41:12 +00:00
Makefile Only reparent a traced process to its old parent if the tracing process is 2015-05-22 11:04:54 +00:00
ptrace_test.c Only reparent a traced process to its old parent if the tracing process is 2015-05-22 11:04:54 +00:00
unix_seqpacket_test.c Abort the create_socket test if socket creation fails. 2014-09-10 14:57:26 +00:00