unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Z572 <873216071@qq.com>
Cc: guix-devel@gnu.org
Subject: Re: binfmt_misc
Date: Sun, 17 Mar 2024 18:31:22 +0100	[thread overview]
Message-ID: <87jzm0datx.fsf@gnu.org> (raw)
In-Reply-To: <tencent_8F72BE92EFDAC34DAD54A92CEC3F769DB307@qq.com> (873216071@qq.com's message of "Sat, 02 Mar 2024 15:56:12 +0800")

Hi,

Z572 <873216071@qq.com> skribis:

> see
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=21ca59b365c0
>
> linux 6.7 support use binfmt_misc to add new binary formats within
> unprivileged namespaces,
> I think this improves guix reproducibility and also avoids leakage of
> the host's binfmt into the compilation environment, improves the
> cross-compilation environment, and potentially unlocks more features,
> such as not having to system-configure qemu-binfmt, running x86-64
> software on a riscv64 machine using `guix pack', guix shell -C -s
> riscv64-linux, etc.

Interesting.  Avoiding leakage looks like the main benefit to me
(currently, one has to ‘herd stop qemu-binfmt‘ to ensure there’s no
leakage).

I’m not sure how it helps with the features you mention, though?

Thanks for the heads-up,
Ludo’.


      reply	other threads:[~2024-03-17 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87msrh2glr.fsf@qq.com>
2024-03-02  7:56 ` binfmt_misc Z572
2024-03-17 17:31   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzm0datx.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=873216071@qq.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).