Module sandbox

Source
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 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
uninitialized
Functionality for creating uninitialized sandboxes, manipulating them, and converting them to initialized sandboxes.

Enums§

SandboxRunOptions
Re-export for SandboxRunOptions type Configuration options for setting up a new UninitializedSandbox and subsequent initialized sandboxes, including MultiUseSandbox.

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§

ExtraAllowedSyscall
Alias for the type of extra allowed syscalls.