Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED
authorguenther <guenther@openbsd.org>
Mon, 19 Dec 2022 00:22:11 +0000 (00:22 +0000)
committerguenther <guenther@openbsd.org>
Mon, 19 Dec 2022 00:22:11 +0000 (00:22 +0000)
commit60972c460a5aa9e23ce1b2da9adc4d37596fff7f
tree4c52b52eb8f259e5862b152d37f856b9445d49f3
parent5e2e1673d03ba4ddc46c2e8571ae783cc5df371d
Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPED
state changes are reported.  That's the 6th bit, so switch to hex
constants.  Adjust #if tests for consistency

ok kettenis@
sys/kern/kern_exit.c
sys/sys/wait.h