From: "Latchesar Ionkov" <lucho@gmx.net>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] 1/2 OT: per-process mounts/namespace @ Linux
Date: Fri, 7 Sep 2007 16:21:50 -0600 [thread overview]
Message-ID: <f158dc670709071521o5e82e3f0ia0191671c8b96edd@mail.gmail.com> (raw)
In-Reply-To: <3e1162e60709071426mf4a4ea2kfdb4500fe763b0a9@mail.gmail.com>
The simple solution would be to disable setuid/setgid flags for
private namespaces of users other than root. And then (not so simple)
fix programs
that don't work :)
Lucho
On 9/7/07, David Leimbach <leimy2k@gmail.com> wrote:
>
>
> On 9/7/07, Eric Van Hensbergen <ericvh@gmail.com> wrote:
> > Linux actually has private namespaces, its just off by default. There
> > is a flag to clone which can be used to establish new processes in
> > private namespaces (CLONENS or some such thng).
> >
> > Primary downside is that its superuser only -- but you could get
> > around it with setuid or custom kernel.
> >
> > -eric
> >
> >
>
> Then you have to worry about what happens when people do things like binding
> over /etc/passwd :-)
>
>
>
>
next prev parent reply other threads:[~2007-09-07 22:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 20:09 Enrico Weigelt
2007-09-07 20:15 ` Eric Van Hensbergen
2007-09-07 21:26 ` David Leimbach
2007-09-07 21:38 ` Charles Forsyth
2007-09-07 22:21 ` Latchesar Ionkov [this message]
2007-09-07 22:27 ` Eric Van Hensbergen
2007-09-07 22:45 ` ron minnich
2007-09-07 22:45 ` ron minnich
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=f158dc670709071521o5e82e3f0ia0191671c8b96edd@mail.gmail.com \
--to=lucho@gmx.net \
--cc=9fans@cse.psu.edu \
/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 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 NNTP newsgroup(s).