syscall.sh / x32 / openat2

openat2

open and possibly create a file (extended)

sys_openat2(int dfd, const char *filename, struct open_how *how, size_t size)
number1073742261 (0x400001b5)
abicommon
entry pointsys_openat2
sinceLinux 5.6
man pageopenat2(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742261, the syscall number
rdiint dfd
rsiconst char *filename
rdxstruct open_how *how
r10size_t size
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/openat2