xnulinux open-sourced: run macOS userspace on Linux by loading XNU as a kernel module
jedisct1 · x · 2026-11-23
Developer heyangzhou open-sourced xnulinux, which builds Apple's XNU kernel from published sources and runs it as a loadable kernel module (xnu.ko) inside an unmodified arm64 Linux kernel.
- Hosted XNU drives the CPU and MMU directly, so macOS processes run natively alongside Linux processes with no hypervisor
- A small interface module (fki.ko) lets Linux lend memory, timers, files, networking and GPU to XNU
- On a stock Ubuntu kernel, insmod xnu.ko boots a macOS 27 disk made by Apple's own installer to the desktop, including loginwindow and WindowServer
The repo has 800 stars and ships GPU support, kexts, patches and tests.
More from Fun
- Glitch-art cliffs: AI segmentation renders become striking visual art — ciguleva · 2026-11-23
- Theo says a Chinese knockoff of T3 Code is circulating: 'definitely NOT our app' — yihui_indie · 2026-11-23
- One-shot prompt, no browser: quantized Inkling 2 Mini generates decent three.js galloping horse — mozkohor · 2026-11-23
- Meme pokes ByteDance: where's the rumored 10T-parameter model? — Snoo26837 · 2026-11-23
- Bringing 3-year-old AI images to life with motion, sound and dialogue — gen_ericai · 2026-11-23
- 'I have 3 AIs and still can't pick Christmas gifts' — 0xsachi · 2026-11-23