syscall.sh / sh / futimesat
futimesat
change timestamps of a file relative to a directory file descriptor
sys_futimesat_time32(unsigned int dfd, const char *filename, struct old_timeval32 *t)
| number | 299 (0x12b) |
|---|---|
| abi | common |
| entry point | sys_futimesat_time32 |
| since | Linux 5.0 |
| man page | futimesat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 299, the syscall number |
r4 | unsigned int dfd |
r5 | const char *filename |
r6 | struct old_timeval32 *t |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x64 261
- x86 299
- arm 326
- x32 1073742085
- ppc64 290
- ppc 290
- s390x 292
- mips64 5251
- mipsn32 6255
- mipso32 4292
- alpha 454
- m68k 292
- microblaze 299
- parisc 279
- sparc 288
- sparc64 288
- xtensa 298
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/futimesat