syscall.sh / m68k / oldfstat

oldfstat

get file status

sys_fstat(unsigned int fd, struct __old_kernel_stat *statbuf)
number28 (0x1c)
abicommon
entry pointsys_fstat
sinceLinux 5.0
man pageoldfstat(2)
sourceelixir.bootlin.com

Registers

registervalue
d028, the syscall number
d1unsigned int fd
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/oldfstat