readlink on mn10300
read value of a symbolic link
sys_readlink(const char *path, char *buf, int bufsiz)
| number | 85 (0x55) |
|---|---|
| abi | common |
| entry point | sys_readlink |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | readlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 85, the syscall number |
a0 | const char *path |
d1 | char *buf |
a3 | int bufsiz |
d0 | the return value |
Then run syscall 0 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 89
- x86 85
- arm 85
- ia32 85
- x32 1073741913
- ppc64 85
- ppc 85
- s390x 85
- mips64 5087
- mipsn32 6087
- mipso32 4085
- alpha 58
- blackfin 85, removed in 4.17
- cris 85, removed in 4.17
- frv 85, removed in 4.17
- ia64 1092, removed in 6.7
- m32r 85, removed in 4.17
- m68k 85
- microblaze 85
- parisc 85
- score 1035, removed in 4.17
- sh 85
- sparc 58
- sparc64 58
- xtensa 35
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/readlink?kernel=all