readlinkat on tilepro
read value of a symbolic link
sys_readlinkat(int dfd, const char *path, char *buf, int bufsiz)
| number | 78 (0x4e) |
|---|---|
| abi | common |
| entry point | sys_readlinkat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | readlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 78, the syscall number |
r0 | int dfd |
r1 | const char *path |
r2 | char *buf |
r3 | int bufsiz |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 267
- x86 305
- arm64 78
- arm 332
- riscv64 78
- ia32 305
- x32 1073742091
- loongarch64 78
- ppc64 296
- ppc 296
- s390x 298
- mips64 5257
- mipsn32 6261
- mipso32 4298
- alpha 460
- arc 78
- blackfin 305, removed in 4.17
- cris 305, removed in 4.17
- csky 78
- frv 305, removed in 4.17
- hexagon 78
- ia64 1291, removed in 6.7
- m32r 305, removed in 4.17
- m68k 298
- metag 78, removed in 4.17
- microblaze 305
- mn10300 306, removed in 4.17
- nds32 78, removed in 5.18
- nios2 78
- openrisc 78
- parisc 285
- score 78, removed in 4.17
- sh 305
- sparc 294
- sparc64 294
- tilegx 78, removed in 4.17
- xtensa 295
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/readlinkat?kernel=all