signal.7: Reorder the architectures in the signal number lists

x86 and ARM are the most common architectures, but currently
are in the second subfield in the signal number lists.
Instead, swap that info with subfield 1, so the most
common architectures are first in the list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-11-07 21:41:34 +01:00
parent a42f9c51cb
commit 4a501601a6
1 changed files with 19 additions and 19 deletions

View File

@ -223,10 +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 four values are given, the first one is usually valid for
alpha and sparc,
the second one for x86, arm, and most other architectures,
the third one for mips and the last one for parisc.
Where four values are given,
the first one s valid for x86, arm, and most other architectures,
the second one for alpha and sparc,
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.
@ -248,12 +248,12 @@ 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,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
SIGUSR1 10,30,16,16 Term User-defined signal 1
SIGUSR2 12,31,17,17 Term User-defined signal 2
SIGCHLD 17,20,18,18 Ign Child stopped or terminated
SIGCONT 18,19,25,26 Cont Continue if stopped
SIGSTOP 19,17,23,24 Stop Stop process
SIGTSTP 20,18,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
@ -271,14 +271,14 @@ l c c l
____
lB c c l.
Signal Value Action Comment
SIGBUS 10,7,10,10 Core Bus error (bad memory access)
SIGBUS 7,10,10,10 Core Bus error (bad memory access)
SIGPOLL Term Pollable event (Sys V).
Synonym for \fBSIGIO\fP
SIGPROF 27,27,29,21 Term Profiling timer expired
SIGSYS 12,31,12,31 Core Bad system call (SVr4);
SIGSYS 31,12,12,31 Core Bad system call (SVr4);
see also \fBseccomp\fP(2)
SIGTRAP 5 Core Trace/breakpoint trap
SIGURG 16,23,21,29 Ign Urgent condition on socket (4.2BSD)
SIGURG 23,16,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)
@ -304,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,\-,7 Term Stack fault on coprocessor (unused)
SIGIO 23,29,22,22 Term I/O now possible (4.2BSD)
SIGEMT \-,7,7,- Term Emulator trap
SIGSTKFLT 16,\-,\-,7 Term Stack fault on coprocessor (unused)
SIGIO 29,23,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
SIGPWR 30,29,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
SIGUNUSED 31,\-,\-,31 Core Synonymous with \fBSIGSYS\fP
.TE
.sp 1
(Signal 29 is