setitimer on score
get or set value of an interval timer
sys_setitimer(int which, struct itimerval *value, struct itimerval *ovalue)
| number | 103 (0x67) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_setitimer |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | setitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 103, the syscall number |
r4 | int which |
r5 | struct itimerval *value |
r6 | struct itimerval *ovalue |
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 38
- x86 104
- arm64 103
- arm 104
- riscv64 103
- ia32 104
- x32 1073741862
- loongarch64 103
- ppc64 104
- ppc 104
- s390x 104
- mips64 5036
- mipsn32 6036
- mipso32 4104
- alpha 362
- arc 103
- blackfin 104, removed in 4.17
- cris 104, removed in 4.17
- csky 103
- frv 104, removed in 4.17
- hexagon 103
- ia64 1118, removed in 6.7
- m32r 104, removed in 4.17
- m68k 104
- metag 103, removed in 4.17
- microblaze 104
- mn10300 104, removed in 4.17
- nds32 103, removed in 5.18
- nios2 103
- openrisc 103
- parisc 104
- sh 104
- sparc 83
- sparc64 83
- tilegx 103, removed in 4.17
- tilepro 103, removed in 4.17
- xtensa 134
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/setitimer?kernel=all