Searched refs:SOCK_CLOEXEC (Results 1 – 11 of 11) sorted by relevance
/dragonfly/contrib/dhcpcd/src/ |
H A D | if.h | 238 #ifdef SOCK_CLOEXEC 241 # define SOCK_CLOEXEC 0x10000000 macro 249 #define SOCK_CXNB SOCK_CLOEXEC | SOCK_NONBLOCK
|
H A D | if.c | 114 ctx->pf_link_fd = xsocket(PF_LINK, SOCK_DGRAM | SOCK_CLOEXEC, 0); in if_opensockets() 124 ctx->pf_inet_fd = xsocket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in if_opensockets() 975 if (xtype & SOCK_CLOEXEC) in xsocket() 976 type &= ~SOCK_CLOEXEC; in xsocket() 987 if ((xtype & SOCK_CLOEXEC) && ((xflags = fcntl(s, F_GETFD)) == -1 || in xsocket() 1015 if (xtype & SOCK_CLOEXEC) in xsocketpair() 1016 type &= ~SOCK_CLOEXEC; in xsocketpair() 1027 if ((xtype & SOCK_CLOEXEC) && ((xflags = fcntl(fd[0], F_GETFD)) == -1 || in xsocketpair() 1030 if ((xtype & SOCK_CLOEXEC) && ((xflags = fcntl(fd[1], F_GETFD)) == -1 || in xsocketpair()
|
H A D | if-bsd.c | 172 priv->pf_inet6_fd = xsocket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in if_opensockets_os()
|
/dragonfly/test/socket/socket/cloexec/ |
H A D | socket_cloexec.c | 23 s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in main()
|
/dragonfly/test/socket/socketpair/cloexec/ |
H A D | sockpair_cloexec.c | 21 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0, s) < 0) in main()
|
/dragonfly/test/socket/accept4/cloexec/ |
H A D | accept4_cloexec.c | 95 s = accept4(serv_s, NULL, NULL, SOCK_CLOEXEC); in main()
|
/dragonfly/sys/kern/ |
H A D | uipc_syscalls.c | 110 if (type & SOCK_CLOEXEC) { in kern_socket() 111 type &= ~SOCK_CLOEXEC; in kern_socket() 417 if (sockflags & SOCK_CLOEXEC) in kern_accept() 516 if (uap->flags & ~(SOCK_NONBLOCK | SOCK_CLOEXEC)) in sys_accept4() 687 if (type & SOCK_CLOEXEC) { in kern_socketpair() 688 type &= ~SOCK_CLOEXEC; in kern_socketpair()
|
/dragonfly/lib/libc/gen/ |
H A D | syslog.c | 343 if ((LogFile = _socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, in connectlog()
|
/dragonfly/sys/sys/ |
H A D | socket.h | 101 #define SOCK_CLOEXEC 0x10000000 macro
|
/dragonfly/crypto/libressl/apps/nc/ |
H A D | netcat.c | 907 if ((s = unix_bind(unix_dg_tmp_socket, SOCK_CLOEXEC)) == -1) in unix_connect() 910 if ((s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)) == -1) in unix_connect()
|
/dragonfly/usr.bin/dsynth/ |
H A D | build.c | 1501 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, in childBuilderThread()
|