mirror of
https://github.com/PenumbraOS/pinitd.git
synced 2026-04-11 12:30:38 -05:00
* Fix exploit reliability: PID write delay, trampoline rewrite Re-enable 1s PID write delay in zygote.rs (was commented out at 500ms). Trampoline (launchCommand.kt): - Move recordAttempt() after pinitd-already-running check - Remove lock check after exploit (fcntl locks drop on double-fork) - Wait for system restart instead; retry if still alive - Remove logZygotePids() (SELinux denies ps -A from untrusted_app) wrapper.rs: improve Zygote32 bitness rejection error message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Clean up exploit retry code --------- Co-authored-by: Anders Madsen <madsenanders97@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>