syscall.sh / sparc / symlink
symlink
make a new name for a file
sys_symlink(const char *old, const char *new)
| number | 57 (0x39) |
|---|---|
| abi | common |
| entry point | sys_symlink |
| since | Linux 5.0 |
| man page | symlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 57, the syscall number |
o0 | const char *old |
o1 | const char *new |
o0 | the return value |
Then run t 0x10 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
- sparc64 57
- xtensa 34
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/symlink