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