syscall.sh / x64 / symlinkat

symlinkat

make a new name for a file

sys_symlinkat(const char *oldname, int newdfd, const char *newname)
number266 (0x10a)
abicommon
entry pointsys_symlinkat
sinceLinux 3.3
man pagesymlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
rax266, the syscall number
rdiconst char *oldname
rsiint newdfd
rdxconst char *newname
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/x64/symlinkat