syscall.sh / csky / 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.20
man pagestatx(2)
sourceelixir.bootlin.com

Registers

registervalue
r7291, the syscall number
a0int dfd
a1const char *path
a2unsigned flags
a3unsigned mask
r4struct statx *buffer
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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