syscall.sh / alpha / linkat

linkat

make a new name for a file

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

Registers

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

Then run callsys to enter the kernel.

Same syscall on other architectures

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