Block all signals before sending SIGTERM to all non-system processes.
authormillert <millert@openbsd.org>
Fri, 23 Jul 2010 20:14:23 +0000 (20:14 +0000)
committermillert <millert@openbsd.org>
Fri, 23 Jul 2010 20:14:23 +0000 (20:14 +0000)
commit5b0d3c018d58332c120c314b107104796f6139e3
tree9e1372238567d6e964add850598e03da783d687b
parent36597e6b70037004bf5be77358b928fb5bae69bf
Block all signals before sending SIGTERM to all non-system processes.
This ensures that we reach the call to reboot(2) without being killed
by some other process.  OK deraadt@ nicm@
sbin/reboot/reboot.c