Expand description
This machine: base’s four execution contracts answered with the local
process table, filesystem, network and OS sandbox, plus the daemon’s crash
hook and the identity a discovery file records for a running process.
base defines the contracts and never names this crate; whatever runs
tools on a real machine depends on both.
Re-exports§
pub use env::apply_subprocess_env;pub use filesystem::LocalFileSystem;pub use network::configure_system_proxy;pub use network::install_tls_provider;pub use network::proxy_variables_set;pub use network::use_system_proxy_now;pub use network::LocalNetwork;pub use process::GroupLedger;pub use process::LocalProcess;pub use sandbox::PlatformSandbox;
Modules§
- crash
- What a panicking daemon leaves behind: a crash record, and none of its commands.
- env
sandbox.envapplied to a command started on this machine.- filesystem
LocalFileSystem— this machine’s disk.- lineage
- Whether a process is one this process started.
- network
LocalNetwork— outbound requests from this process.- orphans
- The process groups this process has started and would leave running if it died without stopping them.
- process
LocalProcess— a child process on this machine.- process_
identity - Pid-reuse-safe process liveness.
- sandbox
- The platform sandbox backends, macOS
sandbox-execand Linuxbubblewrap: each confines a command for aSandboxPolicyand reports what it delivered asEnforcement. The policy follows the call’sExecProfile(tools::bash::sandbox): Session is the session’s; Unattended addsdeny_ipc_escapes; Strict (SandboxPolicy::strict) cuts the network, writes onlyTMPDIR, reads only its roots (ReadScope::Only), envMinimal.
Functions§
- local_
providers - local_
providers_ with - Child processes start from
env. - local_
providers_ with_ ledger local_providers_with, with every process group a command starts recorded inledger.