syscall.sh / ppc / openat

openat

open and possibly create a file

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

Registers

registervalue
r0286, the syscall number
r3int dfd
r4const char *filename
r5int flags
r6umode_t mode
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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