feat(sandbox): enforce current-process policies on Linux - #46
Merged
Merged
Conversation
tumberger
force-pushed
the
feat/linux-current-process
branch
9 times, most recently
from
August 31, 2026 18:45
d95449a to
e86de0e
Compare
tumberger
force-pushed
the
feat/linux-current-process
branch
4 times, most recently
from
September 1, 2026 05:54
8b6d2cf to
088f170
Compare
tumberger
marked this pull request as ready for review
September 1, 2026 08:54
Greptile SummaryThe PR exposes the native Linux sandbox backend through the platform-neutral
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
Caller[Facade caller] --> Resolve[Resolve and validate policy]
Resolve --> Plan[Linux plan]
Plan --> Prepare[Prepare namespaces and filesystem view]
Prepare --> Apply[Irreversible native enforcement]
Apply --> Restricted[Restricted current process]
Core[sandy-core package] --> Linux[sandy-linux package]
Core --> Facade[sandy-sandbox package]
Linux --> Facade
Reviews (4): Last reviewed commit: "docs(seatbelt): describe both enforcemen..." | Re-trigger Greptile |
tumberger
force-pushed
the
feat/linux-current-process
branch
from
September 1, 2026 09:14
088f170 to
2e9d75c
Compare
Contributor
Author
tumberger
force-pushed
the
feat/linux-current-process
branch
from
September 1, 2026 10:23
2e9d75c to
7354ea0
Compare
Contributor
Author
tumberger
force-pushed
the
feat/linux-current-process
branch
2 times, most recently
from
September 1, 2026 13:21
9f88089 to
7c8d695
Compare
Contributor
Author
tumberger
force-pushed
the
feat/linux-current-process
branch
from
September 1, 2026 14:13
7c8d695 to
557f601
Compare
tumberger
force-pushed
the
feat/linux-current-process
branch
from
September 1, 2026 14:58
557f601 to
8aa559c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #45.
Summary
sandy::apply()to the native Linux preparation and enforcement transaction.Contract
apply()must be called while the Linux process is single-threaded; a live test proves multithreaded callers are rejected before enforcement.EnforcementFailed; exhaustive internal matches force future phases to be classified deliberately.allow_subprocessescontrols ordinary descendant creation; it does not promise portable host-process inspection.ErrorKind::Unsupported; no request is approximated or weakened.Verification
cargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test --workspace --lockedmake package-checkThe CLI remains macOS-only in this branch. The final stack branch adds its Linux runtime policy, bootstrap dispatch, and distribution.