mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
[pitboss] phase 30: Cross-cutting — Determinism audit, VerifyTrace observability, policy.rs deny rules
This commit is contained in:
parent
b56c19ef64
commit
36c8bf52df
13 changed files with 1421 additions and 0 deletions
|
|
@ -232,6 +232,14 @@ pub struct SandboxOptions {
|
|||
/// process backend. See [`ProcessHardeningProfile`] for the per-
|
||||
/// variant primitive matrix.
|
||||
pub process_hardening: ProcessHardeningProfile,
|
||||
/// Phase 30 (Track C observability): optional [`VerifyTrace`] handle
|
||||
/// the runner appends pipeline stages to (`build_started`,
|
||||
/// `build_done`, `sandbox_started`, `oracle_wait`, `oracle_observed`).
|
||||
/// `None` keeps the runner silent — sandbox-level callers that do
|
||||
/// not want a trace pay zero cost. Held as `Arc` so the verifier
|
||||
/// can clone the same trace across attempt loops in
|
||||
/// [`crate::dynamic::runner::run_spec`] without copying events.
|
||||
pub trace: Option<Arc<crate::dynamic::trace::VerifyTrace>>,
|
||||
}
|
||||
|
||||
/// Phase 17 (Track E.1): selects which subset of the Linux process-
|
||||
|
|
@ -284,6 +292,7 @@ impl Default for SandboxOptions {
|
|||
stub_harness: None,
|
||||
seccomp_caps: 0,
|
||||
process_hardening: ProcessHardeningProfile::Standard,
|
||||
trace: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue