128c9bc05b
Such processes will be reparented to the reaper when the current parent is done with them (i.e., ptrace detached), so p_oppid must be updated accordingly. Add a regression test to exercise this code path. Previously it would not be possible to reap an orphan with a stale oppid. Reviewed by: kib, mjg Tested by: pho MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19825 |
||
---|---|---|
.. | ||
acct | ||
execve | ||
pipe | ||
coredump_phnum_helper.c | ||
coredump_phnum_test.sh | ||
kcov.c | ||
kern_copyin.c | ||
kern_descrip_test.c | ||
libkern_crc32.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.inc | ||
pdeathsig_helper.c | ||
pdeathsig.c | ||
ptrace_test.c | ||
reaper.c | ||
sigaltstack.c | ||
sys_getrandom.c | ||
unix_passfd_test.c | ||
unix_seqpacket_test.c | ||
unix_socketpair_test.c | ||
waitpid_nohang.c |