#include <pulp/inspect/control_host_bootstrap.hpp>#include <pulp/platform/child_process.hpp>#include <chrono>#include <cstdint>#include <functional>#include <optional>#include <string>Go to the source code of this file.
Classes | |
| struct | pulp::inspect::ControlHostPreflightDiagnostics |
Namespaces | |
| namespace | pulp |
| namespace | pulp::inspect |
Typedefs | |
| using | pulp::inspect::ControlHostBootstrapProvider |
| Mints one bootstrap only after the inherited channel has proven the exact live child. | |
Enumerations | |
| enum class | pulp::inspect::ControlHostPreflightStatus : std::uint8_t { pulp::inspect::Accepted , pulp::inspect::Unsupported , pulp::inspect::InvalidChannel , pulp::inspect::EntropyUnavailable , pulp::inspect::Timeout , pulp::inspect::MalformedMessage , pulp::inspect::DirectionMismatch , pulp::inspect::NonceMismatch , pulp::inspect::PeerUnavailable , pulp::inspect::ProcessMismatch , pulp::inspect::AuthorityRejected , pulp::inspect::SendFailed , pulp::inspect::BootstrapInvalid } |
| Private transport preflight for an already-spawned host. More... | |
Functions | |
| std::optional< VerifiedControlPeerIdentity > | pulp::inspect::preflight_control_host (platform::ChildProcessInputChannel channel, std::int64_t expected_process_id, ControlPeerRole role, const ControlPeerVerifier &verifier, const ControlHostBootstrapProvider &provide_bootstrap, std::chrono::milliseconds timeout=std::chrono::seconds(3), ControlHostPreflightDiagnostics *diagnostics=nullptr) |
| std::optional< VerifiedControlPeerIdentity > | pulp::inspect::preflight_control_host (platform::ChildProcessInputChannel channel, std::int64_t expected_process_id, ControlPeerRole role, const ControlPeerVerifier &verifier, ControlHostBootstrapBytes bootstrap, std::chrono::milliseconds timeout=std::chrono::seconds(3), ControlHostPreflightDiagnostics *diagnostics=nullptr) |
| Challenge the process on a private inherited channel, verify the kernel- observed peer after its response, then release an already-minted bootstrap. | |
| std::optional< ControlHostBootstrapRecord > | pulp::inspect::receive_control_host_preflight (ControlHostBootstrapHandle handle, std::chrono::milliseconds timeout=std::chrono::seconds(3), std::optional< std::chrono::system_clock::time_point > now=std::nullopt, ControlHostPreflightDiagnostics *diagnostics=nullptr) |
| Complete the child side of one inherited preflight and decode its bootstrap. | |