syscall.sh / loongarch64 / utimensat
utimensat
change file timestamps with nanosecond precision
sys_utimensat(int dfd, const char *filename, struct __kernel_timespec *utimes, int flags)
| number | 88 (0x58) |
|---|---|
| abi | 64 |
| entry point | sys_utimensat |
| since | Linux 5.19 |
| man page | utimensat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 88, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | struct __kernel_timespec *utimes |
a3 | int flags |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 280
- x86 320
- arm64 88
- arm 348
- riscv64 88
- x32 1073742104
- ppc64 304
- ppc 304
- s390x 315
- mips64 5275
- mipsn32 6279
- mipso32 4316
- alpha 475
- arc 88
- csky 88
- hexagon 88
- m68k 316
- microblaze 320
- nios2 88
- openrisc 88
- parisc 301
- sh 320
- sparc 310
- sparc64 310
- xtensa 296
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/utimensat