Skip to content

soc: apple: sep: preserve J613 26.6.2 existing-state policy and expose selected policy - #975

Open
satchlj wants to merge 10 commits into
satchlj/port-234-20261104from
satchlj/port-345-20261104
Open

satchlj wants to merge 10 commits into
satchlj/port-234-20261104from
satchlj/port-345-20261104

Conversation

@satchlj

@satchlj satchlj commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Stacked on #962 (port of omacom/linux-aurora#234); review that first.

Keep the T8122 transport and biometric v4 ABI. Require the forwarded identity and xART guard for writable J613 26.6.2 attachment, fail closed on store/index errors, and expose passive selected-policy diagnostics. Retain Aurora’s os_identity selector and existing defaults for other machines.

Port of omacom/linux-aurora#345. Depends on the port of omacom/linux-aurora#234; use the stack base above to review this layer. The original PR remains untouched.

Validation: arm64 defconfig + asahi.config, Image/modules/DTBs with BTF and KUnit enabled, LLVM 18/Rust 1.85.0, passed at stack top #345 (2565987465a2), which includes this branch. The validated integration base is b500668. QEMU loaded the test-bearing modules successfully with no additional failures. The combined run retains four pre-existing SEP store failures (plus their suite aggregate), reproduced on the unmodified Aurora base. The unmodified pinned base also crashes in apple-av-audio-lifetime/av_lifetime_devres_order; that unrelated audio suite is explicitly excluded. All tests added by these ports run through KUnit debugfs on Cortex-A76. This is not a fully green or complete-tree KUnit run. Identity, reader/caller, selected-policy, sensor, enrol and orphan-recovery fixtures passed normally and with optimized Python. No 7.3 hardware boot or deployment has been performed.

Keep the existing T8122 transport and sensor profile. On the owner-qualified OS-firmware lane, refuse writable attachment without the boot-forwarded identity and guard, and fail closed on host-store/index read errors. Add opt-outs for trusted-key and FileVault API registration with existing defaults preserved. No new provisioning or firmware protocol is introduced.

Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
Signed-off-by: Satya Benson <satya@benson.earth>
@satchlj

satchlj commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

@DjDeveloperr @RyanTheTide ready for your regression testing. It hasn't been boot-tested on J613 with 7.3 yet; I'll post the result here when I have it.

@satchlj

satchlj commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

J613 boot result on 7.3 (rubra, M3 MacBook Air 13", macOS 26.6.2 / 25G83 firmware), 2026-11-05.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant