Subject: Re: kern/5504: signal handler does not get called again after execve
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Klaus Klein <kleink@ira.uka.de>
List: netbsd-bugs
Date: 05/29/1998 17:08:23
der Mouse <mouse@Rodents.Montreal.QC.CA> writes:

> > 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.
> 
> I feel certain "the process signal mask" refers to the mask of signals
> currently blocked for delivery.  Nobody is (now) questioning the
> inheritance of *that* mask across an exec.  What is being discussed is
> inheritance of the other masks, one associated with each
> potentially-deliverable signal, the masks that specify what signals are
> to be automatically blocked upon signal delivery.

I'd like to point out that, in the specification of sigaction(), the
standard refers to the mask of signals blocked during execution of the
handler as `the process' signal mask' as well.