syscall.sh / x64 / symlink

symlink

make a new name for a file

sys_symlink(const char *old, const char *new)
number88 (0x58)
abicommon
entry pointsys_symlink
sinceLinux 3.3
man pagesymlink(2)
sourceelixir.bootlin.com

Registers

registervalue
rax88, the syscall number
rdiconst char *old
rsiconst char *new
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/symlink