syscall.sh / openrisc / 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 3.7
man pagetgkill(2)
sourceelixir.bootlin.com

Registers

registervalue
r11131, the syscall number
r3pid_t tgid
r4pid_t pid
r5int sig
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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