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

Registers

registervalue
d0379, the syscall number
d1int dfd
d2const char *path
d3unsigned flags
d4unsigned mask
d5struct statx *buffer
d0the 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/m68k/statx