Repository navigation
aurora-sep: run the loader in its own SELinux domain - #129
Merged
Merged
Conversation
At an automatic login the GDM session worker lists /proc/keys as root. If that happens while aurora-sep-load is still checking that the enclave seals and unseals a trusted key, the kernel asks SELinux whether xdm_t may view the probe keys. They are labelled unconfined_service_t, so the answer is no and an AVC is logged on every boot. The M2 shows it because GDM starts at 5.8 s there and the probe runs until about 9.8 s. On Macs where the greeter fingerprint unit orders GDM after the loader the window is missed. Give the loader its own domain, aurora_sep_load_t. It stays unconfined, with the same attributes it had as unconfined_service_t plus daemon. Its keys then carry that label, and the module stops logging the view check other domains make on them. Nothing gains access to the keys: the listing still leaves them out, which is what we want. Label an installed loader on upgrade. Tested on the M2 (fleet14o, enforcing) with GDM starting inside the probe window on 2 boots: 0 AVCs, aurora-sep ready, Touch ID restored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RyanTheTide
marked this pull request as ready for review
November 2, 2026 14:23
RyanTheTide
added a commit
that referenced
this pull request
Nov 9, 2026
…134, #133) RC8.2 = RC8.1 + speakerguardd#134: a switch in the running boot grants at once (aurora-speaker-upgrade's umask 077 leaked into v2's provisioning, so /run/speakerguardd-graph was unreadable to the seat user and the speakers stayed silent until a reboot; found by the RC8 E2E on the M1 Pro and M2), #133 (the MacBook Neo's speaker PCM wakes on period interrupts), and voicing parity #129/#135. aurora-speaker-upgrade rides on the same commit. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
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.
aurora-sep 1-18. This fixes the boot AVC that fails the SELinux gate on the M2:
Cause
read()of that file.Change
daemon, and init_t transitions into it. The loader keeps the access it had.dontaudit domain aurora_sep_load_t:key view;Testing
🤖 Generated with Claude Code