2 * SYSCALL_DEFINE4(accept4, int, fd, struct sockaddr __user *, upeer_sockaddr,
3 int __user *, upeer_addrlen, int, flags)
5 * On success, these system calls return a nonnegative integer that is a descriptor for the accepted socket.
6 * On error, -1 is returned, and errno is set appropriately.
10 #define SOCK_CLOEXEC 02000000
11 #define SOCK_NONBLOCK 04000
15 struct syscallentry syscall_accept4
= {
20 .arg2name
= "upeer_sockaddr",
21 .arg2type
= ARG_SOCKADDR
,
22 .arg3name
= "upeer_addrlen",
23 .arg3type
= ARG_SOCKADDRLEN
,
28 .values
= { SOCK_NONBLOCK
, SOCK_CLOEXEC
},