syscall.sh / microblaze / linkat

linkat

make a new name for a file

sys_linkat(int olddfd, const char *oldname, int newdfd, const char *newname, int flags)
number303 (0x12f)
abicommon
entry pointsys_linkat
sinceLinux 5.0
man pagelinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r12303, the syscall number
r5int olddfd
r6const char *oldname
r7int newdfd
r8const char *newname
r9int flags
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/linkat