aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-10-18 11:12:35 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-10-29 14:54:12 -0500
commit7acf5ebe435e3bc8425a4045eb16bd62afdde8e7 (patch)
tree0a2e397956e570c741f5550c12e7453876960681
parent67db0c8390ba75cfada8fc3deb771625973ce9ef (diff)
downloadman-pages-7acf5ebe435e3bc8425a4045eb16bd62afdde8e7.tar.gz
sigaction.2: Clarify that sa_mask affects the *per-thread* signal mask
The page didn't previously clearly explain the scope of the signal mask that is affected by sa_mask. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sigaction.28
1 files changed, 5 insertions, 3 deletions
diff --git a/man2/sigaction.2 b/man2/sigaction.2
index 48cf121747..bf5d2bb297 100644
--- a/man2/sigaction.2
+++ b/man2/sigaction.2
@@ -40,7 +40,7 @@
.\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
.\" out of this page into separate pages.
.\"
-.TH SIGACTION 2 2008-10-04 "Linux" "Linux Programmer's Manual"
+.TH SIGACTION 2 2008-10-17 "Linux" "Linux Programmer's Manual"
.SH NAME
sigaction \- examine and change a signal action
.SH SYNOPSIS
@@ -142,8 +142,10 @@ as its second argument and a pointer to a
(cast to \fIvoid\ *\fP) as its third argument.
.PP
.I sa_mask
-gives a mask of signals which should be blocked during execution of
-the signal handler.
+specifies a mask of signals which should be blocked
+(i.e., added to the signal mask of the thread in which
+the signal handler is invoked)
+during execution of the signal handler.
In addition, the signal which triggered the handler
will be blocked, unless the
.B SA_NODEFER