clock_settime on score
clock and time functions
sys_clock_settime(clockid_t which_clock, const struct timespec *tp)
| number | 112 (0x70) |
|---|---|
| abi | common |
| entry point | sys_clock_settime |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | clock_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 112, the syscall number |
r4 | clockid_t which_clock |
r5 | const struct timespec *tp |
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 227
- x86 264
- arm64 112
- arm 262
- riscv64 112
- ia32 264
- x32 1073742051
- loongarch64 112
- ppc64 245
- ppc 245
- s390x 259
- mips64 5221
- mipsn32 6225
- mipso32 4262
- alpha 419
- arc 112
- blackfin 265, removed in 4.17
- cris 264, removed in 4.17
- csky 112
- frv 264, removed in 4.17
- hexagon 112
- ia64 1253, removed in 6.7
- m32r 264, removed in 4.17
- m68k 259
- metag 112, removed in 4.17
- microblaze 264
- mn10300 264, removed in 4.17
- nds32 112, removed in 5.18
- nios2 112
- openrisc 112
- parisc 255
- sh 264
- sparc 256
- sparc64 256
- tilegx 112, removed in 4.17
- tilepro 112, removed in 4.17
- xtensa 244
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/clock_settime?kernel=all