syscall.sh / ppc64 / signal
signal
ANSI C signal handling
sys_signal(int sig, __sighandler_t handler)
| number | 48 (0x30) |
|---|---|
| abi | nospu |
| entry point | sys_signal |
| since | Linux 5.0 |
| man page | signal(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 48, the syscall number |
r3 | int sig |
r4 | __sighandler_t handler |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/signal