Record the launcher identity prototype

This commit is contained in:
Kurt Himebauch committed 2026-12-03 11:31:46 -05:00
1 parent 515377f283
commit 8a9d45be39
1 file changed
+5 -1
+5 -1
View File
@@ -1,6 +1,6 @@
# Adreno 740 frame loss when acquire fences are unavailable
**Investigation, not a fix.** Evidence through December 3, 2026, 16:23 UTC. The safety fallback stays in place. We have not accepted a producer fence on the Thor or verified an FPS benefit.
**Investigation, not a fix.** Evidence through December 3, 2026, 16:31 UTC. The safety fallback stays in place. We have not accepted a producer fence on the Thor or verified an FPS benefit.
## Reproduction and controls
@@ -44,6 +44,10 @@ Two **ON** attempts failed closed before the host could bind the peer to the act
**16:23 UTC, read-only identity follow-up.** The compositor's direct socket peer credentials (`SO_PEERCRED`) identified one actual Gamescope client. The first read missed the live sample because the timestamp parser did not handle a padded epoch field; the correction passed an offline check. A later read, from an app-run native helper under the same UID, showed that the live peer's `/proc/<peer>/exe` was the packaged guest loader, `libddexec.so`. Its executable inode did not match the SHA-verified staged Gamescope binary. The sampled process reported no tracer and did not have the obvious session root as its parent. The probe tool did not capture mappings or process start time; that is a tooling gap, not evidence that access was denied. The device was restored to official idle with the gate clear. No FPS outcome changed.
**16:31 UTC, launcher identity prototype.** Source tracing shows that the broker receives the dedicated worker PID before it releases the worker to run, and that the PID survives the loader's exec. That alone is not attestation: general guest-supplied broker arguments cannot identify an approved Gamescope launch. The experimental host grant binds the same-process broker and compositor to a launch epoch, PID and process start time. It checks the exact staged executable checksum and approved launch arguments (rejecting `--version`), then requires a live pidfd and the exact executable mapping's inode and path. The grant expires after ten minutes and can be revoked. This is a narrow test gate, not a claim about security between arbitrary processes with the same UID.
The Android ARM64 gate compiled with the experiment enabled and disabled. The actual Kotlin/Java launch helper compiled against the Android SDK and a stub; targeted argument checks and native identity tests under sanitizers passed. Exact peer mapping and pidfd compatibility on the Thor remain unproven. The next step is the authorized artifact-only full host build. There is no new hardware, fence-acceptance, or FPS result.
## Hypotheses and next test
1. The adjacent-build drop is consistent with the missing-fence guard routing a previously fast path to copy. Explicitly disabling native zero-copy reproduces the same rate, but does not establish why the copy wait is about 46 ms.