syscall.sh / mips64 / readlinkat
readlinkat
read value of a symbolic link
sys_readlinkat(int dfd, const char *path, char *buf, int bufsiz)
| number | 5257 (0x1489) |
|---|---|
| abi | n64 |
| entry point | sys_readlinkat |
| since | Linux 5.0 |
| man page | readlinkat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5257, the syscall number |
a0 | int dfd |
a1 | const char *path |
a2 | char *buf |
a3 | int bufsiz |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 267
- x86 305
- arm64 78
- arm 332
- riscv64 78
- x32 1073742091
- loongarch64 78
- ppc64 296
- ppc 296
- s390x 298
- mipsn32 6261
- mipso32 4298
- alpha 460
- arc 78
- csky 78
- hexagon 78
- m68k 298
- microblaze 305
- nios2 78
- openrisc 78
- parisc 285
- sh 305
- sparc 294
- sparc64 294
- xtensa 295
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/readlinkat