syscall.sh / sh / utimensat

utimensat

change file timestamps with nanosecond precision

sys_utimensat_time32(unsigned int dfd, const char *filename, struct old_timespec32 *t, int flags)
number320 (0x140)
abicommon
entry pointsys_utimensat_time32
sinceLinux 5.0
man pageutimensat(2)
sourceelixir.bootlin.com

Registers

registervalue
r3320, the syscall number
r4unsigned int dfd
r5const char *filename
r6struct old_timespec32 *t
r7int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/utimensat