mirror of https://github.com/mkerrisk/man-pages
sigaction.2: Clarify description of SA_NODEFER
Clarify description of SA_NODEFER, and note interaction with act.sa_mask. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
66b961cab6
commit
06287aca29
|
@ -204,9 +204,11 @@ signal is generated in this case;
|
|||
on some other implementations, it is not.
|
||||
.TP
|
||||
.B SA_NODEFER
|
||||
Do not prevent the signal from being received from within its own signal
|
||||
handler (i.e., do not add the signal to the thread's signal mask while the
|
||||
handler is executing).
|
||||
Do not add the signal to the thread's signal mask while the
|
||||
handler is executing, unless the signal is specified in
|
||||
.IR act.sa_mask .
|
||||
Consequently, a further instance of the signal may be delivered
|
||||
to the thread while it is executing the handler.
|
||||
This flag is meaningful only when establishing a signal handler.
|
||||
.IP
|
||||
.B SA_NOMASK
|
||||
|
@ -1037,6 +1039,7 @@ prevents not only the delivered signal from being masked during
|
|||
execution of the handler, but also the signals specified in
|
||||
.IR sa_mask .
|
||||
This bug was fixed in kernel 2.6.14.
|
||||
.\" commit 69be8f189653cd81aae5a74e26615b12871bb72e
|
||||
.SH EXAMPLES
|
||||
See
|
||||
.BR mprotect (2).
|
||||
|
|
Loading…
Reference in New Issue