syscall.sh / arm64 / openat

openat

open and possibly create a file

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

Registers

registervalue
x856, the syscall number
x0int dfd
x1const char *filename
x2int flags
x3umode_t mode
x0the 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/arm64/openat