syscall.sh / arm / openat

openat

open and possibly create a file

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

Registers

registervalue
r7322, the syscall number
r0int dfd
r1const char *filename
r2int flags
r3umode_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/openat