syscall.sh / parisc / openat

openat

open and possibly create a file

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

Registers

registervalue
r20275, the syscall number
r26int dfd
r25const char *filename
r24int flags
r23umode_t mode
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/openat