Expand description
microsandbox-agentd is the PID 1 init process and agent daemon
that runs inside the microVM guest.
This crate is Linux-only.
Modules§
- agent
- Main agent loop: serial I/O, session management, heartbeat.
- clock
- Guest clock utilities for boot timing measurement.
- fs
- Guest-side filesystem operation handlers.
- handoff
- PID 1 handoff to a guest init.
- heartbeat
- Periodic heartbeat writer for the guest agent.
- init
- PID 1 init: mount filesystems, apply tmpfs mounts, prepare runtime directories.
- network
- Guest-side network configuration from
MSB_NET*environment variables. - serial
- Virtio serial port discovery.
- session
- Exec session management: spawning processes with PTY or pipe I/O.
- tcp
- Guest-side TCP stream session handling.
- tls
- Guest-side CA certificate installation for TLS interception.
Structs§
- Agentd
Config - Runtime configuration surviving past init; referenced by the agent loop.
- Boot
Params - One-shot MSB_* env vars consumed by
init::initand dropped afterward. - Handoff
Init - Parsed handoff-init specification.
Enums§
- Agentd
Error - Errors that can occur during agent daemon operations.
- Security
Profile - In-guest security profile.
Type Aliases§
- Agentd
Result - The result type for agentd operations.