symlink on score
make a new name for a file
sys_symlink(const char *old, const char *new)
| number | 1036 (0x40c) |
|---|---|
| abi | common |
| entry point | sys_symlink |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | symlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1036, the syscall number |
r4 | const char *old |
r5 | const char *new |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 88
- x86 83
- arm 83
- ia32 83
- x32 1073741912
- ppc64 83
- ppc 83
- s390x 83
- mips64 5086
- mipsn32 6086
- mipso32 4083
- alpha 57
- blackfin 83, removed in 4.17
- cris 83, removed in 4.17
- frv 83, removed in 4.17
- ia64 1091, removed in 6.7
- m32r 83, removed in 4.17
- m68k 83
- microblaze 83
- mn10300 83, removed in 4.17
- parisc 83
- sh 83
- sparc 57
- sparc64 57
- xtensa 34
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/symlink?kernel=all