syscall.sh / x64 / getitimer
getitimer
get or set value of an interval timer
sys_getitimer(int which, struct __kernel_old_itimerval *value)
| number | 36 (0x24) |
|---|---|
| abi | common |
| entry point | sys_getitimer |
| since | Linux 3.3 |
| man page | getitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 36, the syscall number |
rdi | int which |
rsi | struct __kernel_old_itimerval *value |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 105
- arm64 102
- arm 105
- riscv64 102
- x32 1073741860
- loongarch64 102
- ppc64 105
- ppc 105
- s390x 105
- mips64 5035
- mipsn32 6035
- mipso32 4105
- alpha 361
- arc 102
- csky 102
- hexagon 102
- m68k 105
- microblaze 105
- nios2 102
- openrisc 102
- parisc 105
- sh 105
- sparc 86
- sparc64 86
- xtensa 135
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/getitimer