syscall.sh / x32 / tgkill
tgkill
send a signal to a thread
sys_tgkill(pid_t tgid, pid_t pid, int sig)
| number | 1073742058 (0x400000ea) |
|---|---|
| abi | common |
| entry point | sys_tgkill |
| since | Linux 3.4 |
| man page | tgkill(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742058, the syscall number |
rdi | pid_t tgid |
rsi | pid_t pid |
rdx | int sig |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 234
- x86 270
- arm64 131
- arm 268
- riscv64 131
- loongarch64 131
- ppc64 250
- ppc 250
- s390x 241
- mips64 5225
- mipsn32 6229
- mipso32 4266
- alpha 424
- arc 131
- csky 131
- hexagon 131
- m68k 265
- microblaze 270
- nios2 131
- openrisc 131
- parisc 259
- sh 270
- sparc 211
- sparc64 211
- xtensa 125
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/tgkill