syscall.sh / arm / accept

accept

accept a connection on a socket

sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
number285 (0x11d)
abicommon
entry pointsys_accept
sinceLinux 4.10
man pageaccept(2)
sourceelixir.bootlin.com

Registers

registervalue
r7285, the syscall number
r0int fd
r1struct sockaddr *upeer_sockaddr
r2int *upeer_addrlen
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/accept