syscall.sh / m68k / openat

openat

open and possibly create a file

sys_openat(int dfd, const char *filename, int flags, umode_t mode)
number288 (0x120)
abicommon
entry pointsys_openat
sinceLinux 5.0
man pageopenat(2)
sourceelixir.bootlin.com

Registers

registervalue
d0288, the syscall number
d1int dfd
d2const char *filename
d3int flags
d4umode_t mode
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/openat