syscall.sh / m68k / oldstat

oldstat

get file status

sys_stat(const char *filename, struct __old_kernel_stat *statbuf)
number18 (0x12)
abicommon
entry pointsys_stat
sinceLinux 5.0
man pageoldstat(2)
sourceelixir.bootlin.com

Registers

registervalue
d018, the syscall number
d1const char *filename
d2struct __old_kernel_stat *statbuf
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/oldstat