{"id":136777,"date":"2026-11-25T11:28:54","date_gmt":"2026-11-25T02:28:54","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=136777"},"modified":"2026-11-25T11:28:54","modified_gmt":"2026-11-25T02:28:54","slug":"xnulinux-macos-on-linux","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/xnulinux-macos-on-linux\/","title":{"rendered":"Linux\u30ab\u30fc\u30cd\u30eb\u306e\u4e2d\u3067macOS\u304c\u52d5\u304f \u2015 xnulinux\u3068\u306f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2026\/11\/macos-and-linux.webp\" alt=\"\" width=\"1280\" height=\"800\" class=\"aligncenter size-full wp-image-136778\" \/><\/p>\n<p>Linux\u4e0a\u3067macOS\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304c\u305d\u306e\u307e\u307e\u7acb\u3061\u4e0a\u304c\u308b\u3068\u3044\u3046\u9a5a\u7570\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300c<a href=\"https:\/\/github.com\/AFK-surf\/xnulinux\">xnulinux<\/a>\u300d\u304cGitHub\u3067\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002<a href=\"https:\/\/news.ycombinator.com\/item?id=50607261\">Hacker News<\/a>\u3067\u3082\u300cXNU Linux: Full OS X GUI Userspace on Linux\u300d\u3068\u3044\u3046\u30bf\u30a4\u30c8\u30eb\u3067\u8b70\u8ad6\u304c\u884c\u308f\u308c\u3001\u5927\u304d\u306a\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>xnulinux\u306e\u4ed5\u7d44\u307f\u306f\u3001macOS\u306e\u30ab\u30fc\u30cd\u30eb\u3067\u3042\u308bXNU\u3092Apple\u304c\u516c\u958b\u3057\u3066\u3044\u308b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3001\u305d\u308c\u3092Linux\u306e\u30ed\u30fc\u30c0\u30d6\u30eb\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb(xnu.ko)\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u4eee\u60f3\u30de\u30b7\u30f3\u3067macOS\u3092\u52d5\u304b\u3059\u306e\u3068\u306f\u9055\u3044\u3001\u9593\u306b\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u30fc\u306f\u631f\u307e\u308a\u307e\u305b\u3093\u3002macOS\u306e\u30d7\u30ed\u30bb\u30b9\u3068Linux\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u3001\u540c\u3058CPU\u306e\u4e0a\u3067\u96a3\u308a\u5408\u3063\u3066\u52d5\u304d\u307e\u3059\u3002<\/p>\n<p>\u666e\u901a\u306eUbuntu\u30ab\u30fc\u30cd\u30eb\u306b\u5bfe\u3057\u3066 <code>insmod xnu.ko<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3001Apple\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3067\u4f5c\u3063\u305fmacOS 27\u306e\u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30b9\u30af\u304c\u8d77\u52d5\u3057\u3001loginwindow\u3001WindowServer\u3001Dock\u3001Finder\u3068\u3044\u3063\u305f\u304a\u306a\u3058\u307f\u306e\u9762\u3005\u304c\u63c3\u3063\u305f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u307e\u3067\u305f\u3069\u308a\u7740\u304f\u3068\u306e\u3053\u3068\u3002Safari\u3084Chrome\u3082\u52d5\u304f\u305d\u3046\u3067\u3059\u3002<\/p>\n<h2>\u3075\u305f\u3064\u306e\u30ab\u30fc\u30cd\u30eb\u3092\u3064\u306a\u3050FKI<\/h2>\n<p>xnulinux\u306e\u4e2d\u5fc3\u306b\u3042\u308b\u306e\u306f\u3001\u3075\u305f\u3064\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<code>xnu.ko<\/code>\u306fXNU\u306e\u30ab\u30fc\u30cd\u30eb\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5b9f\u884c\u3057\u3001Linux\u306e\u6a5f\u80fd\u306b <code>fki_*<\/code> \u3068\u3044\u3046\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u901a\u3057\u3066\u63a5\u7d9a\u3057\u307e\u3059\u3002\u3082\u3046\u4e00\u65b9\u306e<code>fki.ko<\/code>\u306f\u300cForeign Kernel Interface\u300d\u306e\u7565\u3067\u3001CPU\u3001\u30e1\u30e2\u30ea\u3001\u30da\u30fc\u30b8\u30d5\u30a9\u30fc\u30eb\u30c8\u3001\u5272\u308a\u8fbc\u307f\u3001\u30d5\u30a1\u30a4\u30eb\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u3044\u3063\u305f\u8cc7\u6e90\u3092XNU\u306b\u63d0\u4f9b\u3059\u308b\u7a93\u53e3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\n macOS processes (launchd, WindowServer, Safari...)    Linux processes (systemd, sshd, xnudrmd...)\r\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500    \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n XNU (source-built, LINUX64 machine layer, kexts)  \u2502\r\n   \u2195 linux64 host calls (xnu-patches\/include\/linux64_abi.h)\r\n xnu.ko   (APSL side: loads and runs the kernel collection)\r\n   \u2195 FKI, the foreign kernel interface (fki_*)\r\n fki.ko   (GPL side: CPUs, memory, faults, IPIs, files, network, host calls)\r\n Linux kernel (stock distro kernel, 4K pages, PAC)\r\n<\/pre>\n<p>CPU\u306e\u6271\u3044\u306b\u3082\u5de5\u592b\u304c\u51dd\u3089\u3055\u308c\u3066\u3044\u307e\u3059\u3002macOS\u5074\u304b\u3089\u898b\u308bCPU\u306f\u3001\u5b9f\u969b\u306b\u306f\u7279\u5b9a\u306eLinux CPU\u306b\u56fa\u5b9a\u3055\u308c\u305fLinux\u306e\u30ab\u30fc\u30cd\u30eb\u30b9\u30ec\u30c3\u30c9\u3067\u3059\u3002XNU\u306f\u305d\u306e\u4e0a\u3067\u3001\u30a2\u30a4\u30c9\u30eb\u3084I\/O\u3001\u30bf\u30a4\u30de\u30fc\u306e\u305f\u3081\u306b\u30db\u30b9\u30c8\u3092\u547c\u3076\u307e\u3067\u81ea\u5206\u3067\u8d70\u308a\u7d9a\u3051\u307e\u3059\u3002\u30e1\u30e2\u30ea\u306fLinux\u306eCMA\u3067\u7269\u7406\u7684\u306b\u9023\u7d9a\u3057\u305f\u5927\u304d\u306a\u584a\u3092\u3072\u3068\u3064\u78ba\u4fdd\u3057\u3066XNU\u306b\u6e21\u3057\u3001\u3042\u3068\u306fXNU\u304c\u81ea\u524d\u306epmap\u3067\u7ba1\u7406\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30a3\u30b9\u30af\u3084\u753b\u9762\u3001\u5165\u529b\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u3001\u72ec\u81ea\u306ekext\u304cLinux\u5074\u306e\u8cc7\u6e90\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u30c7\u30a3\u30b9\u30af\u306fLinux\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3001\u753b\u9762\u306fLinux\u304c\u8aad\u3080\u30d5\u30ec\u30fc\u30e0\u30d0\u30c3\u30d5\u30a1\u3001Ethernet\u306fLinux\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u63a5\u7d9a\u3055\u308c\u3001GPU\u306b\u3064\u3044\u3066\u306f\u3001macOS\u5185\u306eMetal\u3092metal2vulkan\u3067Vulkan\u306b\u5909\u63db\u3057\u3001Mesa\u306eVenus\u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u3063\u305fDRM\u30d6\u30ea\u30c3\u30b8\u7d4c\u7531\u3067\u30db\u30b9\u30c8\u306eGPU\u306b\u5c4a\u3051\u307e\u3059\u3002GPU\u304c\u306a\u3051\u308c\u3070CPU\u3067\u63cf\u753b\u3059\u308blavapipe\u306b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<h2>\u52d5\u304b\u3059\u306b\u306f\uff1a\u7d50\u5c40Apple Silicon\u306eMac\u304c\u5fc5\u8981<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2026\/11\/desktop.webp\" alt=\"\" width=\"1280\" height=\"800\" class=\"aligncenter size-full wp-image-136779\" \/><\/p>\n<p>Linux\u3067macOS\u304c\u52d5\u304f\u3068\u805e\u304f\u3068\u3001\u81ea\u4f5cPC\u3067macOS\u304c\u4f7f\u3048\u308b\u306e\u3067\u306f\u3068\u671f\u5f85\u3057\u305f\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u73fe\u72b6\u306f\u305d\u3046\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5bfe\u8c61\u306fPAC\u5bfe\u5fdc\u30674K\u30da\u30fc\u30b8\u306earm64 Linux\u3060\u3051\u3067\u3001README\u304c\u60f3\u5b9a\u3057\u3066\u3044\u308b\u30db\u30b9\u30c8\u306f<strong>M1\u4ee5\u964d\u306eApple Silicon Mac\u4e0a\u3067\u52d5\u304farm64 Linux\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3067\u3059<\/strong>\u3002\u3064\u307e\u308a\u300cMac\u306e\u4e0a\u306eLinux VM\u306e\u4e2d\u3067macOS\u3092\u52d5\u304b\u3059\u300d\u3068\u3044\u3046\u69cb\u6210\u3067\u3059\u3002\u30e1\u30e2\u30ea\u306f24GB\u307b\u3069\u5fc5\u8981\u3067\u3001\u305d\u306e\u3046\u30618GB\u3092macOS\u5074\u306e\u30ab\u30fc\u30cd\u30eb\u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306fApple\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u4e00\u5207\u542b\u307e\u308c\u3066\u304a\u3089\u305a\u3001Xcode\u306e\u5165\u3063\u305fMac\u3068\u3001\u81ea\u5206\u3067\u7528\u610f\u3057\u305fmacOS 27\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(Apple Virtualization\u306eVM\u30c7\u30a3\u30b9\u30af)\u304c\u5fc5\u8981\u3067\u3059\u3002\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u7269\u3082\u306a\u3044\u306e\u3067\u3001\u4ed8\u5c5e\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066XNU\u306e\u30d3\u30eb\u30c9\u3001\u30c7\u30a3\u30b9\u30af\u306e\u5909\u63db\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30d3\u30eb\u30c9\u3068\u8d77\u52d5\u3092\u9806\u306b\u9032\u3081\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5b8c\u6210\u5ea6\u306f\u60f3\u50cf\u4ee5\u4e0a\u306b\u9ad8\u304f\u3001macOS 27.2.1\u304c31\uff5e48\u79d2\u3067\u81ea\u52d5\u30ed\u30b0\u30a4\u30f3\u5f8c\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u5230\u9054\u3057\u3001\u540c\u3058Mac\u3067Apple Virtualization\u3092\u4f7f\u3063\u305f\u5834\u5408\u306e49\u79d2\u3088\u308a\u901f\u3044\u305d\u3046\u3067\u3059\u3002\u30a2\u30d7\u30ea\u306e\u8d77\u52d5\u3084\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u309240\u30e9\u30a6\u30f3\u30c9\u7e70\u308a\u8fd4\u3059\u300130\u5206\u9593\u306e\u30b9\u30c8\u30ec\u30b9\u30c6\u30b9\u30c8\u3082\u30d1\u30cb\u30c3\u30af\u306a\u3057\u3067\u30d1\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u300c\u3068\u308a\u3042\u3048\u305a\u52d5\u304b\u3059\u305f\u3081\u306e\u56de\u907f\u7b56\u300d\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3082\u4e8b\u5b9f\u3067\u3001OS\u306ecryptex\u3092\u30b7\u30b9\u30c6\u30e0\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u7d71\u5408\u3057\u3001AMFI\u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u3001SIP\u3082\u7de9\u3081\u3066\u3044\u307e\u3059\u3002\u30da\u30fc\u30b8\u30b5\u30a4\u30ba\u304c\u672c\u6765\u306e16K\u3067\u306f\u306a\u304f4K\u306a\u306e\u3067\u3001\u30e1\u30e2\u30ea\u30a2\u30af\u30bb\u30b9\u306f\u901a\u5e38\u306eVM\u3088\u308a\u9045\u304f\u306a\u308a\u307e\u3059\u3002GPU\u30d6\u30ea\u30c3\u30b8\u3082\u3001\u6709\u52b9\u306b\u3059\u308b\u3068VM\u5168\u4f53\u304c\u305f\u307e\u306b\u30cf\u30f3\u30b0\u3059\u308b\u554f\u984c\u3092\u8abf\u67fb\u4e2d\u3068\u306e\u3053\u3068\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>xnulinux\u306f\u3001\u4eca\u3059\u3050\u666e\u6bb5\u4f7f\u3044\u306e\u74b0\u5883\u3092\u7f6e\u304d\u63db\u3048\u308b\u3088\u3046\u306a\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Apple Silicon\u306eMac\u3068\u81ea\u524d\u306emacOS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u524d\u63d0\u3067\u3001AMFI\u3084SIP\u306b\u624b\u3092\u5165\u308c\u308b\u56de\u907f\u7b56\u3082\u5fc5\u8981\u3067\u3059\u3002\u5b9f\u7528\u6027\u3060\u3051\u3067\u8a00\u3048\u3070\u3001\u7d20\u76f4\u306bApple Virtualization\u3067macOS\u306eVM\u3092\u4f5c\u308b\u307b\u3046\u624b\u8efd\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u3082\u3001\u5225OS\u306e\u30ab\u30fc\u30cd\u30eb\u3092Linux\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u307e\u3068\u3081\u3001\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u30fc\u306a\u3057\u3067Finder\u3084Safari\u307e\u3067\u52d5\u304b\u3057\u3066\u3057\u307e\u3063\u305f\u6280\u8853\u306f\u5927\u304d\u306a\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u5883\u754c\u3092\u305d\u306e\u307e\u307e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5883\u754c\u306b\u3057\u305f\u8a2d\u8a08\u3084\u3001\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30df\u30c3\u30c8\u305b\u305a\u30d3\u30eb\u30c9\u6642\u306b\u53d6\u5f97\u30fb\u30d1\u30c3\u30c1\u3059\u308b\u904b\u7528\u306a\u3069\u3001\u7d30\u90e8\u306e\u8a2d\u8a08\u3082\u5de5\u592b\u3055\u308c\u3066\u3044\u307e\u3059\u3002OS\u306e\u4ed5\u7d44\u307f\u304c\u597d\u304d\u306a\u4eba\u306a\u3089\u3001README\u3068docs\u3092\u773a\u3081\u308b\u3060\u3051\u3067\u3082\u304b\u306a\u308a\u697d\u3057\u3081\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u4e0a\u3067macOS\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304c\u305d\u306e\u307e\u307e\u7acb\u3061\u4e0a\u304c\u308b\u3068\u3044\u3046\u9a5a\u7570\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300cxnulinux\u300d\u304cGitHub\u3067\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002Hacker News\u3067\u3082\u300cXNU Linux: Full OS X GUI User [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":136778,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[37,3480],"class_list":["post-136777","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-linux","tag-macos"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/136777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=136777"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/136777\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/136778"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=136777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=136777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=136777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}