syscall.sh / arm / statx

statx

get file status (extended)

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

Registers

registervalue
r7397, the syscall number
r0int dfd
r1const char *path
r2unsigned flags
r3unsigned mask
r4struct statx *buffer
r0the 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/arm/statx