syscall.sh / m68k / open

open

open and possibly create a file

sys_open(const char *filename, int flags, umode_t mode)
number5 (0x5)
abicommon
entry pointsys_open
sinceLinux 5.0
man pageopen(2)
sourceelixir.bootlin.com

Registers

registervalue
d05, the syscall number
d1const char *filename
d2int flags
d3umode_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/open