Repository navigation
fix: signal only proven cgroup members and isolate GTK accessibility bus discovery - #283
Merged
Merged
Conversation
4 tasks done
2 tasks
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.
Fixes two containment and isolation bugs.
#258: cgroup cleanup no longer writes
cgroup.kill, which reached any process that joined the scope between the membership proof and the kill. Cleanup now freezes the cgroup where the kernel supports it, proves each member's identity (token, or an in-scope token-bearing parent, pinned by start time), and sends SIGKILL only to those proven identities. A process that joins after the proof is not signalled. If it is still a member afterwards, the scope does not empty and the result is unconfirmed instead ofconfirmed: true. Own-chain evacuation, prune-window handling and the marker sweep are unchanged. On a host withoutcgroup.freeze, the same PID guards apply without the freeze.#269: a real zenity in a desktop session reached an inherited AT-SPI endpoint. The session environment now sets
NO_AT_BRIDGE=1andGTK_A11Y=none, unsets an inheritedAT_SPI_BUS_ADDRESS, and points it at a session-local path when a managed runtime exists.cgroup.killreached; cleanup signals proven identities insteadpackages/core/src/containment.tscontainment-cgroup-sim.test.ts"does not kill a foreign member joining after proof" with freeze supported and unsupported; real cgroups: "preserves a foreign supervisor migrated into a frozen scope after proof"session create,desktop env,desktop launch zenityon :101NO_AT_BRIDGE=1,GTK_A11Y=none, session-localXDG_RUNTIME_DIR, D-Bus and AT-SPI paths; no socket to/run/user/1000; window renders~/Artifacts/pickforge-batch-2026-10-07/qa-269/(local)session destroyafter the zenity launch (cgroup containment)bun run lint,bun run typecheck,bun run build;GSK_RENDERER=cairo bun run test:coverageon bb0b395: 2917 passed, 6 skipped at 97a979b, thresholds held (87.92 / 82.85 / 88.36 / 88.88); final head rerun after update with main; PickCheck no new or worsened violationsCloses #258
Closes #269