syscall.sh / openrisc / statx

statx

get file status (extended)

sys_statx(int dfd, const char *path, unsigned flags, unsigned mask, struct statx *buffer)
number291 (0x123)
abicommon
entry pointsys_statx
sinceLinux 4.11
man pagestatx(2)
sourceelixir.bootlin.com

Registers

registervalue
r11291, the syscall number
r3int dfd
r4const char *path
r5unsigned flags
r6unsigned mask
r7struct statx *buffer
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/statx