ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Arseny Maslennikov <arseny@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] виртуализация  binfmt_misc
Date: Thu, 21 Jan 2021 18:00:04 +0300
Message-ID: <YAmW9CKyD4ZrH9lN@cello> (raw)
In-Reply-To: <YAWCJ7yOCqH8KtPb@cello>

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

On Mon, Jan 18, 2021 at 03:42:15PM +0300, Arseny Maslennikov wrote:
> [1] Вообще с этим надо что-то делать.
> Может быть, стоит в ядре привязать binfmt-misc-механизм к mount
> namespace... Интерфейс останется старый (API FS), но интерпретатор будет
> закрепляться за процессами в конкретном mountns. Зарегистрированные за
> mountns интерпретаторы будут наследоваться в mountns-потомках.

Есть патч, который почти приняли в линукс:

https://lore.kernel.org/lkml/20191216091220.465626-2-laurent@vivier.eu/

Но там автор связывает набор binfmt-интерпретаторов и прочий контекст не
с mountns, а сразу с userns: по ссылке[2] тред, в котором его убедили так
сделать.

[2] https://lore.kernel.org/lkml/20181002102054.13245-1-laurent@vivier.eu/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-01-21 15:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21 17:51 [devel] сломалась инициализация hasher для aarch64 с использованием qemu Антон Мидюков
2020-12-21 18:01 ` Dmitry V. Levin
2020-12-22  8:00   ` Антон Мидюков
2020-12-22 10:58     ` Антон Мидюков
2020-12-22 11:28       ` Ivan A. Melnikov
2020-12-22 12:10         ` Ivan A. Melnikov
2020-12-22 12:37           ` Dmitry V. Levin
2020-12-22 13:37             ` Ivan A. Melnikov
2020-12-24 18:33               ` [devel] qemu-user-static-aarch64 не работает Dmitry V. Levin
2020-12-24 18:44                 ` Alexey V. Vissarionov
2020-12-25 12:42                 ` Leonid Krivoshein
2021-01-12 12:53                 ` Pavel Nakonechnyi
2021-01-12 12:59                   ` Ivan A. Melnikov
2021-01-12 13:23                     ` Pavel Nakonechnyi
2021-01-15  8:28                   ` Ivan A. Melnikov
2021-01-16  8:16                     ` Антон Мидюков
2021-01-18  9:44                     ` Arseny Maslennikov
2021-01-18  9:55                       ` Arseny Maslennikov
2021-01-18 11:52                         ` Ivan A. Melnikov
2021-01-18 12:42                           ` Arseny Maslennikov
2021-01-21 15:00                             ` Arseny Maslennikov [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

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

  git send-email \
    --in-reply-to=YAmW9CKyD4ZrH9lN@cello \
    --to=arseny@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git