syscall.sh / x64 / timerfd_settime
timerfd_settime
timers that notify via file descriptors
sys_timerfd_settime(int ufd, int flags, const struct __kernel_itimerspec *utmr, struct __kernel_itimerspec *otmr)
| number | 286 (0x11e) |
|---|---|
| abi | common |
| entry point | sys_timerfd_settime |
| since | Linux 3.3 |
| man page | timerfd_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 286, the syscall number |
rdi | int ufd |
rsi | int flags |
rdx | const struct __kernel_itimerspec *utmr |
r10 | struct __kernel_itimerspec *otmr |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 325
- arm64 86
- arm 353
- riscv64 86
- x32 1073742110
- loongarch64 86
- ppc64 311
- ppc 311
- s390x 320
- mips64 5282
- mipsn32 6286
- mipso32 4323
- alpha 482
- arc 86
- csky 86
- hexagon 86
- m68k 321
- microblaze 326
- nios2 86
- openrisc 86
- parisc 307
- sh 325
- sparc 315
- sparc64 315
- xtensa 313
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/timerfd_settime