Thread (2 messages) flat view 2 messages, 2 authors, 2018-10-01

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

From: Eric W. Biederman <hidden>
Date: 2018-10-01 07:21:41
Also in: linux-fsdevel, lkml

Andy Lutomirski [off-list ref] writes:
On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier [off-list ref] wrote:
quoted
This series introduces a new namespace for binfmt_misc.
This seems conceptually quite reasonable, but I'm wondering if the
number of namespace types is getting out of hand given the current
API.  Should we be considering whether we need a new set of namespace
creation APIs that scale better to larger numbers of namespace types?
I would rather encourage a way to make this part of an existing
namespace or find a way to make a mount of binfmt_misc control this.

Hmm.  This looks like something that can be very straight forwardly be
made part of the user namespace.  If you ever mount binfmt_misc in the
user namespace you get the new behavior.  Otherwise you get the existing
behavior.

A user namespace will definitely be required, as otherwise you run the
risk of confusing root (and suid root exectuables0 by being able to
change the behavior of executables.

What is the motivation for this?  My impression is that very few people
tweak binfmt_misc.

I also don't think this raises to the level where it makes sense to
create a new namespace for this.

Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help