syscall.sh / arm / 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 4.10
man pageopen(2)
sourceelixir.bootlin.com

Registers

registervalue
r75, the syscall number
r0const char *filename
r1int flags
r2umode_t mode
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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