Unlock select(2), pselect(2), poll(2) and ppoll(2).
authormvs <mvs@openbsd.org>
Sat, 25 Feb 2023 09:55:46 +0000 (09:55 +0000)
committermvs <mvs@openbsd.org>
Sat, 25 Feb 2023 09:55:46 +0000 (09:55 +0000)
commitbe29726c64cb8bfe8bf5fd96343305e37989cc0b
tree1625e89960f04dc0b9d70f097b84540405264fcd
parentb8db0973e764bf871058ba55420a195c41f77fad
Unlock select(2), pselect(2), poll(2) and ppoll(2).

The assertion within tsleep(9) was relaxed to allow calls on special
`nowake' channel without kernel lock held. So the sisguspend(2) like
cases "select(0, NULL, NULL, NULL, NULL)" and "poll(NULL, 0, INFTIM)"
should not trigger it. Commit reverted diff back.

ok claudio@
sys/kern/sys_generic.c
sys/kern/syscalls.master