syscall.sh / s390x / openat

openat

open and possibly create a file

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

Registers

registervalue
r1288, the syscall number
r2int dfd
r3const char *filename
r4int flags
r5umode_t mode
r2the 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/s390x/openat