{"id":286039,"date":"2026-07-05T13:46:00","date_gmt":"2026-07-05T17:46:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/07\/05\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/"},"modified":"2026-07-05T14:20:08","modified_gmt":"2026-07-05T18:20:08","slug":"experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/07\/05\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/","title":{"rendered":"Experimental BSDun Kernel Module Runs FreeBSD Binaries on Linux"},"content":{"rendered":"<p><a href=\"https:\/\/linuxiac.com\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/\">Experimental BSDun Kernel Module Runs FreeBSD Binaries on Linux<\/a><\/p>\n<p><a href=\"https:\/\/linuxiac.com\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/\">https:\/\/linuxiac.com\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-07-05 13:46:00<\/a><\/p>\n<p>Source Domain: <a href=\"linuxiac.com\">linuxiac.com<\/a><\/p>\n<p class=\"wp-block-paragraph\">A new experimental project called BSDun is trying to give Linux something rather unusual: the ability to run unmodified FreeBSD binaries directly on a Linux system.<\/p>\n<p class=\"wp-block-paragraph\">It is designed as a Linux kernel module that teaches the kernel to recognize and load FreeBSD ELF executables. Once loaded, those programs run against a FreeBSD userland under \/compat\/freebsd, allowing Linux to execute FreeBSD tools without recompiling them.<\/p>\n<p class=\"wp-block-paragraph\">The project describes itself as the mirror image of FreeBSD\u2019s Linuxulator. While Linuxulator allows FreeBSD systems to run Linux binaries, BSDun takes the opposite route by letting Linux run FreeBSD binaries.<\/p>\n<p class=\"wp-block-paragraph\">Technically, BSDun works by registering a FreeBSD ELF handler in Linux\u2019s binary format chain. When a program runs, the module checks if the file is a FreeBSD binary through the ELF OSABI field or a FreeBSD ABI note.<\/p>\n<p class=\"wp-block-paragraph\">If not, BSDun steps aside and lets Linux handle the file normally. If it is, BSDun loads the ELF image, prepares a FreeBSD-flavored auxiliary vector, and redirects the runtime environment to the FreeBSD compatibility root.<\/p>\n<p class=\"wp-block-paragraph\">That compatibility root defaults to \/compat\/freebsd. The project expects users to populate it with a FreeBSD base system, including components like FreeBSD\u2019s dynamic loader and libc.<\/p>\n<p class=\"wp-block-paragraph\">According to the project\u2019s README, BSDun can already run real FreeBSD binaries end-to-end, including FreeBSD\u2019s \/bin\/sh. The author also reports working support for both statically linked tools and dynamically linked programs through FreeBSD\u2019s ld-elf.so.1 and libraries such as libc.so.7 and libthr.so.3.<\/p>\n<p class=\"wp-block-paragraph\">Additionally, it lists working shell features, external command execution, pipelines, redirection, networking, DNS resolution, FreeBSD\u2019s pkg package manager, ping, kqueue\/kevent, threading, dynamically linked base utilities, and common command-line tools like sed, awk, grep, find, stat, tail, and others.<\/p>\n<p class=\"wp-block-paragraph\">However, this is still experimental work. BSDun is not part of the upstream Linux&#8230;<\/p>\n<p><a href=\"https:\/\/linuxiac.com\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Experimental BSDun Kernel Module Runs FreeBSD Binaries on Linux https:\/\/linuxiac.com\/experimental-bsdun-kernel-module-runs-freebsd-binaries-on-linux\/ Publish Date: 2026-07-05 13:46:00 Source&#8230;<\/p>\n","protected":false},"author":1,"featured_media":286040,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/linuxiac.com\/wp-content\/uploads\/2026\/07\/linux-freebsd.jpg","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-286039","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/286039"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=286039"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/286039\/revisions"}],"predecessor-version":[{"id":286041,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/286039\/revisions\/286041"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/286040"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=286039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=286039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=286039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}