syscall.sh / m68k / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number356 (0x164)
abicommon
entry pointsys_socket
sinceLinux 5.0
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
d0356, the syscall number
d1int family
d2int type
d3int protocol
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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