tgkill on score
send a signal to a thread
sys_tgkill(pid_t tgid, pid_t pid, int sig)
| number | 131 (0x83) |
|---|---|
| abi | common |
| entry point | sys_tgkill |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | tgkill(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 131, the syscall number |
r4 | pid_t tgid |
r5 | pid_t pid |
r6 | int sig |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 234
- x86 270
- arm64 131
- arm 268
- riscv64 131
- ia32 270
- x32 1073742058
- loongarch64 131
- ppc64 250
- ppc 250
- s390x 241
- mips64 5225
- mipsn32 6229
- mipso32 4266
- alpha 424
- arc 131
- blackfin 271, removed in 4.17
- cris 270, removed in 4.17
- csky 131
- frv 270, removed in 4.17
- hexagon 131
- ia64 1235, removed in 6.7
- m32r 270, removed in 4.17
- m68k 265
- metag 131, removed in 4.17
- microblaze 270
- mn10300 270, removed in 4.17
- nds32 131, removed in 5.18
- nios2 131
- openrisc 131
- parisc 259
- sh 270
- sparc 211
- sparc64 211
- tilegx 131, removed in 4.17
- tilepro 131, removed in 4.17
- xtensa 125
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/tgkill?kernel=all