Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1519675

Re: [PATCH] binfmt_misc: allow selecting the interpreter based on xattr keywords

From Alex Bennée <alex.bennee@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] binfmt_misc: allow selecting the interpreter based on xattr keywords
Date 2016-11-11 11:40 +0100
Message-ID <sChpv-392-3@gated-at.bofh.it> (permalink)
References <sa5xM-3jP-29@gated-at.bofh.it> <sa5xM-3jP-27@gated-at.bofh.it> <saqLU-8tm-27@gated-at.bofh.it> <satA6-1Kj-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Carlos O'Donell <carlos@redhat.com> writes:

> On 08/26/2016 10:55 AM, Florian Weimer wrote:
>> On 08/25/2016 06:15 PM, James Bottomley wrote:
>>> On Sun, 2016-08-21 at 21:01 -0700, Josh Max wrote:
<snip>
>
> This ignores the fact that the alternate loader also needs to have
> it's own ldconfig cache, implementation-dependent lookup paths etc,
> all of which have to be keyed off the xattr keyword specified dynamic
> loader. All of that is tractable though and can be done in userspace
> keyed from the selected dynamic loader. Buy why? Why not use a mount
> namespace and different loader e.g. lxc, docker, etc, or specify a
> loader that is a wrapper and does this for you?

Is binfmt_misc actually containerise-able yet? At the moment when using
qemu-user inside a docker container I still have to ensure the root
binfmt_misc points to the same location as I place qemu-user in the
docker container.

>
> I'm not convinced this is a good idea, but I'm open to learning about
> more use cases.


--
Alex Bennée

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] binfmt_misc: allow selecting the interpreter based on xattr keywords Alex Bennée <alex.bennee@linaro.org> - 2016-11-11 11:40 +0100

csiph-web