Subject: Re: kern/5504: signal handler does not get called again after execve
To: None <jtk@kolvir.arlington.ma.us, mycroft@mit.edu>
From: Ross Harvey <ross@teraflop.com>
List: netbsd-bugs
Date: 05/28/1998 17:33:00
> From netbsd-bugs-owner-ross=teraflop.com@NetBSD.ORG Thu May 28 16:19:11 1998
> Date: Thu, 28 May 1998 19:17:44 -0400 (EDT)
> From: John Kohl <jtk@kolvir.arlington.ma.us>
> To: mycroft@mit.edu
> CC: mouse@Rodents.Montreal.QC.CA, andrew@untraceable.net,
>         gnats-bugs@gnats.netbsd.org, netbsd-bugs@NetBSD.ORG
> Subject: Re: kern/5504: signal handler does not get called again after execve
> X-US-Snail: 8 Lorne Road, Arlington, MA  02174
>
> 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?
>
> -- 
> ==John Kohl <jtk@kolvir.arlington.ma.us>, <john_kohl@alum.mit.edu>
> Write a poem, share your heart!
> Home page: <URL:http://people.ne.mediaone.net/jtk/>
>
>
>

Although there are certainly many reasonable arguments against inheriting
quite so many attributes, Posix 1003.1 make it very clear that the process
signal mask is inherited from the old image.  See 3.1.2.2 (227).

Ross Harvey