Home
last modified time | relevance | path

Searched refs:SOCK_CLOEXEC (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/bionic/
Dbionic_netlink.cpp63 fd_ = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in SendRequest()
Dnet_if.cpp48 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0); in if_indextoname()
62 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0); in if_nametoindex()
Dlibc_logging.cpp462 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in __libc_open_log_socket()
Dsystem_properties.cpp535 const int fd = socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_prop_msg()
/bionic/tests/
Dsys_socket_test.cpp37 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn()
106 int fd_acc = accept4(fd, reinterpret_cast<struct sockaddr*>(addr), &len, SOCK_CLOEXEC); in TestAccept4()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c95 int stype = flags ? (SOCK_STREAM | SOCK_CLOEXEC) : SOCK_STREAM; in popen()
/bionic/linker/
Ddebugger.cpp226 int s = socket_abstract_client(DEBUGGER_SOCKET_NAME, SOCK_STREAM | SOCK_CLOEXEC); in send_debuggerd_packet()
/bionic/libc/include/sys/
Dsocket.h63 #define SOCK_CLOEXEC O_CLOEXEC macro
/bionic/libc/dns/resolv/
Dres_send.c800 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
1101 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
/bionic/libc/dns/net/
Dgetaddrinfo.c878 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
1800 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
Dgethnamaddr.c570 int s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in android_open_proxy()