Searched refs:SOCK_CLOEXEC (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | net_if.cpp | 48 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()
|
D | bionic_netlink.cpp | 63 fd_ = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in SendRequest()
|
D | system_property_set.cpp | 56 socket_ = ::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); in PropertyServiceConnection()
|
/bionic/tests/ |
D | sys_socket_test.cpp | 39 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn() 108 int fd_acc = accept4(fd, reinterpret_cast<struct sockaddr*>(addr), &len, SOCK_CLOEXEC); in TestAccept4()
|
/bionic/libc/include/sys/ |
D | socket.h | 62 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 463 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in open_log_socket()
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 806 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc() 1090 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 883 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null() 1805 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 1192 if (socketpair(AF_LOCAL, SOCK_CLOEXEC | SOCK_STREAM, 0, fds) == -1) return nullptr; in popen()
|