Subject: Re: kern/5504: signal handler does not get called again after execve
To: John Kohl <jtk@kolvir.arlington.ma.us>
From: Charles M. Hannum <mycroft@mit.edu>
List: netbsd-bugs
Date: 05/28/1998 22:13:32
John Kohl <jtk@kolvir.arlington.ma.us> writes:

> The oddity of the current situation is that the signal handlers are
> removed at exec time, but the signal delivery masks are left in place.
> What use is it to have a delivery mask for a signal with no handler?

So?  Likewise, a program should not be relying on what was already in
the mask, so it doesn't matter.  The entire point of changing the
behaviour was to kluge it so that broken software would work.

I say nay.  The potential benefit is minimal, and the potential cost
is that we may break software which relies on the existing (decades
old) behaviour.