From ee053db8742eeda644b29dcc6c05490db4a37d28 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 22 Mar 2015 11:40:55 +0100 Subject: [PATCH] sigaction.2: Note treatment of signals used internally by NPTL The glibc wrapper gives an EINVAL error on attempts to change the disposition of either of the two real-time signals used by NPTL. Signed-off-by: Michael Kerrisk --- man2/sigaction.2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index b516b0d9f..1ef0320c4 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -838,6 +838,16 @@ for a list of the async-signal-safe functions that can be safely called inside from inside a signal handler. .\" .SS C library/kernel ABI differences +The glibc wrapper function for +.BR sigaction () +gives an error +.RB ( EINVAL ) +on attempts to change the disposition of the two real-time signals +used internally by the NPTL threading implementation. +See +.BR nptl (7) +for details. + The original Linux system call was named .BR sigaction (). However, with the addition of real-time signals in Linux 2.2,