syscall.sh / x64 / rt_sigsuspend
rt_sigsuspend
wait for a signal
sys_rt_sigsuspend(sigset_t *unewset, size_t sigsetsize)
| number | 130 (0x82) |
|---|---|
| abi | common |
| entry point | sys_rt_sigsuspend |
| since | Linux 3.3 |
| man page | rt_sigsuspend(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 130, the syscall number |
rdi | sigset_t *unewset |
rsi | size_t sigsetsize |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 179
- arm64 133
- arm 179
- riscv64 133
- x32 1073741954
- loongarch64 133
- ppc64 178
- ppc 178
- s390x 179
- mips64 5128
- mipsn32 6128
- mipso32 4199
- alpha 357
- arc 133
- csky 133
- hexagon 133
- m68k 179
- microblaze 179
- nios2 133
- openrisc 133
- parisc 179
- sh 179
- sparc 107
- sparc64 107
- xtensa 231
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/rt_sigsuspend