aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2024-06-11 14:38:23 +0530
committerAlejandro Colomar <alx@kernel.org>2024-06-17 12:56:43 +0200
commitc36e2054874f045c8fc78966a9f957577a60ab8c (patch)
treeaf00f38e80d03a7185fd8bdaf52d6abcb1880836 /man
parentb8136d84eb3b9b1db0dd6f54f47c1c104682f44f (diff)
downloadman-pages-c36e2054874f045c8fc78966a9f957577a60ab8c.tar.gz
signal.7: Fix wrong mention of sigprocmask
The handler is registered with sigaction(2), not sigprocmask(2). Even if the purpose of writing sigprocmask(2) here was to mention blocked signals, the statement currently concerns the "addition" of blocked signals; signals blocked through sigprocmask(2) would already be present in the thread context of blocked signals. Fixes: e7a5700f2313 (getcontext.3, signal.7: tfix) Signed-off-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Mark Brown <broonie@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: <DeepakKumar.Mishra@arm.com> Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> Cc: <linux-kernel@vger.kernel.org> Message-ID: <20240611090823.820724-3-dev.jain@arm.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man')
-rw-r--r--man/man7/signal.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man7/signal.7 b/man/man7/signal.7
index 4251b2a5d3..7a9e91cc71 100644
--- a/man/man7/signal.7
+++ b/man/man7/signal.7
@@ -293,7 +293,7 @@ will not contain the mask of new signals blocked through
Any signals specified in
.I act\->sa_mask
when registering the handler with
-.BR sigprocmask (2)
+.BR sigaction (2)
are added to the thread's signal mask.
The signal being delivered is also
added to the signal mask, unless