syscall.sh / sh / utimes
utimes
change file last access and modification times
sys_utimes_time32(const char *filename, struct old_timeval32 *t)
| number | 271 (0x10f) |
|---|---|
| abi | common |
| entry point | sys_utimes_time32 |
| since | Linux 5.0 |
| man page | utimes(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 271, the syscall number |
r4 | const char *filename |
r5 | struct old_timeval32 *t |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x64 235
- x86 271
- arm 269
- x32 1073742059
- ppc64 251
- ppc 251
- s390x 313
- mips64 5226
- mipsn32 6230
- mipso32 4267
- alpha 363
- m68k 266
- microblaze 271
- parisc 336
- sparc 138
- sparc64 138
- xtensa 65
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/utimes