Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc179 base::ScopedFD accepted_handle(HANDLE_EINTR(accept(server_fd, nullptr, 0))); in AcceptSocketConnection() local
180 if (!accepted_handle.is_valid()) in AcceptSocketConnection()
182 if (check_peer_user && !IsPeerAuthorized(accepted_handle.get())) in AcceptSocketConnection()
184 if (!base::SetNonBlocking(accepted_handle.get())) { in AcceptSocketConnection()
185 PLOG(ERROR) << "base::SetNonBlocking() failed " << accepted_handle.get(); in AcceptSocketConnection()
189 *connection_fd = std::move(accepted_handle); in AcceptSocketConnection()