syscall.sh / sh / tgkill

tgkill

send a signal to a thread

sys_tgkill(pid_t tgid, pid_t pid, int sig)
number270 (0x10e)
abicommon
entry pointsys_tgkill
sinceLinux 5.0
man pagetgkill(2)
sourceelixir.bootlin.com

Registers

registervalue
r3270, the syscall number
r4pid_t tgid
r5pid_t pid
r6int sig
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/tgkill