syscall.sh / xtensa / symlink
symlink
make a new name for a file
sys_symlink(const char *old, const char *new)
| number | 34 (0x22) |
|---|---|
| abi | common |
| entry point | sys_symlink |
| since | Linux 5.0 |
| man page | symlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 34, the syscall number |
a6 | const char *old |
a3 | const char *new |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 88
- x86 83
- 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
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/symlink