syscall.sh / riscv64 / tkill

tkill

send a signal to a thread

sys_tkill(pid_t pid, int sig)
number130 (0x82)
abicommon
entry pointsys_tkill
sinceLinux 4.15
man pagetkill(2)
sourceelixir.bootlin.com

Registers

registervalue
a7130, the syscall number
a0pid_t pid
a1int sig
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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