syscall.sh / x86 / readlinkat

readlinkat

read value of a symbolic link

sys_readlinkat(int dfd, const char *path, char *buf, int bufsiz)
number305 (0x131)
abii386
entry pointsys_readlinkat
sinceLinux 3.3
man pagereadlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
eax305, the syscall number
ebxint dfd
ecxconst char *path
edxchar *buf
esiint bufsiz
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/readlinkat