{"id":182472,"date":"2026-07-05T16:54:27","date_gmt":"2026-07-05T14:54:28","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux"},"modified":"2026-07-05T16:54:27","modified_gmt":"2026-07-05T14:54:28","slug":"opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux","title":{"rendered":"Publication de BSDun, un module pour ex\u00e9cuter des fichiers ex\u00e9cutables FreeBSD dans Linux","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Le projet BSDun a \u00e9t\u00e9 publi\u00e9, d\u00e9veloppant un module pour le noyau Linux qui permet de reconna\u00eetre, charger et ex\u00e9cuter dans Linux des fichiers ex\u00e9cutables au format ELF, compil\u00e9s pour FreeBSD, sans modifications. Un environnement FreeBSD \u00e9mul\u00e9, situ\u00e9 dans le r\u00e9pertoire \/compat\/freebsd, est utilis\u00e9 pour l'ex\u00e9cution. Dans l'ensemble, le projet est compl\u00e8tement oppos\u00e9 au Linuxulator de FreeBSD. Le code est distribu\u00e9 sous la licence GPLv2+ et a \u00e9t\u00e9 \u00e9crit avec l'assistance de l'IA Claude Code.     <\/p>\n<p>Gr\u00e2ce \u00e0 BSDun, il a \u00e9t\u00e9 possible de lancer avec succ\u00e8s de nombreuses applications sous Linux \u00e0 partir de paquets FreeBSD, parmi lesquelles pkg, nginx, mc, ping, xeyes, xfce4-panel, Thunar, xfce4-terminal, Libreoffice, Midori, Epiphany, Chromium et VScode. Pour lancer Chromium et VScode, il est n\u00e9cessaire de d\u00e9sactiver l'isolement de la sandbox et de limiter la taille de la m\u00e9moire vid\u00e9o \u00e0 l'aide des options \u00ab --no-sandbox --force-gpu-mem-available-mb=1024 \u00bb.    <\/p>\n<p>Le module ne vise pas \u00e0 \u00eatre int\u00e9gr\u00e9 dans le noyau principal, car depuis la suppression de l'ABI Solaris, l'architecture du noyau Linux ne permet pas d'inclure d'autres gestionnaires de fichiers ex\u00e9cutables (OS Personalities) et pr\u00e9voit seulement une table d'appels syst\u00e8me. Pour contourner ce probl\u00e8me, BSDun utilise le m\u00e9canisme kprobe, qui intercepte tous les appels syst\u00e8me.     <\/p>\n<p>Avec kprobe, les appels syst\u00e8me de FreeBSD ont \u00e9t\u00e9 s\u00e9par\u00e9s des appels syst\u00e8me de Linux et envelopp\u00e9s dans une table distincte. Une partie des appels syst\u00e8me de FreeBSD \u00e9tait directement li\u00e9e aux appels syst\u00e8me de Linux, pour d'autres, la structure des param\u00e8tres et des r\u00e9sultats a \u00e9t\u00e9 r\u00e9emball\u00e9e, la troisi\u00e8me a \u00e9t\u00e9 remplac\u00e9e par des rempla\u00e7ants (comme ceux li\u00e9s \u00e0 Capcicum), et la quatri\u00e8me a \u00e9t\u00e9 r\u00e9alis\u00e9e sur la base des structures internes du noyau Linux. Pour impl\u00e9menter le m\u00e9canisme kevent\/kqueue au-dessus de epoll(), une modification distincte des composants en espace utilisateur a \u00e9t\u00e9 appliqu\u00e9e, effectu\u00e9e automatiquement lors du chargement de chaque fichier ex\u00e9cutable FreeBSD.      <\/p>\n<p>Au total, environ 250 appels syst\u00e8me ont \u00e9t\u00e9 impl\u00e9ment\u00e9s. SystemV IPC, fonctions r\u00e9seau, futex, sysctl MIB, prctl, minuteries et ioctl ont \u00e9galement \u00e9t\u00e9 d\u00e9velopp\u00e9s. Pour l'isolement des syst\u00e8mes de fichiers, un environnement chroot a \u00e9t\u00e9 utilis\u00e9 du c\u00f4t\u00e9 de Linux (au cours des exp\u00e9riences sans chroot, l'auteur a ex\u00e9cut\u00e9 \u00ab pkg install ... \u00bb et a \u00e9cras\u00e9 le contenu de \/usr\/local\/* sous Linux). N\u00e9anmoins, certaines utilitaires peuvent encore fonctionner sans chroot.     <\/p>\n<p>Le module propos\u00e9 peut \u00eatre utilis\u00e9 pour d\u00e9velopper, compiler et porter des logiciels pour FreeBSD sans utiliser <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/fr\/vps\/\" title=\"machines virtuelles\" data-wpil-keyword-link=\"linked\">machines virtuelles<\/a>. Instruction courte d'utilisation :       make     make load     .\\\/bsdun-freebsd-root-resetup.sh     .\\\/bsdun-freebsd-enter.sh     uname -a       FreeBSD h\u00f4te 16.0-CURRENT FreeBSD 16.0-CURRENT (bsdun) amd64<br \/>\n<br \/>Source : <a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65846\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 BSDun, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 Linux \u043d\u0435\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ELF, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f FreeBSD. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 FreeBSD, \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c\u043e\u0435 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/compat\/freebsd. \u0412 \u0446\u0435\u043b\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e FreeBSD Linuxulator. \u041a\u043e\u0434 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 GPLv2+ \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430 Claude Code. \u041f\u0440\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-182472","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 BSDun, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 Linux \u043d\u0435\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ELF, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f FreeBSD.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d BSDun, \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 FreeBSD \u0432 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 BSDun, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 Linux \u043d\u0435\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ELF, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f FreeBSD.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-05T14:54:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-05T14:54:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47BSDun publi\u00e9, module pour ex\u00e9cuter des fichiers ex\u00e9cutables FreeBSD sous Linux | ProHoster","description":"Le projet BSDun a \u00e9t\u00e9 publi\u00e9, d\u00e9veloppant un module pour le noyau Linux permettant de reconna\u00eetre, charger et ex\u00e9cuter sous Linux des fichiers ex\u00e9cutables non modifi\u00e9s au format ELF, compil\u00e9s pour FreeBSD.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d BSDun, \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 FreeBSD \u0432 Linux | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 BSDun, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u044c, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 Linux \u043d\u0435\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 ELF, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f FreeBSD.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/opublikovan-bsdun-modul-dlya-zapuska-ispolnyaemyh-fajlov-freebsd-v-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-07-05T14:54:28+00:00","article:modified_time":"2026-07-05T14:54:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"182472","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-08-05 12:22:09","updated":"2026-08-05 12:22:09","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/182472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=182472"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/182472\/revisions"}],"predecessor-version":[{"id":182568,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/182472\/revisions\/182568"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=182472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=182472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=182472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}