blvm-node 0.1.91

Bitcoin Commons BLVM: Minimal Bitcoin node implementation using blvm-protocol and blvm-consensus
1
2
3
4
5
6
7
8
9
10
11
12
//! Process sandboxing and resource limits for modules
//!
//! On Linux, module spawn enacts a Landlock domain (`landlock`) before exec.
//! Resource limits are applied with `prlimit` after the child starts.

pub mod filesystem;
#[cfg(target_os = "linux")]
pub mod landlock;
pub mod process;

pub use filesystem::FileSystemSandbox;
pub use process::{ProcessSandbox, ResourceLimits, SandboxConfig};