CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2021/11/12 10:57:13
Modified files: sys/kern : kern_sig.c Log message: sigsuspend(2): sleep on &nowake channel sigsuspend(2) only returns upon delivery of a signal: we do not expect a wakeup(9). Indicate this by sleeping on &nowake instead of &p->p_p->ps_sigacts. We still need to loop here to handle spurious wakeups, though. Spurious wakeup case pointed out by kettenis@. ok claudio@