accept4 on cris

accept a connection on a socket

sys_accept4(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen, int flags)
number341 (0x155)
abicommon
entry pointsys_accept4
sinceLinux 3.14
man pageaccept4(2)
sourceelixir.bootlin.com

Registers

registervalue
r9341, the syscall number
r10int fd
r11struct sockaddr *upeer_sockaddr
r12int *upeer_addrlen
r13int flags
r10the return value

Then run break 13 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/accept4?kernel=all