syscall.sh / sh / sigaction

sigaction

examine and change a signal action

sys_sigaction(int sig, const struct old_sigaction *act, struct old_sigaction *oact)
number67 (0x43)
abicommon
entry pointsys_sigaction
sinceLinux 5.0
man pagesigaction(2)
sourceelixir.bootlin.com

Registers

registervalue
r367, the syscall number
r4int sig
r5const struct old_sigaction *act
r6struct old_sigaction *oact
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/sigaction