syscall.sh / xtensa / 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
a2468, the syscall number
a6int dfd
a3const char *filename
a4struct file_attr *attr
a5size_t usize
a8unsigned int at_flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/file_getattr