Expand description
Reusable sandbox runtime behavior.
Structs§
- Agent
Policy - Host agent socket mount policy.
- Exec
Request - Structured child execution request independent from CLI parsing.
- Executor
- Executes sandbox requests.
- Filesystem
Policy - Filesystem sandbox policy expressed as cwd-relative gitignore-style pattern lists.
Enums§
- EnvPolicy
- Child environment filtering policy.
- Error
- Errors returned by sandbox runtime operations.
- Network
Mode - Child network isolation policy.
- Proc
Mode - Child proc filesystem mount policy.
- Stdio
Policy - Child stdio handling policy.
Constants§
- SANDBOX_
MISCONFIGURATION_ EXIT_ CODE - Exit code used when the sandbox cannot be configured safely.
Functions§
- restrict_
fs_ read_ universe - Apply the Landlock read-rejection universe planned by the Linux sandbox. Apply a Landlock ruleset granting the handled reads beneath each root.
- validate_
cwd - Validate a child working directory.
- validate_
filesystem_ policy - Validate filesystem pattern syntax and absolute virtual file targets.
Type Aliases§
- Result
- Result type for sandbox runtime operations.