link on cris
make a new name for a file
sys_link(const char *oldname, const char *newname)
| number | 9 (0x9) |
|---|---|
| abi | common |
| entry point | sys_link |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for cris) |
| man page | link(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 9, the syscall number |
r10 | const char *oldname |
r11 | const char *newname |
r10 | the return value |
Then run break 13 to enter the kernel.
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 86
- x86 9
- arm 9
- ia32 9
- x32 1073741910
- ppc64 9
- ppc 9
- s390x 9
- mips64 5084
- mipsn32 6084
- mipso32 4009
- alpha 9
- blackfin 9, removed in 4.17
- frv 9, removed in 4.17
- ia64 1031, removed in 6.7
- m32r 9, removed in 4.17
- m68k 9
- microblaze 9
- mn10300 9, removed in 4.17
- parisc 9
- score 1025, removed in 4.17
- sh 9
- sparc 9
- sparc64 9
- xtensa 32
Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/link?kernel=all