summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-03-01 18:50:52 +0000
committermpi <mpi@openbsd.org>2020-03-01 18:50:52 +0000
commit105c1f68dc539469e0f62a6b1044c3c1541c7ce9 (patch)
tree7e7df9bb547148bda61c4f248c2416e70833ebd3 /lib
parentWhen activating a video port, don't bail out if activating an endpoint (diff)
downloadwireguard-openbsd-105c1f68dc539469e0f62a6b1044c3c1541c7ce9.tar.xz
wireguard-openbsd-105c1f68dc539469e0f62a6b1044c3c1541c7ce9.zip
Do not reparent a traced child to ourself inside wait(2).
When a traced process _exit(2)s, its (tracing) parent tries to give it back to the old parent. In the case where the old parent is the same as the tracing parent, there's no need to do this dance, so simply remove it from the list of zombies and free its descriptors. Fix a double report via wait(2) exposed by recent changes in make and newly imported ptrace(2) regression from NetBSD & FreeBSD. Diagnosed with help from espie@ & guenther@. ok claudio@, visa@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions