/freebsd-11-stable/contrib/blacklist/port/ |
H A D | popenve.c | 88 #ifndef SOCK_CLOEXEC 89 #define SOCK_CLOEXEC 0 macro 91 int stype = flags ? (SOCK_STREAM | SOCK_CLOEXEC) : SOCK_STREAM; 95 #if SOCK_CLOEXEC == 0 101 #if SOCK_CLOEXEC != 0
|
/freebsd-11-stable/lib/libc/net/ |
H A D | if_nametoindex.c | 71 s = _socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
H A D | nscachedcli.c | 203 client_socket = _socket(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0);
|
H A D | name6.c | 238 if ((s = _socket(af, SOCK_DGRAM | SOCK_CLOEXEC, 0)) < 0) 871 if ((s = _socket(ss.ss_family, SOCK_DGRAM | SOCK_CLOEXEC,
|
H A D | getaddrinfo.c | 878 if ((s = _socket(ai.ai_family, ai.ai_socktype | SOCK_CLOEXEC, 1210 s = _socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); 1672 if ((fd = _socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0)) < 0)
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_socketpair.c | 80 if (flags & SOCK_CLOEXEC) { 166 run(AF_UNIX, SOCK_DGRAM, SOCK_CLOEXEC);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | socket.c | 327 #ifdef SOCK_CLOEXEC 328 if ((SOCK_CLOEXEC & type) && s < 0 && errno == EINVAL) { 329 type &= ~SOCK_CLOEXEC;
|
/freebsd-11-stable/contrib/blacklist/lib/ |
H A D | bl.c | 142 #ifndef SOCK_CLOEXEC 143 #define SOCK_CLOEXEC 0 macro 153 SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK|SOCK_NOSIGPIPE, 0); 160 #if SOCK_CLOEXEC == 0
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Socket.cpp | 444 #ifdef SOCK_CLOEXEC 446 socket_type |= SOCK_CLOEXEC; 475 #elif defined(SOCK_CLOEXEC) && defined(HAVE_ACCEPT4) 478 flags |= SOCK_CLOEXEC;
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | krb5_locl.h | 216 #ifndef SOCK_CLOEXEC 217 #define SOCK_CLOEXEC 0 macro
|
H A D | send_to_kdc.c | 291 s = socket (a->ai_family, a->ai_socktype | SOCK_CLOEXEC, a->ai_protocol); 418 fd = socket (a->ai_family, a->ai_socktype | SOCK_CLOEXEC, a->ai_protocol);
|
H A D | changepw.c | 565 sock = socket (a->ai_family, a->ai_socktype | SOCK_CLOEXEC, a->ai_protocol);
|
/freebsd-11-stable/contrib/netbsd-tests/include/sys/ |
H A D | t_socket.c | 185 atf_tc_set_md_var(tc, "descr", "SOCK_CLOEXEC kernel invariant failure"); 193 if (rump_sys_socket(-1, SOCK_CLOEXEC, 0) != -1)
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | util-internal.h | 457 #ifdef SOCK_CLOEXEC 458 #define EVUTIL_SOCK_CLOEXEC SOCK_CLOEXEC
|
H A D | evutil.c | 2496 #if defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC) 2500 else if ((type & (SOCK_NONBLOCK|SOCK_CLOEXEC)) == 0) 2535 #if defined(EVENT__HAVE_ACCEPT4) && defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK)
|
/freebsd-11-stable/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 314 #ifdef SOCK_CLOEXEC 315 flags |= SOCK_CLOEXEC; 316 #endif /* SOCK_CLOEXEC */
|
/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | sockets.c | 123 flags |= SOCK_CLOEXEC; 257 int flags = SOCK_CLOEXEC;
|
/freebsd-11-stable/lib/libsysdecode/ |
H A D | flags.c | 357 X(SOCK_CLOEXEC) X(SOCK_NONBLOCK) XEND 367 str = lookup_value(socktype, type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)); 373 *rem = type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK); 376 val = type & (SOCK_CLOEXEC | SOCK_NONBLOCK);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | syslog.c | 365 if ((LogFile = _socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC,
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_syscalls.c | 74 * Flags for accept1() and kern_accept4(), in addition to SOCK_CLOEXEC 150 if ((type & SOCK_CLOEXEC) != 0) { 151 type &= ~SOCK_CLOEXEC; 379 (flags & SOCK_CLOEXEC) ? O_CLOEXEC : 0, &fcaps); 518 if (uap->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) 654 if ((type & SOCK_CLOEXEC) != 0) { 655 type &= ~SOCK_CLOEXEC;
|
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | acm.c | 145 sock = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, IPPROTO_TCP);
|
/freebsd-11-stable/sys/sys/ |
H A D | socket.h | 112 #define SOCK_CLOEXEC 0x10000000 macro
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_send.c | 662 SOCK_CLOEXEC, 0); 853 SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | neigh.c | 231 SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_socket.c | 603 *flags |= SOCK_CLOEXEC;
|