syscall.sh / s390x / newfstatat

newfstatat

get file status

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

Registers

registervalue
r1293, the syscall number
r2int dfd
r3const char *filename
r4struct stat *statbuf
r5int flag
r2the 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/s390x/newfstatat