diff options
author | jhb <jhb@FreeBSD.org> | 2015-05-22 11:04:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-05-22 11:04:54 +0000 |
commit | 5ad66fe3b2ec48024e4b2a87477228443a9e414b (patch) | |
tree | 47cdcadd912a4579dcb60a05036d804bdc6d6e9f /lib/libgssapi/gss_release_oid.c | |
parent | 9b4a921aab689f5712cf07c64a9f69f176ff2337 (diff) | |
download | FreeBSD-src-5ad66fe3b2ec48024e4b2a87477228443a9e414b.zip FreeBSD-src-5ad66fe3b2ec48024e4b2a87477228443a9e414b.tar.gz |
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
Diffstat (limited to 'lib/libgssapi/gss_release_oid.c')
0 files changed, 0 insertions, 0 deletions