syscall.sh / x86 / alarm
alarm
set an alarm clock for delivery of a signal
sys_alarm(unsigned int seconds)
| number | 27 (0x1b) |
|---|---|
| abi | i386 |
| entry point | sys_alarm |
| since | Linux 3.3 |
| man page | alarm(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 27, the syscall number |
ebx | unsigned int seconds |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 37
- x32 1073741861
- ppc64 27
- ppc 27
- s390x 27
- mips64 5037
- mipsn32 6037
- mipso32 4027
- m68k 27
- microblaze 27
- parisc 27
- sh 27
- sparc 27
- sparc64 27
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/alarm