Expand description
sandbox-core: shared types, errors, and capability detection for sandbox-rs
This crate provides the foundational types used by all sandbox-rs sub-crates:
- Error types and Result alias
- Utility functions (memory parsing, UID/GID queries)
- Runtime capability detection (user namespaces, seccomp, landlock, cgroups)
- Privilege mode configuration
Re-exports§
pub use error::Result;pub use error::SandboxError;pub use privilege::PrivilegeMode;
Modules§
- capabilities
- Runtime detection of available system capabilities
- error
- Error types for sandbox operations
- privilege
- Privilege mode configuration for sandbox execution
- util
- Utility functions for sandbox operations