On Wed, Aug 02, 2006 at 01:05:38PM +0000, Bruce M Simpson wrote: > bms 2006-08-02 13:05:38 UTC > > FreeBSD src repository > > Modified files: > sbin/reboot reboot.c > Log: > Block a variety of signals which may afffect reboot(8), before killing > init(8), to avoid losing a race to them and dying before being able > to call reboot(2).
By the way, did you consider the other policy, "default to deny," there: Mask all signals with sigfillset(), then unmask only those we are willing to handle, and finally pass the mask to sigprocmask()? That should be more robust, IMHO. Thanks! -- Yar _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"