syscall.sh / s390x / statx

statx

get file status (extended)

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

Registers

registervalue
r1379, the syscall number
r2int dfd
r3const char *path
r4unsigned flags
r5unsigned mask
r6struct statx *buffer
r2the 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/s390x/statx