From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Serge E. Hallyn" <serge.hallyn@ubuntu.com>
Cc: containers@lists.linux-foundation.org,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
Jan Kara <jack@suse.cz>, Al Viro <viro@ZenIV.linux.org.uk>
Subject: Re: [Patch resend v3 3/3] binfmt_misc: add F option description to documentation
Date: Tue, 19 Apr 2016 16:01:51 -0400 [thread overview]
Message-ID: <1461096111.2435.9.camel@HansenPartnership.com> (raw)
In-Reply-To: <20160419195832.GA32382@mail.hallyn.com>
On Tue, 2016-04-19 at 14:58 -0500, Serge E. Hallyn wrote:
> Quoting James Bottomley (James.Bottomley@HansenPartnership.com):
> > Signed-off-by: James Bottomley <
> > James.Bottomley@HansenPartnership.com>
>
> Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
>
> Thanks, James. Which tree were you thinking this would go in
> through?
I'm happy to become binfmt_misc maintainer (on the grounds that last to
touch it gets to keep it) and thus run my own tree, but I talked to Al
at LSF/MM and he thinks it can go through the vfs tree.
James
> > ---
> > Documentation/binfmt_misc.txt | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/Documentation/binfmt_misc.txt
> > b/Documentation/binfmt_misc.txt
> > index 6b1de70..ec83bbc 100644
> > --- a/Documentation/binfmt_misc.txt
> > +++ b/Documentation/binfmt_misc.txt
> > @@ -66,6 +66,13 @@ Here is what the fields mean:
> > This feature should be used with care as the
> > interpreter
> > will run with root permissions when a setuid binary
> > owned by root
> > is run with binfmt_misc.
> > + 'F' - fix binary. The usual behaviour of binfmt_misc is to
> > spawn the
> > + binary lazily when the misc format file is
> > invoked. However,
> > + this doesn't work very well in the face of mount
> > namespaces and
> > + changeroots, so the F mode opens the binary as soon as
> > the
> > + emulation is installed and uses the opened image to
> > spawn the
> > + emulator, meaning it is always available once
> > installed,
> > + regardless of how the environment changes.
> >
> >
> > There are some restrictions:
prev parent reply other threads:[~2016-04-19 20:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 12:24 [Patch resend v3 0/3] allow the creation of architecture emulation containers where the emulator binary is outside the container James Bottomley
2016-04-19 12:24 ` James Bottomley
2016-04-19 12:27 ` [Patch resend v3 1/3] fs: add filp_clone_open API James Bottomley
[not found] ` <1461068670.2435.0.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2016-04-19 12:27 ` James Bottomley
2016-04-19 12:28 ` [Patch resend v3 2/3] binfmt_misc: add persistent opened binary handler for containers James Bottomley
2016-04-19 12:28 ` James Bottomley
2016-04-19 12:29 ` [Patch resend v3 3/3] binfmt_misc: add F option description to documentation James Bottomley
2016-04-19 12:29 ` James Bottomley
[not found] ` <1461068980.2435.6.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2016-04-19 19:58 ` Serge E. Hallyn
2016-04-19 19:58 ` Serge E. Hallyn
[not found] ` <20160419195832.GA32382-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-19 20:01 ` James Bottomley
2016-04-19 20:01 ` James Bottomley [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=1461096111.2435.9.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=containers@lists.linux-foundation.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=serge.hallyn@ubuntu.com \
--cc=viro@ZenIV.linux.org.uk \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.