Pawel Jakub Dawidek 9cc97e5803 Install default signal handlers before masking signals we want to handle.
It is possible that the parent process ignores some of them and sigtimedwait()
will never see them, eventhough they are masked.

The most common situation for this to happen is boot process where init(8)
ignores SIGHUP before starting to execute /etc/rc. This in turn caused
hastd(8) to ignore SIGHUP.

Reported by:	trasz
Obtained from:	Wheel Systems Sp. z o.o. http://www.wheelsystems.com
MFC after:	3 days
2011-01-12 14:35:29 +00:00
..
2010-08-23 22:24:11 +00:00
2010-11-22 07:00:47 +00:00
2010-02-03 23:56:12 +00:00
2010-02-15 14:07:40 +00:00
2010-08-06 14:33:42 +00:00
2010-08-23 22:24:11 +00:00
2010-01-27 20:32:58 +00:00
2010-03-02 16:58:04 +00:00
2010-08-23 22:24:11 +00:00
2010-03-10 18:51:13 +00:00
2010-06-20 12:52:33 +00:00
2010-12-19 13:40:38 +00:00
2010-10-11 20:17:23 +00:00
2010-12-08 15:12:37 +00:00