From a42f9c51cb27c093deedd291498ad5332ccdb0a9 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Wed, 7 Nov 2018 07:58:55 +0100 Subject: [PATCH] signal.7: Add signal numbers for parisc This patch adds the signal numbers for parisc to the signal(7) man page. Those parisc-specific values for the various signals are valid since the Linux kernel upstream commit ("parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures") during development of kernel 3.18: http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f25df2eff5b25f52c139d3ff31bc883eee9a0ab Signed-off-by: Helge Deller Signed-off-by: Michael Kerrisk --- man7/signal.7 | 61 +++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 33 deletions(-) diff --git a/man7/signal.7 b/man7/signal.7 index 0fd4f66a7..6f2d01cd2 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -223,13 +223,10 @@ the pending signal set is preserved across an Linux supports the standard signals listed below. Several signal numbers are architecture-dependent, as indicated in the "Value" column. -(Where three values are given, the first one is usually valid for +Where four values are given, the first one is usually valid for alpha and sparc, -the middle one for x86, arm, and most other architectures, -and the last one for mips. -(Values for parisc are -.I not -shown; see the Linux kernel source for signal numbering on that architecture.) +the second one for x86, arm, and most other architectures, +the third one for mips and the last one for parisc. A dash (\-) denotes that a signal is absent on the corresponding architecture. .PP First the signals described in the original POSIX.1-1990 standard. @@ -251,14 +248,14 @@ SIGPIPE 13 Term Broken pipe: write to pipe with no readers; see \fBpipe\fP(7) SIGALRM 14 Term Timer signal from \fBalarm\fP(2) SIGTERM 15 Term Termination signal -SIGUSR1 30,10,16 Term User-defined signal 1 -SIGUSR2 31,12,17 Term User-defined signal 2 -SIGCHLD 20,17,18 Ign Child stopped or terminated -SIGCONT 19,18,25 Cont Continue if stopped -SIGSTOP 17,19,23 Stop Stop process -SIGTSTP 18,20,24 Stop Stop typed at terminal -SIGTTIN 21,21,26 Stop Terminal input for background process -SIGTTOU 22,22,27 Stop Terminal output for background process +SIGUSR1 30,10,16,16 Term User-defined signal 1 +SIGUSR2 31,12,17,17 Term User-defined signal 2 +SIGCHLD 20,17,18,18 Ign Child stopped or terminated +SIGCONT 19,18,25,26 Cont Continue if stopped +SIGSTOP 17,19,23,24 Stop Stop process +SIGTSTP 18,20,24,25 Stop Stop typed at terminal +SIGTTIN 21,21,26,27 Stop Terminal input for background process +SIGTTOU 22,22,27,28 Stop Terminal output for background process .TE .sp 1 The signals @@ -274,18 +271,18 @@ l c c l ____ lB c c l. Signal Value Action Comment -SIGBUS 10,7,10 Core Bus error (bad memory access) +SIGBUS 10,7,10,10 Core Bus error (bad memory access) SIGPOLL Term Pollable event (Sys V). Synonym for \fBSIGIO\fP -SIGPROF 27,27,29 Term Profiling timer expired -SIGSYS 12,31,12 Core Bad system call (SVr4); +SIGPROF 27,27,29,21 Term Profiling timer expired +SIGSYS 12,31,12,31 Core Bad system call (SVr4); see also \fBseccomp\fP(2) SIGTRAP 5 Core Trace/breakpoint trap -SIGURG 16,23,21 Ign Urgent condition on socket (4.2BSD) -SIGVTALRM 26,26,28 Term Virtual alarm clock (4.2BSD) -SIGXCPU 24,24,30 Core CPU time limit exceeded (4.2BSD); +SIGURG 16,23,21,29 Ign Urgent condition on socket (4.2BSD) +SIGVTALRM 26,26,28,20 Term Virtual alarm clock (4.2BSD) +SIGXCPU 24,24,30,12 Core CPU time limit exceeded (4.2BSD); see \fBsetrlimit\fP(2) -SIGXFSZ 25,25,31 Core File size limit exceeded (4.2BSD); +SIGXFSZ 25,25,31,30 Core File size limit exceeded (4.2BSD); see \fBsetrlimit\fP(2) .TE .sp 1 @@ -307,15 +304,15 @@ ____ lB c c l. Signal Value Action Comment SIGIOT 6 Core IOT trap. A synonym for \fBSIGABRT\fP -SIGEMT 7,\-,7 Term Emulator trap -SIGSTKFLT \-,16,\- Term Stack fault on coprocessor (unused) -SIGIO 23,29,22 Term I/O now possible (4.2BSD) -SIGCLD \-,\-,18 Ign A synonym for \fBSIGCHLD\fP -SIGPWR 29,30,19 Term Power failure (System V) -SIGINFO 29,\-,\- A synonym for \fBSIGPWR\fP -SIGLOST \-,\-,\- Term File lock lost (unused) -SIGWINCH 28,28,20 Ign Window resize signal (4.3BSD, Sun) -SIGUNUSED \-,31,\- Core Synonymous with \fBSIGSYS\fP +SIGEMT 7,\-,7,- Term Emulator trap +SIGSTKFLT \-,16,\-,7 Term Stack fault on coprocessor (unused) +SIGIO 23,29,22,22 Term I/O now possible (4.2BSD) +SIGCLD \-,\-,18,\- Ign A synonym for \fBSIGCHLD\fP +SIGPWR 29,30,19,19 Term Power failure (System V) +SIGINFO 29,\-,\-,\- A synonym for \fBSIGPWR\fP +SIGLOST \-,\-,\-,\- Term File lock lost (unused) +SIGWINCH 28,28,20,23 Ign Window resize signal (4.3BSD, Sun) +SIGUNUSED \-,31,\-,31 Core Synonymous with \fBSIGSYS\fP .TE .sp 1 (Signal 29 is @@ -343,9 +340,7 @@ on several other UNIX systems. Where defined, .B SIGUNUSED is synonymous with -.\" parisc is the only exception: SIGSYS is 12, SIGUNUSED is 31 -.B SIGSYS -on most architectures. +.BR SIGSYS . Since glibc 2.26, .B SIGUNUSED is no longer defined on any architecture.