CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2021/09/20 10:39:40

Modified files:
        regress/sys/kern/signal/signal-stress: signal-stress.c 

Log message:
Use proper sigsuspend() instead of old pause() and use sigprocmask() to
block delivery of signals outside of sigsuspend(). With this the test
is more reliable. pause() is implemented as two syscalls and so it is
possible to catch a signal on the first syscall and than be stuck on
the second waiting for something that already happened.
OK millert@ deraadt@ bluhm@

Reply via email to