syscall.sh / arm64 / 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
x8291, the syscall number
x0int dfd
x1const char *path
x2unsigned flags
x3unsigned mask
x4struct statx *buffer
x0the 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/arm64/statx