From: sukadev@us.ibm.com
To: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Linux Containers <containers@lists.osdl.org>,
Pavel Emelyanov <xemul@openvz.org>
Subject: Re: [PATCH 1/5] The config option itself
Date: Wed, 26 Sep 2007 19:30:24 -0700 [thread overview]
Message-ID: <20070927023024.GA24004@us.ibm.com> (raw)
In-Reply-To: <20070926170621.GB23435@sergelap.austin.ibm.com>
Serge E. Hallyn [serue@us.ibm.com] wrote:
| Quoting Serge E. Hallyn (serue@us.ibm.com):
| > Quoting Pavel Emelyanov (xemul@openvz.org):
| > > The option is called NAMESPACES. It can be selectable only
| > > if EMBEDDED is chosen (this was Eric's requisition). When
| > > the EMBEDDED is off namespaces will be on automatically.
| > >
| > > One more option (NAMESPACES_EXPERIMENTAL) was added by
| > > Serge's request to move there all the namespaces that are
| > > not finished yet. Currently only the user and the network
| > > namespaces are such.
| > >
| > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
| > >
| > > ---
| > >
| > > diff --git a/init/Kconfig b/init/Kconfig
| > > index 684ccfb..05a71d7 100644
| > > --- a/init/Kconfig
| > > +++ b/init/Kconfig
| > > @@ -369,6 +360,23 @@ config RELAY
| > >
| > > If unsure, say N.
| > >
| > > +config NAMESPACES
| > > + bool "The namespaces support" if EMBEDDED
| > > + default !EMBEDDED
| > > + help
| > > + Provides the way to make tasks work with different objects using
| > > + the same id. For example same IPC id may refer to different objects
| > > + or same user id or pid may refer to different tasks when used in
| > > + different namespaces.
| > > +
| > > +config NAMESPACES_EXPERIMENTAL
| > > + bool "Add the experimantal namespaces support" if EMBEDDED
| >
| > Hi Pavel,
| >
| > Overall this patchset looks good.
| >
| > However the NAMESPACES_EXPERIMENTAL option should not have the
| > 'if EMBEDDED', right? This is about EXPERIMENTAL, not about
| > EMBEDDED, unlike the plain NAMESPACES option.
| >
| > -serge
|
| Actually that doesn't seem to work either. Even though
| SECURITY_NAMESPACES=y, the config system seems to infer that
| since NAMESPACES is not user-selectable, NAMESPACES_EXPERIMENTAL
| shouldn't be either. So we end up with NAMESPACES_EXPERIMENTAL
| being on and not un-selectable if !EMBEDDED.
Yes. Given that NAMESPACES depends on EMBEDDED, NAMESPACES_EXPERIMENTAL
can simply depend on NAMESPACES and EXPERIMENTAL with a default of N.
BTW, does the position of 'config NAMESPACES' in init/Kconfig file
matter ? If it is dependent on EMBEDDED, should it not come later
in the file, after 'config EMBEDDED' ?
|
| > > + depends on NAMESPACES && EXPERIMENTAL
| > > + default !EMBEDDED
| > > + help
| > > + Also include the support for the namespaces that are not fnished
| > > + or well developed yet
| > > +
| > > config BLK_DEV_INITRD
| > > bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
| > > depends on BROKEN || !FRV
| _______________________________________________
| Containers mailing list
| Containers@lists.linux-foundation.org
| https://lists.linux-foundation.org/mailman/listinfo/containers
next prev parent reply other threads:[~2007-09-27 2:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 15:39 [PATCH 0/5] A config option to compile out some namespaces code Pavel Emelyanov
[not found] ` <46FA7D4D.8040808-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-09-26 15:43 ` [PATCH 1/5] The config option itself Pavel Emelyanov
2007-09-26 16:30 ` Randy Dunlap
2007-09-26 16:34 ` Serge E. Hallyn
2007-09-26 17:06 ` Serge E. Hallyn
2007-09-27 2:30 ` sukadev [this message]
[not found] ` <20070927023024.GA24004-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-27 8:22 ` Pavel Emelyanov
2007-10-01 14:27 ` Serge E. Hallyn
2007-10-01 14:28 ` Pavel Emelyanov
2007-09-27 12:28 ` Cedric Le Goater
2007-09-26 15:46 ` [PATCH 2/5] Move the UST namespace under the option Pavel Emelyanov
2007-09-27 12:29 ` Cedric Le Goater
2007-09-26 15:51 ` [PATCH 3/5] Move the IPC " Pavel Emelyanov
2007-09-27 12:38 ` Cedric Le Goater
[not found] ` <46FBA45B.5090705-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2007-10-01 7:52 ` Pavel Emelyanov
2007-09-26 15:53 ` [PATCH 4/5] Move the user " Pavel Emelyanov
2007-09-27 12:31 ` Cedric Le Goater
[not found] ` <46FBA2A4.2040909-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2007-09-27 12:38 ` Robert P. J. Day
[not found] ` <Pine.LNX.4.64.0709270837220.5275-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-10-01 7:54 ` Pavel Emelyanov
2007-10-01 8:42 ` Robert P. J. Day
2007-10-01 14:14 ` Serge E. Hallyn
2007-09-26 15:58 ` [PATCH 5/5] Move the PID " Pavel Emelyanov
-- strict thread matches above, loose matches on Subject: below --
2007-10-31 10:58 [PATCH 0/5] A config option to compile out some namespaces code (v3) Pavel Emelyanov
[not found] ` <47285FEE.9030001-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-10-31 11:05 ` [PATCH 1/5] The config option itself Pavel Emelyanov
[not found] ` <4728615D.5070700-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-10-31 16:19 ` Randy Dunlap
[not found] ` <20071031091906.dd84761a.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2007-10-31 17:34 ` Pavel Emelyanov
2007-10-31 22:29 ` Andrew Morton
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=20070927023024.GA24004@us.ibm.com \
--to=sukadev@us.ibm.com \
--cc=containers@lists.osdl.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=serue@us.ibm.com \
--cc=xemul@openvz.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
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