syscall.sh / x86 / symlink
symlink
make a new name for a file
sys_symlink(const char *old, const char *new)
| number | 83 (0x53) |
|---|---|
| abi | i386 |
| entry point | sys_symlink |
| since | Linux 3.3 |
| man page | symlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 83, the syscall number |
ebx | const char *old |
ecx | const char *new |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 88
- arm 83
- x32 1073741912
- ppc64 83
- ppc 83
- s390x 83
- mips64 5086
- mipsn32 6086
- mipso32 4083
- alpha 57
- m68k 83
- microblaze 83
- parisc 83
- sh 83
- sparc 57
- sparc64 57
- xtensa 34
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/symlink