syscall.sh / x32 / linkat

linkat

make a new name for a file

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

Registers

registervalue
rax1073742089, the syscall number
rdiint olddfd
rsiconst char *oldname
rdxint newdfd
r10const char *newname
r8int flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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