syscall.sh / riscv64 / 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 | 134 (0x86) |
|---|---|
| abi | common |
| entry point | sys_rt_sigaction |
| since | Linux 4.15 |
| man page | rt_sigaction(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 134, the syscall number |
a0 | int sig |
a1 | const struct sigaction *act |
a2 | struct sigaction *oact |
a3 | size_t sigsetsize |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 13
- x86 174
- arm64 134
- arm 174
- 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/riscv64/rt_sigaction