Skip to main content

microsandbox_agentd/
lib.rs

1//! `microsandbox-agentd` is the PID 1 init process and agent daemon
2//! that runs inside the microVM guest.
3//!
4//! This crate is Linux-only.
5
6#![cfg(target_os = "linux")]
7#![warn(missing_docs)]
8
9mod config;
10mod error;
11mod mount_checkpoint;
12mod rlimit;
13mod root_disk;
14mod workload;
15
16//--------------------------------------------------------------------------------------------------
17// Exports
18//--------------------------------------------------------------------------------------------------
19
20pub mod agent;
21pub mod clock;
22pub mod fs;
23pub mod handoff;
24pub mod heartbeat;
25pub mod init;
26pub mod network;
27pub mod process;
28pub mod serial;
29pub mod session;
30pub mod tcp;
31pub mod teardown;
32pub mod tls;
33
34pub use config::{AgentdConfig, BootParams, HandoffInit, SecurityProfile};
35pub use error::*;