syscall.sh / arm64 / accept

accept

accept a connection on a socket

sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
number202 (0xca)
abicommon
entry pointsys_accept
sinceLinux 3.7
man pageaccept(2)
sourceelixir.bootlin.com

Registers

registervalue
x8202, the syscall number
x0int fd
x1struct sockaddr *upeer_sockaddr
x2int *upeer_addrlen
x0the 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/arm64/accept