syscall.sh / x64 / newfstatat

newfstatat

get file status

sys_newfstatat(int dfd, const char *filename, struct stat *statbuf, int flag)
number262 (0x106)
abicommon
entry pointsys_newfstatat
sinceLinux 3.3
man pagenewfstatat(2)
sourceelixir.bootlin.com

Registers

registervalue
rax262, the syscall number
rdiint dfd
rsiconst char *filename
rdxstruct stat *statbuf
r10int flag
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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