syscall.sh / sh / sigreturn
sigreturn
return from signal handler and cleanup stack frame
sys_sigreturn(void)
| number | 119 (0x77) |
|---|---|
| abi | common |
| entry point | sys_sigreturn |
| since | Linux 5.0 |
| man page | sigreturn(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 119, the syscall number |
r0 | the 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/sigreturn