listen on arm64

listen for connections on a socket

sys_listen(int fd, int backlog)
number201 (0xc9)
abicommon
entry pointsys_listen
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagelisten(2)
sourceelixir.bootlin.com

Registers

registervalue
x8201, the syscall number
x0int fd
x1int backlog
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/listen