syscall.sh / x32 / timer_settime
timer_settime
arm/disarm and fetch state of POSIX per-process timer
sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec *new_setting, struct __kernel_itimerspec *old_setting)
| number | 1073742047 (0x400000df) |
|---|---|
| abi | common |
| entry point | sys_timer_settime |
| since | Linux 3.4 |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742047, the syscall number |
rdi | timer_t timer_id |
rsi | int flags |
rdx | const struct __kernel_itimerspec *new_setting |
r10 | struct __kernel_itimerspec *old_setting |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 223
- x86 260
- arm64 110
- arm 258
- riscv64 110
- loongarch64 110
- ppc64 241
- ppc 241
- s390x 255
- mips64 5217
- mipsn32 6221
- mipso32 4258
- alpha 415
- arc 110
- csky 110
- hexagon 110
- m68k 255
- microblaze 260
- nios2 110
- openrisc 110
- parisc 251
- sh 260
- sparc 262
- sparc64 262
- xtensa 250
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/timer_settime