syscall.sh / mips64 / linkat

linkat

make a new name for a file

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

Registers

registervalue
v05255, the syscall number
a0int olddfd
a1const char *oldname
a2int newdfd
a3const char *newname
a4int flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/linkat