* Steven Rostedt (rostedt@xxxxxxxxxxx) wrote:Yes. That's the difference between kernel and man page, that I've found.
Where, sa_mask is _ignored_ if NODEFER is set. (I now have woken up!).
The attached program shows that the sa_mask is indeed ignored when
SA_NODEFER is set.
Now the real question is... Is this a bug?
That's not correct w.r.t. SUSv3. sa_mask should be always used and
SA_NODEFER is just whether or not to add that signal in.
SA_NODEFER
[XSI] If set and sig is caught, sig shall not be added to the thread's
signal mask on entry to the signal handler unless it is included in
sa_mask. Otherwise, sig shall always be added to the thread's signal
mask on entry to the signal handler.
Brodo, is this what you mean?
thanks,
-chris
--