syscall.sh / xtensa / open

open

open and possibly create a file

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

Registers

registervalue
a28, the syscall number
a6const char *filename
a3int flags
a4umode_t mode
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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