Module sandbox

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
snapshot
Representation of a snapshot of a Sandbox.
uninitialized
Functionality for creating uninitialized sandboxes, manipulating them, and converting them to initialized sandboxes.

Traits§

Callable
Trait used by the macros to paper over the differences between hyperlight and hyperlight-wasm Trait used by the macros to paper over the differences between hyperlight and hyperlight-wasm

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.