syscall.sh / x32 / readlink
readlink
read value of a symbolic link
sys_readlink(const char *path, char *buf, int bufsiz)
| number | 1073741913 (0x40000059) |
|---|---|
| abi | common |
| entry point | sys_readlink |
| since | Linux 3.4 |
| man page | readlink(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741913, the syscall number |
rdi | const char *path |
rsi | char *buf |
rdx | int bufsiz |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 89
- x86 85
- arm 85
- ppc64 85
- ppc 85
- s390x 85
- mips64 5087
- mipsn32 6087
- mipso32 4085
- alpha 58
- m68k 85
- microblaze 85
- parisc 85
- sh 85
- sparc 58
- sparc64 58
- xtensa 35
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/readlink