syscall.sh / loongarch64 / tgkill

tgkill

send a signal to a thread

sys_tgkill(pid_t tgid, pid_t pid, int sig)
number131 (0x83)
abicommon
entry pointsys_tgkill
sinceLinux 5.19
man pagetgkill(2)
sourceelixir.bootlin.com

Registers

registervalue
a7131, the syscall number
a0pid_t tgid
a1pid_t pid
a2int sig
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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