clock_adjtime on ia32
tune kernel clock
sys_clock_adjtime32(clockid_t which_clock, struct old_timex32 *tx)
| number | 343 (0x157) |
|---|---|
| abi | i386 |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_clock_adjtime32 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | clock_adjtime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 343, the syscall number |
ebx | clockid_t which_clock |
ecx | struct old_timex32 *tx |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 305
- x86 343
- arm64 266
- arm 372
- riscv64 266
- x32 1073742129
- loongarch64 266
- ppc64 347
- ppc 347
- s390x 337
- mips64 5300
- mipsn32 6305
- mipso32 4341
- alpha 499
- arc 266
- csky 266
- hexagon 266
- m68k 342
- microblaze 373
- nios2 266
- openrisc 266
- parisc 324
- sh 361
- sparc 334
- sparc64 334
- xtensa 329
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/clock_adjtime