Android-cuttlefish cvd tool
|
Namespaces | |
namespace | anonymous_namespace{logs.cpp} |
namespace | anonymous_namespace{main.cpp} |
namespace | anonymous_namespace{sandbox_manager.cpp} |
namespace | anonymous_namespace{sandboxer_proxy.cpp} |
Classes | |
class | CredentialedUnixServer |
struct | HostInfo |
class | Message |
class | PidFd |
class | PollCallback |
class | SandboxManager |
class | SignalFd |
Functions | |
absl::Status | LogToFiles (const std::vector< std::string > &paths) |
static absl::StatusOr< std::vector< std::string > > | ReadNullSepFile (const std::string &path) |
static absl::StatusOr< std::vector< pid_t > > | FindChildPids (pid_t pid) |
std::ostream & | operator<< (std::ostream &out, const HostInfo &host) |
std::unique_ptr< sandbox2::Policy > | PolicyForExecutable (const HostInfo &host, std::string_view server_socket_outside_path, std::string_view executable) |
sandbox2::PolicyBuilder | BaselinePolicy (const HostInfo &, std::string_view exe) |
sandbox2::PolicyBuilder | AdbConnectorPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | AssembleCvdPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | AvbToolPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | CasimirPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | CfVhostUserInput (const HostInfo &) |
sandbox2::PolicyBuilder | CasimirControlServerPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | ControlEnvProxyServerPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | CvdInternalStartPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | EchoServerPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | GnssGrpcProxyPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | KernelLogMonitorPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | LogTeePolicy (const HostInfo &) |
sandbox2::PolicyBuilder | LogcatReceiverPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | MetricsPolicy (const HostInfo &host) |
sandbox2::PolicyBuilder | MkEnvImgSlimPolicy (const HostInfo &host) |
sandbox2::PolicyBuilder | ModemSimulatorPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | NetsimdPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | NewFsMsDosPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | OpenWrtControlServerPolicy (const HostInfo &host) |
sandbox2::PolicyBuilder | OperatorProxyPolicy (const HostInfo &host) |
sandbox2::PolicyBuilder | ProcessRestarterPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | RunCvdPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | ScreenRecordingServerPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | SecureEnvPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | Simg2ImgPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | SocketVsockProxyPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | TcpConnectorPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | TombstoneReceiverPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | VhostDeviceVsockPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | WebRtcPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | WebRtcOperatorPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | WmediumdPolicy (const HostInfo &) |
sandbox2::PolicyBuilder | WmediumdGenConfigPolicy (const HostInfo &) |
std::set< std::string > | NoPolicy (const HostInfo &) |
absl::StatusOr< size_t > | SendStringMsg (int sock, std::string_view msg) |
std::string | RandomString (absl::BitGenRef gen, std::size_t size) |
Variables | |
static const constexpr std::string_view | kHandshakeBegin = "hello" |
static const constexpr std::string_view | kManagerSocketPath = "/manager.sock" |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::AdbConnectorPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::AssembleCvdPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::AvbToolPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::BaselinePolicy | ( | const HostInfo & | host, |
std::string_view | exe | ||
) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::CasimirControlServerPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::CasimirPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::CfVhostUserInput | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::ControlEnvProxyServerPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::CvdInternalStartPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::EchoServerPolicy | ( | const HostInfo & | host | ) |
|
static |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::GnssGrpcProxyPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::KernelLogMonitorPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::LogcatReceiverPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::LogTeePolicy | ( | const HostInfo & | host | ) |
absl::Status cuttlefish::process_sandboxer::LogToFiles | ( | const std::vector< std::string > & | paths | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::MetricsPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::MkEnvImgSlimPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::ModemSimulatorPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::NetsimdPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::NewFsMsDosPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::OpenWrtControlServerPolicy | ( | const HostInfo & | host | ) |
std::ostream & cuttlefish::process_sandboxer::operator<< | ( | std::ostream & | out, |
const HostInfo & | host | ||
) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::OperatorProxyPolicy | ( | const HostInfo & | host | ) |
std::unique_ptr< sandbox2::Policy > cuttlefish::process_sandboxer::PolicyForExecutable | ( | const HostInfo & | host, |
std::string_view | server_socket_outside_path, | ||
std::string_view | executable | ||
) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::ProcessRestarterPolicy | ( | const HostInfo & | host | ) |
std::string cuttlefish::process_sandboxer::RandomString | ( | absl::BitGenRef | gen, |
std::size_t | size | ||
) |
|
static |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::RunCvdPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::ScreenRecordingServerPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::SecureEnvPolicy | ( | const HostInfo & | host | ) |
absl::StatusOr< size_t > cuttlefish::process_sandboxer::SendStringMsg | ( | int | sock, |
std::string_view | msg | ||
) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::Simg2ImgPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::SocketVsockProxyPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::TcpConnectorPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::TombstoneReceiverPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::VhostDeviceVsockPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::WebRtcOperatorPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::WebRtcPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::WmediumdGenConfigPolicy | ( | const HostInfo & | host | ) |
sandbox2::PolicyBuilder cuttlefish::process_sandboxer::WmediumdPolicy | ( | const HostInfo & | host | ) |
|
staticconstexpr |
|
staticconstexpr |