syscall.sh / microblaze / accept

accept

accept a connection on a socket

sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
number349 (0x15d)
abicommon
entry pointsys_accept
sinceLinux 5.0
man pageaccept(2)
sourceelixir.bootlin.com

Registers

registervalue
r12349, the syscall number
r5int fd
r6struct sockaddr *upeer_sockaddr
r7int *upeer_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/accept