syscall.sh / x64 / futimesat
futimesat
change timestamps of a file relative to a directory file descriptor
sys_futimesat(int dfd, const char *filename, struct __kernel_old_timeval *utimes)
| number | 261 (0x105) |
|---|---|
| abi | common |
| entry point | sys_futimesat |
| since | Linux 3.3 |
| man page | futimesat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 261, the syscall number |
rdi | int dfd |
rsi | const char *filename |
rdx | struct __kernel_old_timeval *utimes |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- 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
- sh 299
- sparc 288
- sparc64 288
- xtensa 298
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/futimesat