syscall.sh / alpha / open

open

open and possibly create a file

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

Registers

registervalue
v045, the syscall number
a0const char *filename
a1int flags
a2umode_t mode
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/open