AFK-surf/xnulinux

XNU as a loadable kernel module inside Linux (macOS personality for arm64 Linux)

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Run macOS userspace on Linux by loading the macOS kernel into it. xnulinux builds XNU, the open-source kernel of macOS, from Apple's published sources and runs it as a loadable kernel module (xnu.ko) inside an unmodified arm64 Linux kernel. The hosted XNU drives the CPU and MMU directly, so macOS processes run natively next to Linux processes on the same CPUs, with no hypervisor between them. Linux lends XNU its memory, timers, files, network and GPU through a small interface module (fki.ko). With a stock Ubuntu kernel, insmod xnu.ko boots a macOS 27 system disk made by Apple's own installer to the desktop: loginwindow, WindowServer, Dock, Finder, Safari and Chrome. One system, two userspaces. Left: a Terminal in the hosted macOS 27.2.1 (swvers, the Darwin kernel, launchd, WindowServer, Dock and Finder running). Right: from that macOS, an SSH session into the Linux it runs inside (Ubuntu, Linux 7.0, the xnu…

AFK-surf/xnulinux on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-23T12:32:33.902Z

Inside the original README — Document outline
  1. xnulinux
  2. How it works
  3. Status
  4. Requirements
  5. Building and running
  6. Repository layout and licenses
  7. Acknowledgements

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Other. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

XNU as a loadable kernel module inside Linux (macOS personality for arm64 Linux)

Repository facts

Owner
AFK-surf
Primary language
Objective-C++
Stars
927
Forks
30
Open issues + pull requests
1
License
Other
Archived
No
Default branch
main
Created
2026-11-20T10:18:31.000Z
Last push
2026-11-23T11:25:48.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-23T12:30:33.932Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories