syscall.sh / ppc64 / newfstatat

newfstatat

get file status

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

Registers

registervalue
r0291, the syscall number
r3int dfd
r4const char *filename
r5struct stat *statbuf
r6int flag
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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