adjtimex on score
tune kernel clock
sys_adjtimex(struct timex *txc_p)
| number | 171 (0xab) |
|---|---|
| abi | common |
| entry point | sys_adjtimex |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | adjtimex(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 171, the syscall number |
r4 | struct timex *txc_p |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 159
- x86 124
- arm64 171
- arm 124
- riscv64 171
- ia32 124
- x32 1073741983
- loongarch64 171
- ppc64 124
- ppc 124
- s390x 124
- mips64 5154
- mipsn32 6154
- mipso32 4124
- alpha 366
- arc 171
- blackfin 124, removed in 4.17
- cris 124, removed in 4.17
- csky 171
- frv 124, removed in 4.17
- hexagon 171
- ia64 1131, removed in 6.7
- m32r 124, removed in 4.17
- m68k 124
- metag 171, removed in 4.17
- microblaze 124
- mn10300 124, removed in 4.17
- nds32 171, removed in 5.18
- nios2 171
- openrisc 171
- parisc 124
- sh 124
- sparc 219
- sparc64 219
- tilegx 171, removed in 4.17
- tilepro 171, removed in 4.17
- xtensa 194
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/adjtimex?kernel=all