Searched refs:SOCK_CLOEXEC (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | net_if.cpp | 48 ScopedFd s(socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)); in if_indextoname() 57 ScopedFd s(socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0)); in if_nametoindex()
|
D | bionic_netlink.cpp | 59 fd_.reset(socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE)); in SendRequest()
|
D | android_profiling_dynamic.cpp | 127 ScopedFd sock_fd{ socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0 /*protocol*/) }; in HandleTracedPerfSignal()
|
D | system_property_set.cpp | 57 socket_.reset(::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0)); in PropertyServiceConnection()
|
D | ifaddrs.cpp | 281 ScopedFd s(socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in get_interface_flags_via_ioctl()
|
/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 | 56 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 492 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 | 803 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc() 1089 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 | 1187 if (socketpair(AF_LOCAL, SOCK_CLOEXEC | SOCK_STREAM, 0, fds) == -1) return nullptr; in popen()
|