syscall.sh / x32 / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number1073741865 (0x40000029)
abicommon
entry pointsys_socket
sinceLinux 3.4
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741865, the syscall number
rdiint family
rsiint type
rdxint protocol
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/socket