syscall.sh / arm / socket

socket

create an endpoint for communication

sys_socket(int family, int type, int protocol)
number281 (0x119)
abicommon
entry pointsys_socket
sinceLinux 4.10
man pagesocket(2)
sourceelixir.bootlin.com

Registers

registervalue
r7281, the syscall number
r0int family
r1int type
r2int protocol
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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