readlinkat on ia32

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 or earlier (3.3 is the first release scanned for ia32)
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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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