syscall.sh / csky / utimensat
utimensat
change file timestamps with nanosecond precision
sys_utimensat_time32(unsigned int dfd, const char *filename, struct old_timespec32 *t, int flags)
| number | 88 (0x58) |
|---|---|
| abi | time32 |
| entry point | sys_utimensat_time32 |
| since | Linux 4.20 |
| man page | utimensat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 88, the syscall number |
a0 | unsigned int dfd |
a1 | const char *filename |
a2 | struct old_timespec32 *t |
a3 | int flags |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 280
- x86 320
- arm64 88
- arm 348
- riscv64 88
- x32 1073742104
- loongarch64 88
- ppc64 304
- ppc 304
- s390x 315
- mips64 5275
- mipsn32 6279
- mipso32 4316
- alpha 475
- arc 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/csky/utimensat