syscall.sh / x86 / sigaction
sigaction
examine and change a signal action
sys_sigaction(int sig, const struct old_sigaction *act, struct old_sigaction *oact)
| number | 67 (0x43) |
|---|---|
| abi | i386 |
| entry point | sys_sigaction |
| since | Linux 3.3 |
| man page | sigaction(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 67, the syscall number |
ebx | int sig |
ecx | const struct old_sigaction *act |
edx | struct old_sigaction *oact |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/sigaction