Why are several signal numbers architecture-dependent on Linux?
Here is a quote along with a list of signals and signal numbers from man 7 signal
:
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 alpha and sparc, the middle one for x86, arm, and most other architectures, and the last one for mips.
Signal Value
──────────────────
SIGHUP 1
SIGINT 2
SIGQUIT 3
SIGILL 4
SIGABRT 6
SIGFPE 8
SIGKILL 9
SIGSEGV 11
SIGPIPE 13
SIGALRM 14
SIGTERM 15
SIGUSR1 30,10,16
SIGUSR2 31,12,17
SIGCHLD 20,17,18
SIGCONT 19,18,25
SIGSTOP 17,19,23
SIGTSTP 18,20,24
SIGTTIN 21,21,26
SIGTTOU 22,22,27