syscall.sh / riscv64 / symlinkat

symlinkat

make a new name for a file

sys_symlinkat(const char *oldname, int newdfd, const char *newname)
number36 (0x24)
abicommon
entry pointsys_symlinkat
sinceLinux 4.15
man pagesymlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
a736, the syscall number
a0const char *oldname
a1int newdfd
a2const char *newname
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/symlinkat