listen on ia32

listen for connections on a socket

sys_listen(int fd, int backlog)
number363 (0x16b)
abii386
entry pointsys_listen
sinceLinux 4.3
man pagelisten(2)
sourceelixir.bootlin.com

Registers

registervalue
eax363, the syscall number
ebxint fd
ecxint backlog
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/listen