syscall.sh / microblaze / openat

openat

open and possibly create a file

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

Registers

registervalue
r12295, the syscall number
r5int dfd
r6const char *filename
r7int flags
r8umode_t mode
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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