Apple rearranged its XNU kernel with exclaves
theregister.com
theregister.com
How does Apple choose what to isolate, and how do they make the isolated parts functional with the rest of the system and for developers? And what changed to make it possible now?
> It looks like iPadOS running on M4 has a “Secure Exclave” running an “ExclaveOS”.. Where’s the updated Apple platform security PDF? ... There's a Wordle-like game hidden in ExclaveOS. "Securdle"
I'm not sure what Google actually use pKVMs for, though - certainly stuff that Apple handle through Exclaves like the camera icon is still just in "privileged" userland in Android (the camera icon, specifically, is PrivacyDotViewController in SystemUI).
From what I've read, I interpret it as pKVMs being intended to work like ARM's TrustZone, except without the dependency for paying bank to ARM and early-boot initialisation shenanigans. The way AVF exposes large parts of the Android API will allow future Android versions to be rewritten into many small modules all running in a QubesOS-like hypervisor setup without rewriting them from the ground up. I don't think that's implemented at the moment, though, or if this is only intended for a few specific Android components.
Android 16 and last week's Pixel Android 15 update (behind developer options) includes pKVM Debian Linux Terminal "app", https://www.zdnet.com/article/your-android-phone-will-run-de...
Pixel 8+ can drive external displays via USB-c DisplayPort, so it should eventually be possible to use pKVM + Pixel 8+ with a keyboard-video-mouse dock as a desktop.
I think the desktop docking system will probably be something like a ChromeOS VM rather than normal Linux. Using dev mode so that Termux is no longer needed for running Linux tools would be nice, though.
I'm certain that if you go beyond the core kernel and add in device drivers, UI layers, and user space bundled apps, macOS+iOS are far more complicated than Chrome. After all, Safari is bundled with the OS and that itself is comparable in complexity.
But if you were to strip Apple's operating systems down to the core XNU kernel, then I think Chrome is likely more complex. There are plenty of usable kernels out there, but very few usable browser engines that can handle the modern web.