timer_settime on score
arm/disarm and fetch state of POSIX per-process timer
sys_timer_settime(timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting)
| number | 110 (0x6e) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_settime |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 110, the syscall number |
r4 | timer_t timer_id |
r5 | int flags |
r6 | const struct itimerspec *new_setting |
r7 | struct itimerspec *old_setting |
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 223
- x86 260
- arm64 110
- arm 258
- riscv64 110
- ia32 260
- x32 1073742047
- loongarch64 110
- ppc64 241
- ppc 241
- s390x 255
- mips64 5217
- mipsn32 6221
- mipso32 4258
- alpha 415
- arc 110
- blackfin 261, removed in 4.17
- cris 260, removed in 4.17
- csky 110
- frv 260, removed in 4.17
- hexagon 110
- ia64 1249, removed in 6.7
- m32r 260, removed in 4.17
- m68k 255
- metag 110, removed in 4.17
- microblaze 260
- mn10300 260, removed in 4.17
- nds32 110, removed in 5.18
- nios2 110
- openrisc 110
- parisc 251
- sh 260
- sparc 262
- sparc64 262
- tilegx 110, removed in 4.17
- tilepro 110, removed in 4.17
- xtensa 250
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/timer_settime?kernel=all