syscall.sh / ppc / 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
r0468, the syscall number
r3int dfd
r4const char *filename
r5struct file_attr *attr
r6size_t usize
r7unsigned int at_flags
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/ppc/file_getattr