Expand description
The main sandbox implementations. Do not use this module directly in code outside this file. Types from this module needed for public consumption are re-exported below.
Re-exports§
pub use config::SandboxConfiguration;pub use initialized_multi_use::MultiUseSandbox;pub use initialized_single_use::SingleUseSandbox;pub use uninitialized::GuestBinary;pub use uninitialized::UninitializedSandbox;
Modules§
- config
- Configuration needed to establish a sandbox.
- initialized_
multi_ use - Functionality for dealing with initialized sandboxes that can call 0 or more guest functions
- initialized_
single_ use - Functionality for dealing with initialized sandboxes that can call 0 or 1 guest functions, but no more
- uninitialized
- Functionality for creating uninitialized sandboxes, manipulating them, and converting them to initialized sandboxes.
Enums§
- Sandbox
RunOptions - Re-export for
SandboxRunOptionstype Configuration options for setting up a newUninitializedSandboxand subsequent inititialized sandboxes, includingMultiUseSandboxandSingleUseSandbox.
Functions§
- is_
hypervisor_ present - Determine whether a suitable hypervisor is available to run this sandbox.
- is_
supported_ platform - Determine if this is a supported platform for Hyperlight
Type Aliases§
- Extra
Allowed Syscall - Alias for the type of extra allowed syscalls.