utimes on score
change file last access and modification times
sys_utimes(char *filename, struct timeval *utimes)
| number | 1037 (0x40d) |
|---|---|
| abi | common |
| entry point | sys_utimes |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | utimes(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1037, the syscall number |
r4 | char *filename |
r5 | struct timeval *utimes |
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 235
- x86 271
- arm 269
- ia32 271
- x32 1073742059
- ppc64 251
- ppc 251
- s390x 313
- mips64 5226
- mipsn32 6230
- mipso32 4267
- alpha 363
- blackfin 272, removed in 4.17
- cris 271, removed in 4.17
- frv 271, removed in 4.17
- ia64 1036, removed in 6.7
- m32r 271, removed in 4.17
- m68k 266
- microblaze 271
- mn10300 271, removed in 4.17
- parisc 336
- sh 271
- sparc 138
- sparc64 138
- xtensa 65
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/utimes?kernel=all