Add kqueue1() system call
authorvisa <visa@openbsd.org>
Sun, 20 Aug 2023 15:13:43 +0000 (15:13 +0000)
committervisa <visa@openbsd.org>
Sun, 20 Aug 2023 15:13:43 +0000 (15:13 +0000)
commiteaac6367f874bb2b24159a1fa5251562c1f97715
tree4821229143bc25dd305e35635358fa32148e43cf
parent46c354aa2baf687e7a81339ec07289555b065bb2
Add kqueue1() system call

kqueue1() takes the flags argument. This lets the kqueue file descriptor
be opened with O_CLOEXEC. Adapted from NetBSD.

OK guenther@
sys/kern/kern_event.c
sys/kern/kern_pledge.c
sys/kern/syscalls.master
sys/sys/event.h