syscall.sh / s390x / file_getattr

file_getattr

sys_file_getattr(int dfd, const char *filename, struct file_attr *attr, size_t usize, unsigned int at_flags)
number468 (0x1d4)
abicommon
entry pointsys_file_getattr
sinceLinux 6.17
sourceelixir.bootlin.com

Registers

registervalue
r1468, the syscall number
r2int dfd
r3const char *filename
r4struct file_attr *attr
r5size_t usize
r6unsigned int at_flags
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/file_getattr