syscall.sh / microblaze / connect

connect

initiate a connection on a socket

sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
number350 (0x15e)
abicommon
entry pointsys_connect
sinceLinux 5.0
man pageconnect(2)
sourceelixir.bootlin.com

Registers

registervalue
r12350, the syscall number
r5int fd
r6struct sockaddr *uservaddr
r7int addrlen
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/connect