fix(sandbox): unrestrict signal, process-info and add mach-register#114
Merged
yishuiliunian merged 1 commit intomainfrom Apr 16, 2026
Merged
fix(sandbox): unrestrict signal, process-info and add mach-register#114yishuiliunian merged 1 commit intomainfrom
yishuiliunian merged 1 commit intomainfrom
Conversation
…n Seatbelt profile signal and process-info were limited to (target same-sandbox), which blocked killall / process enumeration for processes outside the sandbox. mach-register was denied by default, breaking bootstrap_check_in for GUI apps like Chrome. These restrictions provided no real security since process-exec and process-fork are already unrestricted — a child process can trivially bypass them by spawning a helper outside the sandbox.
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.
Summary
signalandprocess-info*in Seatbelt profile (were limited tosame-sandbox, blockingkillalland process enumeration for external processes)(allow mach-register)to fixbootstrap_check_inPermission Denied for GUI apps (Chrome, browsers)process-exec/process-forkare already unrestrictedChanges
crates/loopal-sandbox/src/platform/seatbelt_base.sbpl— relaxed 3 Seatbelt rulescrates/loopal-sandbox/tests/suite/platform_macos_test.rs— updated assertionsTest plan
bazel test //crates/loopal-sandbox:loopal-sandbox_testpasses