syscall.sh / microblaze / socket

socket

create an endpoint for communication

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

Registers

registervalue
r12345, the syscall number
r5int family
r6int type
r7int protocol
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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