1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\" and Copyright (c) 2002, 2006, 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" and Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
4 .\" <mtk.manpages@gmail.com>
6 .\" %%%LICENSE_START(VERBATIM)
7 .\" Permission is granted to make and distribute verbatim copies of this
8 .\" manual provided the copyright notice and this permission notice are
9 .\" preserved on all copies.
11 .\" Permission is granted to copy and distribute modified versions of this
12 .\" manual under the conditions for verbatim copying, provided that the
13 .\" entire resulting derived work is distributed under the terms of a
14 .\" permission notice identical to this one.
16 .\" Since the Linux kernel and libraries are constantly changing, this
17 .\" manual page may be incorrect or out-of-date. The author(s) assume no
18 .\" responsibility for errors or omissions, or for damages resulting from
19 .\" the use of the information contained herein. The author(s) may not
20 .\" have taken the same level of care in the production of this manual,
21 .\" which is licensed free of charge, as they might when working
24 .\" Formatted or processed versions of this manual, if unaccompanied by
25 .\" the source, must acknowledge the copyright and authors of this work.
28 .\" Modified Sat Jul 24 17:34:08 1993 by Rik Faith (faith@cs.unc.edu)
29 .\" Modified Sun Jan 7 01:41:27 1996 by Andries Brouwer (aeb@cwi.nl)
30 .\" Modified Sun Apr 14 12:02:29 1996 by Andries Brouwer (aeb@cwi.nl)
31 .\" Modified Sat Nov 13 16:28:23 1999 by Andries Brouwer (aeb@cwi.nl)
32 .\" Modified 10 Apr 2002, by Michael Kerrisk <mtk.manpages@gmail.com>
33 .\" Modified 7 Jun 2002, by Michael Kerrisk <mtk.manpages@gmail.com>
34 .\" Added information on real-time signals
35 .\" Modified 13 Jun 2002, by Michael Kerrisk <mtk.manpages@gmail.com>
36 .\" Noted that SIGSTKFLT is in fact unused
37 .\" 2004-12-03, Modified mtk, added notes on RLIMIT_SIGPENDING
38 .\" 2006-04-24, mtk, Added text on changing signal dispositions,
39 .\" signal mask, and pending signals.
41 .\" Added section on system call restarting (SA_RESTART)
42 .\" Added section on stop/cont signals interrupting syscalls.
43 .\" 2008-10-05, mtk: various additions
45 .TH SIGNAL 7 2021-03-22 "Linux" "Linux Programmer's Manual"
47 signal \- overview of signals
49 Linux supports both POSIX reliable signals (hereinafter
50 "standard signals") and POSIX real-time signals.
51 .SS Signal dispositions
52 Each signal has a current
54 which determines how the process behaves when it is delivered
57 The entries in the "Action" column of the table below specify
58 the default disposition for each signal, as follows:
60 Default action is to terminate the process.
62 Default action is to ignore the signal.
64 Default action is to terminate the process and dump core (see
67 Default action is to stop the process.
69 Default action is to continue the process if it is currently stopped.
71 A process can change the disposition of a signal using
75 (The latter is less portable when establishing a signal handler;
79 Using these system calls, a process can elect one of the
80 following behaviors to occur on delivery of the signal:
81 perform the default action; ignore the signal;
82 or catch the signal with a
83 .IR "signal handler" ,
84 a programmer-defined function that is automatically invoked
85 when the signal is delivered.
87 By default, a signal handler is invoked on the
89 It is possible to arrange that the signal handler
90 uses an alternate stack; see
92 for a discussion of how to do this and when it might be useful.
94 The signal disposition is a per-process attribute:
95 in a multithreaded application, the disposition of a
96 particular signal is the same for all threads.
100 inherits a copy of its parent's signal dispositions.
103 the dispositions of handled signals are reset to the default;
104 the dispositions of ignored signals are left unchanged.
106 The following system calls and library functions allow
107 the caller to send a signal:
110 Sends a signal to the calling thread.
113 Sends a signal to a specified process,
114 to all members of a specified process group,
115 or to all processes on the system.
117 .BR pidfd_send_signal (2)
118 Sends a signal to a process identified by a PID file descriptor.
121 Sends a signal to all of the members of a specified process group.
124 Sends a signal to a specified POSIX thread in the same process as
128 Sends a signal to a specified thread within a specific process.
129 (This is the system call used to implement
130 .BR pthread_kill (3).)
133 Sends a real-time signal with accompanying data to a specified process.
134 .SS Waiting for a signal to be caught
135 The following system calls suspend execution of the calling
136 thread until a signal is caught
137 (or an unhandled signal terminates the process):
140 Suspends execution until any signal is caught.
143 Temporarily changes the signal mask (see below) and suspends
144 execution until one of the unmasked signals is caught.
146 .SS Synchronously accepting a signal
147 Rather than asynchronously catching a signal via a signal handler,
148 it is possible to synchronously accept the signal, that is,
149 to block execution until the signal is delivered,
150 at which point the kernel returns information about the
151 signal to the caller.
152 There are two general ways to do this:
155 .BR sigtimedwait (2),
158 suspend execution until one of the signals in a specified
160 Each of these calls returns information about the delivered signal.
163 returns a file descriptor that can be used to read information
164 about signals that are delivered to the caller.
167 from this file descriptor blocks until one of the signals
168 in the set specified in the
170 call is delivered to the caller.
171 The buffer returned by
173 contains a structure describing the signal.
174 .SS Signal mask and pending signals
177 which means that it will not be delivered until it is later unblocked.
178 Between the time when it is generated and when it is delivered
179 a signal is said to be
182 Each thread in a process has an independent
184 which indicates the set of signals that the thread is currently blocking.
185 A thread can manipulate its signal mask using
186 .BR pthread_sigmask (3).
187 In a traditional single-threaded application,
189 can be used to manipulate the signal mask.
193 inherits a copy of its parent's signal mask;
194 the signal mask is preserved across
197 A signal may be process-directed or thread-directed.
198 A process-directed signal is one that is targeted at (and thus pending for)
199 the process as a whole.
200 A signal may be process-directed
201 because it was generated by the kernel for reasons
202 other than a hardware exception, or because it was sent using
206 A thread-directed signal is one that is targeted at a specific thread.
207 A signal may be thread-directed because it was generated as a consequence
208 of executing a specific machine-language instruction
209 that triggered a hardware exception (e.g.,
211 for an invalid memory access, or
213 for a math error), or because it was
214 targeted at a specific thread using
218 .BR pthread_kill (3).
220 A process-directed signal may be delivered to any one of the
221 threads that does not currently have the signal blocked.
222 .\" Joseph C. Sible notes:
223 .\" On Linux, if the main thread has the signal unblocked, then the kernel
224 .\" will always deliver the signal there, citing this kernel code
226 .\" Per this comment in kernel/signal.c since time immemorial:
229 .\" * Now find a thread we can wake up to take the signal off the queue.
231 .\" * If the main thread wants the signal, it gets first crack.
232 .\" * Probably the least surprising to the average bear.
235 .\" But this does not mean the signal will be delivered only in the
236 .\" main thread, since if a handler is already executing in the main thread
237 .\" (and thus the signal is blocked in that thread), then a further
238 .\" might be delivered in a different thread.
240 If more than one of the threads has the signal unblocked, then the
241 kernel chooses an arbitrary thread to which to deliver the signal.
243 A thread can obtain the set of signals that it currently has pending
246 This set will consist of the union of the set of pending
247 process-directed signals and the set of signals pending for
252 initially has an empty pending signal set;
253 the pending signal set is preserved across an
256 .SS Execution of signal handlers
257 Whenever there is a transition from kernel-mode to user-mode execution
258 (e.g., on return from a system call or scheduling of a thread onto the CPU),
259 the kernel checks whether there is a pending unblocked signal
260 for which the process has established a signal handler.
261 If there is such a pending signal, the following steps occur:
263 The kernel performs the necessary preparatory steps for execution of
267 The signal is removed from the set of pending signals.
269 If the signal handler was installed by a call to
273 flag and the thread has defined an alternate signal stack (using
274 .BR sigaltstack (2)),
275 then that stack is installed.
277 Various pieces of signal-related context are saved
278 into a special frame that is created on the stack.
279 The saved information includes:
282 the program counter register
283 (i.e., the address of the next instruction in the main program that
284 should be executed when the signal handler returns);
286 architecture-specific register state required for resuming the
289 the thread's current signal mask;
291 the thread's alternate signal stack settings.
294 (If the signal handler was installed using the
297 flag, then the above information is accessible via the
299 object that is pointed to by the third argument of the signal handler.)
301 Any signals specified in
303 when registering the handler with
305 are added to the thread's signal mask.
306 The signal being delivered is also
307 added to the signal mask, unless
309 was specified when registering the handler.
310 These signals are thus blocked while the handler executes.
313 The kernel constructs a frame for the signal handler on the stack.
314 The kernel sets the program counter for the thread to point to the first
315 instruction of the signal handler function,
316 and configures the return address for that function to point to a piece
317 of user-space code known as the signal trampoline (described in
320 The kernel passes control back to user-space, where execution
321 commences at the start of the signal handler function.
323 When the signal handler returns, control passes to the signal trampoline code.
325 The signal trampoline calls
327 a system call that uses the information in the stack frame created in step 1
328 to restore the thread to its state before the signal handler was
330 The thread's signal mask and alternate signal stack settings
331 are restored as part of this procedure.
332 Upon completion of the call to
334 the kernel transfers control back to user space,
335 and the thread recommences execution at the point where it was
336 interrupted by the signal handler.
338 Note that if the signal handler does not return
339 (e.g., control is transferred out of the handler using
341 or the handler executes a new program with
343 then the final step is not performed.
344 In particular, in such scenarios it is the programmer's responsibility
345 to restore the state of the signal mask (using
346 .BR sigprocmask (2)),
347 if it is desired to unblock the signals that were blocked on entry
348 to the signal handler.
351 may or may not restore the signal mask, depending on the
353 value that was specified in the corresponding call to
356 From the kernel's point of view,
357 execution of the signal handler code is exactly the same as the execution
358 of any other user-space code.
359 That is to say, the kernel does not record any special state information
360 indicating that the thread is currently executing inside a signal handler.
361 All necessary state information is maintained in user-space registers
362 and the user-space stack.
363 The depth to which nested signal handlers may be invoked is thus
364 limited only by the user-space stack (and sensible software design!).
367 Linux supports the standard signals listed below.
368 The second column of the table indicates which standard (if any)
369 specified the signal: "P1990" indicates that the signal is described
370 in the original POSIX.1-1990 standard;
371 "P2001" indicates that the signal was added in SUSv2 and POSIX.1-2001.
376 Signal Standard Action Comment
377 SIGABRT P1990 Core Abort signal from \fBabort\fP(3)
378 SIGALRM P1990 Term Timer signal from \fBalarm\fP(2)
379 SIGBUS P2001 Core Bus error (bad memory access)
380 SIGCHLD P1990 Ign Child stopped or terminated
381 SIGCLD \- Ign A synonym for \fBSIGCHLD\fP
382 SIGCONT P1990 Cont Continue if stopped
383 SIGEMT \- Term Emulator trap
384 SIGFPE P1990 Core Floating-point exception
385 SIGHUP P1990 Term Hangup detected on controlling terminal
386 or death of controlling process
387 SIGILL P1990 Core Illegal Instruction
388 SIGINFO \- A synonym for \fBSIGPWR\fP
389 SIGINT P1990 Term Interrupt from keyboard
390 SIGIO \- Term I/O now possible (4.2BSD)
391 SIGIOT \- Core IOT trap. A synonym for \fBSIGABRT\fP
392 SIGKILL P1990 Term Kill signal
393 SIGLOST \- Term File lock lost (unused)
394 SIGPIPE P1990 Term Broken pipe: write to pipe with no
395 readers; see \fBpipe\fP(7)
396 SIGPOLL P2001 Term Pollable event (Sys V);
397 synonym for \fBSIGIO\fP
398 SIGPROF P2001 Term Profiling timer expired
399 SIGPWR \- Term Power failure (System V)
400 SIGQUIT P1990 Core Quit from keyboard
401 SIGSEGV P1990 Core Invalid memory reference
402 SIGSTKFLT \- Term Stack fault on coprocessor (unused)
403 SIGSTOP P1990 Stop Stop process
404 SIGTSTP P1990 Stop Stop typed at terminal
405 SIGSYS P2001 Core Bad system call (SVr4);
406 see also \fBseccomp\fP(2)
407 SIGTERM P1990 Term Termination signal
408 SIGTRAP P2001 Core Trace/breakpoint trap
409 SIGTTIN P1990 Stop Terminal input for background process
410 SIGTTOU P1990 Stop Terminal output for background process
411 SIGUNUSED \- Core Synonymous with \fBSIGSYS\fP
412 SIGURG P2001 Ign Urgent condition on socket (4.2BSD)
413 SIGUSR1 P1990 Term User-defined signal 1
414 SIGUSR2 P1990 Term User-defined signal 2
415 SIGVTALRM P2001 Term Virtual alarm clock (4.2BSD)
416 SIGXCPU P2001 Core CPU time limit exceeded (4.2BSD);
417 see \fBsetrlimit\fP(2)
418 SIGXFSZ P2001 Core File size limit exceeded (4.2BSD);
419 see \fBsetrlimit\fP(2)
420 SIGWINCH \- Ign Window resize signal (4.3BSD, Sun)
427 cannot be caught, blocked, or ignored.
429 Up to and including Linux 2.2, the default behavior for
430 .BR SIGSYS ", " SIGXCPU ", " SIGXFSZ ,
431 and (on architectures other than SPARC and MIPS)
433 was to terminate the process (without a core dump).
434 (On some other UNIX systems the default action for
435 .BR SIGXCPU " and " SIGXFSZ
436 is to terminate the process without a core dump.)
437 Linux 2.4 conforms to the POSIX.1-2001 requirements for these signals,
438 terminating the process with a core dump.
441 is not specified in POSIX.1-2001, but nevertheless appears
442 on most other UNIX systems,
443 where its default action is typically to terminate
444 the process with a core dump.
447 (which is not specified in POSIX.1-2001) is typically ignored
448 by default on those other UNIX systems where it appears.
451 (which is not specified in POSIX.1-2001) is ignored by default
452 on several other UNIX systems.
454 .SS Queueing and delivery semantics for standard signals
455 If multiple standard signals are pending for a process,
456 the order in which the signals are delivered is unspecified.
458 Standard signals do not queue.
459 If multiple instances of a standard signal are generated while
460 that signal is blocked,
461 then only one instance of the signal is marked as pending
462 (and the signal will be delivered just once when it is unblocked).
463 In the case where a standard signal is already pending, the
467 associated with that signal is not overwritten
468 on arrival of subsequent instances of the same signal.
469 Thus, the process will receive the information
470 associated with the first instance of the signal.
472 .SS Signal numbering for standard signals
473 The numeric value for each signal is given in the table below.
474 As shown in the table, many signals have different numeric values
475 on different architectures.
476 The first numeric value in each table row shows the signal number
477 on x86, ARM, and most other architectures;
478 the second value is for Alpha and SPARC; the third is for MIPS;
479 and the last is for PARISC.
480 A dash (\-) denotes that a signal is absent on the corresponding architecture.
486 Signal x86/ARM Alpha/ MIPS PARISC Notes
488 SIGHUP \01 \01 \01 \01
489 SIGINT \02 \02 \02 \02
490 SIGQUIT \03 \03 \03 \03
491 SIGILL \04 \04 \04 \04
492 SIGTRAP \05 \05 \05 \05
493 SIGABRT \06 \06 \06 \06
494 SIGIOT \06 \06 \06 \06
497 SIGFPE \08 \08 \08 \08
498 SIGKILL \09 \09 \09 \09
505 SIGSTKFLT 16 \- \- \07
516 SIGVTALRM 26 26 28 20
520 SIGPOLL Same as SIGIO
521 SIGPWR 30 29/\- 19 19
522 SIGINFO \- 29/\- \- \-
523 SIGLOST \- \-/29 \- \-
525 SIGUNUSED 31 \- \- 31
536 is no longer defined on any architecture.
540 (synonyms for the same value) on Alpha but
544 .SS Real-time signals
545 Starting with version 2.2,
546 Linux supports real-time signals as originally defined in the POSIX.1b
547 real-time extensions (and now included in POSIX.1-2001).
548 The range of supported real-time signals is defined by the macros
552 POSIX.1-2001 requires that an implementation support at least
554 (8) real-time signals.
556 The Linux kernel supports a range of 33 different real-time
557 signals, numbered 32 to 64.
558 However, the glibc POSIX threads implementation internally uses
559 two (for NPTL) or three (for LinuxThreads) real-time signals
562 and adjusts the value of
564 suitably (to 34 or 35).
565 Because the range of available real-time signals varies according
566 to the glibc threading implementation (and this variation can occur
567 at run time according to the available kernel and glibc),
568 and indeed the range of real-time signals varies across UNIX systems,
570 .IR "never refer to real-time signals using hard-coded numbers" ,
571 but instead should always refer to real-time signals using the notation
573 and include suitable (run-time) checks that
578 Unlike standard signals, real-time signals have no predefined meanings:
579 the entire set of real-time signals can be used for application-defined
582 The default action for an unhandled real-time signal is to terminate the
585 Real-time signals are distinguished by the following:
587 Multiple instances of real-time signals can be queued.
588 By contrast, if multiple instances of a standard signal are delivered
589 while that signal is currently blocked, then only one instance is queued.
591 If the signal is sent using
593 an accompanying value (either an integer or a pointer) can be sent
595 If the receiving process establishes a handler for this signal using the
599 then it can obtain this data via the
603 structure passed as the second argument to the handler.
608 fields of this structure can be used to obtain the PID
609 and real user ID of the process sending the signal.
611 Real-time signals are delivered in a guaranteed order.
612 Multiple real-time signals of the same type are delivered in the order
614 If different real-time signals are sent to a process, they are delivered
615 starting with the lowest-numbered signal.
616 (I.e., low-numbered signals have highest priority.)
617 By contrast, if multiple standard signals are pending for a process,
618 the order in which they are delivered is unspecified.
620 If both standard and real-time signals are pending for a process,
621 POSIX leaves it unspecified which is delivered first.
622 Linux, like many other implementations, gives priority
623 to standard signals in this case.
625 According to POSIX, an implementation should permit at least
626 .B _POSIX_SIGQUEUE_MAX
627 (32) real-time signals to be queued to
629 However, Linux does things differently.
630 In kernels up to and including 2.6.7, Linux imposes
631 a system-wide limit on the number of queued real-time signals
633 This limit can be viewed and (with privilege) changed via the
634 .I /proc/sys/kernel/rtsig\-max
637 .IR /proc/sys/kernel/rtsig\-nr ,
638 can be used to find out how many real-time signals are currently queued.
639 In Linux 2.6.8, these
641 interfaces were replaced by the
643 resource limit, which specifies a per-user limit for queued
648 The addition of real-time signals required the widening
649 of the signal set structure
652 Consequently, various system calls were superseded by new system calls
653 that supported the larger signal sets.
654 The old and new system calls are as follows:
658 Linux 2.0 and earlier Linux 2.2 and later
659 \fBsigaction\fP(2) \fBrt_sigaction\fP(2)
660 \fBsigpending\fP(2) \fBrt_sigpending\fP(2)
661 \fBsigprocmask\fP(2) \fBrt_sigprocmask\fP(2)
662 \fBsigreturn\fP(2) \fBrt_sigreturn\fP(2)
663 \fBsigsuspend\fP(2) \fBrt_sigsuspend\fP(2)
664 \fBsigtimedwait\fP(2) \fBrt_sigtimedwait\fP(2)
667 .SS Interruption of system calls and library functions by signal handlers
668 If a signal handler is invoked while a system call or library
669 function call is blocked, then either:
671 the call is automatically restarted after the signal handler returns; or
673 the call fails with the error
676 Which of these two behaviors occurs depends on the interface and
677 whether or not the signal handler was established using the
681 The details vary across UNIX systems;
682 below, the details for Linux.
684 If a blocked call to one of the following interfaces is interrupted
685 by a signal handler, then the call is automatically restarted
686 after the signal handler returns if the
688 flag was used; otherwise the call fails with the error
690 .\" The following system calls use ERESTARTSYS,
691 .\" so that they are restartable
699 calls on "slow" devices.
700 A "slow" device is one where the I/O call may block for an
701 indefinite time, for example, a terminal, pipe, or socket.
702 If an I/O call on a slow device has already transferred some
703 data by the time it is interrupted by a signal handler,
704 then the call will return a success status
705 (normally, the number of bytes transferred).
706 Note that a (local) disk is not a slow device according to this definition;
707 I/O operations on disk devices are not interrupted by signals.
710 if it can block (e.g., when opening a FIFO; see
721 .\" If a timeout (setsockopt()) is in effect on the socket, then these
722 .\" system calls switch to using EINTR. Consequently, they and are not
723 .\" automatically restarted, and they show the stop/cont behavior
724 .\" described below. (Verified from 2.6.26 source, and by experiment; mtk)
735 .\" FIXME What about sendmmsg()?
736 unless a timeout has been set on the socket (see below).
738 File locking interfaces:
748 POSIX message queue interfaces:
750 .BR mq_timedreceive (3),
753 .BR mq_timedsend (3).
758 .\" commit 72c1bbf308c75a136803d2d76d0e18258be14c7a
759 beforehand, always failed with
764 .BR pthread_mutex_lock (3),
765 .BR pthread_cond_wait (3),
769 .BR FUTEX_WAIT_BITSET .
771 POSIX semaphore interfaces:
774 .BR sem_timedwait (3)
776 .\" as a consequence of the 2.6.22 changes in the futex() implementation
777 beforehand, always failed with
785 .\" commit 1ca39ab9d21ac93f94b9e3eb364ea9a5cf2aba06
786 beforehand, always failed with
789 The following interfaces are never restarted after
790 being interrupted by a signal handler,
791 regardless of the use of
793 they always fail with the error
795 when interrupted by a signal handler:
796 .\" These are the system calls that give EINTR or ERESTARTNOHAND
797 .\" on interruption by a signal handler.
799 "Input" socket interfaces, when a timeout
801 has been set on the socket using
807 (also with a non-NULL
813 "Output" socket interfaces, when a timeout
815 has been set on the socket using
822 .\" FIXME What about sendmmsg()?
824 Interfaces used to wait for signals:
827 .BR sigtimedwait (2),
831 File descriptor multiplexing interfaces:
840 System V IPC interfaces:
841 .\" On some other systems, SA_RESTART does restart these system calls
849 .BR clock_nanosleep (2),
854 .BR io_getevents (2).
858 function is also never restarted if interrupted by a handler,
859 but gives a success return: the number of seconds remaining to sleep.
861 In certain circumstances, the
863 user-space notification feature can lead to restarting of system calls
864 that would otherwise never be restarted by
867 .BR seccomp_unotify (2).
869 .SS Interruption of system calls and library functions by stop signals
870 On Linux, even in the absence of signal handlers,
871 certain blocking interfaces can fail with the error
873 after the process is stopped by one of the stop signals
876 This behavior is not sanctioned by POSIX.1, and doesn't occur
879 The Linux interfaces that display this behavior are:
881 "Input" socket interfaces, when a timeout
883 has been set on the socket using
889 (also with a non-NULL
895 "Output" socket interfaces, when a timeout
897 has been set on the socket using
903 .\" FIXME What about sendmmsg()?
915 .BR sigtimedwait (2),
918 Linux 3.7 and earlier:
923 .\" commit 1ca39ab9d21ac93f94b9e3eb364ea9a5cf2aba06
925 Linux 2.6.21 and earlier:
928 .BR sem_timedwait (3),
931 Linux 2.6.8 and earlier:
935 Linux 2.4 and earlier:
938 POSIX.1, except as noted.
940 For a discussion of async-signal-safe functions, see
941 .BR signal\-safety (7).
944 .I /proc/[pid]/task/[tid]/status
945 file contains various fields that show the signals
946 that a thread is blocking
952 (The set of signals that are caught or ignored will be the same
953 across all threads in a process.)
954 Other fields show the set of pending signals that are directed to the thread
956 as well as the set of pending signals that are directed
957 to the process as a whole
959 The corresponding fields in
960 .I /proc/[pid]/status
961 show the information for the main thread.
966 There are six signals that can be delivered
967 as a consequence of a hardware exception:
975 Which of these signals is delivered,
976 for any given hardware exception,
977 is not documented and does not always make sense.
979 For example, an invalid memory access that causes delivery of
981 on one CPU architecture may cause delivery of
983 on another architecture, or vice versa.
985 For another example, using the x86
987 instruction with a forbidden argument
988 (any number other than 3 or 128)
993 would make more sense,
994 because of how the CPU reports the forbidden operation to the kernel.
1000 .BR pidfd_send_signal (2),
1001 .BR restart_syscall (2),
1002 .BR rt_sigqueueinfo (2),
1007 .BR sigaltstack (2),
1011 .BR sigprocmask (2),
1014 .BR sigwaitinfo (2),
1019 .BR pthread_sigqueue (3),
1027 .BR swapcontext (3),
1028 .BR sysv_signal (3),