syscall.sh / sh / fstatat64

fstatat64

get file status

sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
number300 (0x12c)
abicommon
entry pointsys_fstatat64
sinceLinux 5.0
man pagefstatat64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3300, the syscall number
r4int dfd
r5const char *filename
r6struct stat64 *statbuf
r7int flag
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/fstatat64