syscall.sh / riscv64 / rt_tgsigqueueinfo
rt_tgsigqueueinfo
queue a signal and data
sys_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *uinfo)
| number | 240 (0xf0) |
|---|---|
| abi | common |
| entry point | sys_rt_tgsigqueueinfo |
| since | Linux 4.15 |
| man page | rt_tgsigqueueinfo(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 240, the syscall number |
a0 | pid_t tgid |
a1 | pid_t pid |
a2 | int sig |
a3 | siginfo_t *uinfo |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 297
- x86 335
- arm64 240
- arm 363
- x32 1073742360
- loongarch64 240
- ppc64 322
- ppc 322
- s390x 330
- mips64 5291
- mipsn32 6295
- mipso32 4332
- alpha 492
- arc 240
- csky 240
- hexagon 240
- m68k 331
- microblaze 365
- nios2 240
- openrisc 240
- parisc 317
- sh 335
- sparc 326
- sparc64 326
- xtensa 328
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/rt_tgsigqueueinfo