socket on ia32

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number359 (0x167)
abii386
entry pointsys_socket
sinceLinux 4.3
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
eax359, the syscall number
ebxint family
ecxint type
edxint protocol
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/socket