syscall.sh / sparc64 / openat

openat

open and possibly create a file

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

Registers

registervalue
g1284, the syscall number
o0int dfd
o1const char *filename
o2int flags
o3umode_t mode
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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