utimensat on metag
change file timestamps with nanosecond precision
sys_utimensat(int dfd, const char *filename, struct timespec *utimes, int flags)
| number | 88 (0x58) |
|---|---|
| abi | common |
| entry point | sys_utimensat |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | utimensat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 88, the syscall number |
D1Ar1 | int dfd |
D0Ar2 | const char *filename |
D1Ar3 | struct timespec *utimes |
D0Ar4 | int flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 280
- x86 320
- arm64 88
- arm 348
- riscv64 88
- ia32 320
- x32 1073742104
- loongarch64 88
- ppc64 304
- ppc 304
- s390x 315
- mips64 5275
- mipsn32 6279
- mipso32 4316
- alpha 475
- arc 88
- blackfin 347, removed in 4.17
- cris 320, removed in 4.17
- csky 88
- frv 320, removed in 4.17
- hexagon 88
- ia64 1306, removed in 6.7
- m32r 320, removed in 4.17
- m68k 316
- microblaze 320
- mn10300 321, removed in 4.17
- nds32 88, removed in 5.18
- nios2 88
- openrisc 88
- parisc 301
- score 88, removed in 4.17
- sh 320
- sparc 310
- sparc64 310
- tilegx 88, removed in 4.17
- tilepro 88, removed in 4.17
- xtensa 296
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/utimensat?kernel=all