syscall.sh / x86 / symlinkat

symlinkat

make a new name for a file

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

Registers

registervalue
eax304, the syscall number
ebxconst char *oldname
ecxint newdfd
edxconst char *newname
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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