alarm on score
set an alarm clock for delivery of a signal
sys_alarm(unsigned int seconds)
| number | 1059 (0x423) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_alarm |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | alarm(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1059, the syscall number |
r4 | unsigned int seconds |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 37
- x86 27
- ia32 27
- x32 1073741861
- ppc64 27
- ppc 27
- s390x 27
- mips64 5037
- mipsn32 6037
- mipso32 4027
- blackfin 27, removed in 4.17
- cris 27, removed in 4.17
- frv 27, removed in 4.17
- m32r 27, removed in 4.17
- m68k 27
- microblaze 27
- mn10300 27, removed in 4.17
- parisc 27
- sh 27
- sparc 27
- sparc64 27
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/alarm?kernel=all