syscall.sh / arm64 / newfstatat

newfstatat

get file status

sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
number79 (0x4f)
abi64
entry pointsys_newfstatat
sinceLinux 3.7
man pagenewfstatat(2)
sourceelixir.bootlin.com

Registers

registervalue
x879, the syscall number
x0int dfd
x1const char *filename
x2struct stat *statbuf
x3int flag
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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