syscall.sh / sh / symlinkat

symlinkat

make a new name for a file

sys_symlinkat(const char *oldname, int newdfd, const char *newname)
number304 (0x130)
abicommon
entry pointsys_symlinkat
sinceLinux 5.0
man pagesymlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r3304, the syscall number
r4const char *oldname
r5int newdfd
r6const char *newname
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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