syscall.sh / x64 / rt_sigaction
rt_sigaction
examine and change a signal action
sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize)
| number | 13 (0xd) |
|---|---|
| abi | 64 |
| entry point | sys_rt_sigaction |
| since | Linux 3.3 |
| man page | rt_sigaction(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 13, the syscall number |
rdi | int sig |
rsi | const struct sigaction *act |
rdx | struct sigaction *oact |
r10 | size_t sigsetsize |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 174
- arm64 134
- arm 174
- riscv64 134
- x32 1073742336
- loongarch64 134
- ppc64 173
- ppc 173
- s390x 174
- mips64 5013
- mipsn32 6013
- mipso32 4194
- alpha 352
- arc 134
- csky 134
- hexagon 134
- m68k 174
- microblaze 174
- nios2 134
- openrisc 134
- parisc 174
- sh 174
- sparc 102
- sparc64 102
- xtensa 226
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/rt_sigaction