syscall.sh / x86 / timerfd_settime
timerfd_settime
timers that notify via file descriptors
sys_timerfd_settime32(int ufd, int flags, const struct old_itimerspec32 *utmr, struct old_itimerspec32 *otmr)
| number | 325 (0x145) |
|---|---|
| abi | i386 |
| entry point | sys_timerfd_settime32 |
| since | Linux 3.3 |
| man page | timerfd_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 325, the syscall number |
ebx | int ufd |
ecx | int flags |
edx | const struct old_itimerspec32 *utmr |
esi | struct old_itimerspec32 *otmr |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 286
- 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/x86/timerfd_settime