syscall.sh / x86 / sigsuspend
sigsuspend
wait for a signal
sys_sigsuspend(int unused1, int unused2, old_sigset_t mask)
| number | 72 (0x48) |
|---|---|
| abi | i386 |
| entry point | sys_sigsuspend |
| since | Linux 3.3 |
| man page | sigsuspend(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 72, the syscall number |
ebx | int unused1 |
ecx | int unused2 |
edx | old_sigset_t mask |
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/sigsuspend