diff options
author | 2009-12-20 23:54:11 +0000 | |
---|---|---|
committer | 2009-12-20 23:54:11 +0000 | |
commit | c6a7d0a9e7983a8171fd470a63ee87bc3b9fcf9d (patch) | |
tree | 5eb3c6ff88cef03016f9bb0756dacfeede36f548 /sys/dev/pci/if_rl_pci.c | |
parent | svr4_sys_waitsys() was seemingly implemented by copying sys_wait4() (diff) | |
download | wireguard-openbsd-c6a7d0a9e7983a8171fd470a63ee87bc3b9fcf9d.tar.xz wireguard-openbsd-c6a7d0a9e7983a8171fd470a63ee87bc3b9fcf9d.zip |
When using ptrace(), death of the traced process should always send
SIGCHLD to the tracer, even if the real parent requested an alternate
exit signal. So, delay clearing the P_TRACED flag from exit1() to
sys_wait4() so that we don't send the wrong signal from reaper().
Originally discussed with kurt months ago
"looks good" deraadt@
Diffstat (limited to 'sys/dev/pci/if_rl_pci.c')
0 files changed, 0 insertions, 0 deletions