syscall.sh / sh / statx

statx

get file status (extended)

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

Registers

registervalue
r3383, the syscall number
r4int dfd
r5const char *path
r6unsigned flags
r7unsigned mask
r0struct statx *buffer
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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