Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 16:22:27 +0100
From:      Bruce M Simpson <bms@incunabulum.net>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce M Simpson <bms@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/reboot reboot.c
Message-ID:  <20060808152227.GA58271@incunabulum.net>
In-Reply-To: <20060808093035.GK54416@comp.chem.msu.su>
References:  <200608021305.k72D5c9R055142@repoman.freebsd.org> <20060808093035.GK54416@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 08, 2006 at 01:30:35PM +0400, Yar Tikhiy wrote:
> 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!

I was preparing to make this change years ago but phk@ persuaded me in
a review to be more conservative; though I agree that would be an
improvement.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808152227.GA58271>