sigaltstack on score
set and/or get signal stack context
sys_sigaltstack(const stack_t *uss, stack_t *uoss)
| number | 132 (0x84) |
|---|---|
| abi | common |
| entry point | sys_sigaltstack |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sigaltstack(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 132, the syscall number |
r4 | const stack_t *uss |
r5 | stack_t *uoss |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 131
- x86 186
- arm64 132
- arm 186
- riscv64 132
- ia32 186
- x32 1073742349
- loongarch64 132
- ppc64 185
- ppc 185
- s390x 186
- mips64 5129
- mipsn32 6129
- mipso32 4206
- alpha 235
- arc 132
- blackfin 186, removed in 4.17
- cris 186, removed in 4.17
- csky 132
- frv 186, removed in 4.17
- hexagon 132
- ia64 1176, removed in 6.7
- m32r 186, removed in 4.17
- m68k 186
- metag 132, removed in 4.17
- mn10300 186, removed in 4.17
- nds32 132, removed in 5.18
- nios2 132
- openrisc 132
- parisc 166
- sh 186
- sparc 28
- sparc64 28
- tilegx 132, removed in 4.17
- tilepro 132, removed in 4.17
- xtensa 224
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sigaltstack?kernel=all