All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
To: "Serge E. Hallyn" <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Eric Biederman <ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>,
	Biederman-FOgKQjlUJ6BQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH 2/2] Kconfig : default all the namespaces to 'yes'
Date: Thu, 14 Oct 2010 16:51:06 -0700	[thread overview]
Message-ID: <20101014165106.1ab36714.akpm@linux-foundation.org> (raw)
In-Reply-To: <20101013144430.GA20904-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>

On Wed, 13 Oct 2010 09:44:30 -0500
"Serge E. Hallyn" <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org> wrote:

> Quoting Daniel Lezcano (daniel.lezcano-GANU6spQydw@public.gmane.org):
> > On 10/12/2010 07:16 PM, Serge E. Hallyn wrote:
> > >Quoting Matt Helsley (matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org):
> > >>On Thu, Oct 07, 2010 at 03:15:33PM +0200, Daniel Lezcano wrote:
> > >>>As the different namespaces depend on 'CONFIG_NAMESPACES', it is
> > >>>logical to enable all the namespaces when we enable NAMESPACES.
> > >>>
> > >>>Signed-off-by: Daniel Lezcano<daniel.lezcano-GANU6spQydw@public.gmane.org>
> > >>Subject of the patch email is a little confusing as it's not
> > >>quite what happens. I'm mostly OK with it but I'm not sure we
> > >>should enable user-ns by default just yet.
> > >>
> > >>Acked-By: Matt Helsley<matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> > >In fact, perhaps we should keep the experimental tag on user namespaces.
> > 
> > The experimental tag is kept on the user namespace. This one is
> > defaulting to yes when the namespaces and experimental are selected.
> 
> Oh, sounds good
> 

My attention flagged.  Can we please confirm that the current patch is
still good?


From: Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org>

As the different namespaces depend on 'CONFIG_NAMESPACES', it is logical
to enable all the namespaces when we enable NAMESPACES.

Signed-off-by: Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org>
Cc: "Eric W. Biederman" <ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
Cc: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Acked-By: Matt Helsley <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
---

 init/Kconfig |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff -puN init/Kconfig~namespaces-default-all-the-namespaces-to-yes-when-config_namespaces-is-selected init/Kconfig
--- a/init/Kconfig~namespaces-default-all-the-namespaces-to-yes-when-config_namespaces-is-selected
+++ a/init/Kconfig
@@ -739,6 +739,7 @@ config NAMESPACES
 config UTS_NS
 	bool "UTS namespace"
 	depends on NAMESPACES
+	default y
 	help
 	  In this namespace tasks see different info provided with the
 	  uname() system call
@@ -746,6 +747,7 @@ config UTS_NS
 config IPC_NS
 	bool "IPC namespace"
 	depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE)
+	default y
 	help
 	  In this namespace tasks work with IPC ids which correspond to
 	  different IPC objects in different namespaces.
@@ -753,6 +755,7 @@ config IPC_NS
 config USER_NS
 	bool "User namespace (EXPERIMENTAL)"
 	depends on NAMESPACES && EXPERIMENTAL
+	default y
 	help
 	  This allows containers, i.e. vservers, to use user namespaces
 	  to provide different user info for different servers.
@@ -760,8 +763,8 @@ config USER_NS
 
 config PID_NS
 	bool "PID Namespaces"
-	default n
 	depends on NAMESPACES
+	default y
 	help
 	  Support process id namespaces.  This allows having multiple
 	  processes with the same pid as long as they are in different
@@ -769,8 +772,8 @@ config PID_NS
 
 config NET_NS
 	bool "Network namespace"
-	default n
 	depends on NAMESPACES && NET
+	default y
 	help
 	  Allow user space to create what appear to be multiple instances
 	  of the network stack.
_

  parent reply	other threads:[~2010-10-14 23:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07 13:15 [PATCH 1/2] Kconfig : remove pid_ns and net_ns experimental Daniel Lezcano
     [not found] ` <1286457333-10500-1-git-send-email-daniel.lezcano-GANU6spQydw@public.gmane.org>
2010-10-07 13:15   ` [PATCH 2/2] Kconfig : default all the namespaces to 'yes' Daniel Lezcano
     [not found]     ` <1286457333-10500-2-git-send-email-daniel.lezcano-GANU6spQydw@public.gmane.org>
2010-10-11 18:57       ` Matt Helsley
     [not found]         ` <20101011185757.GJ23839-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2010-10-12 17:16           ` Serge E. Hallyn
     [not found]             ` <20101012171622.GA16543-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-10-13  5:09               ` Daniel Lezcano
     [not found]                 ` <4CB53F1C.7020709-GANU6spQydw@public.gmane.org>
2010-10-13 14:44                   ` Serge E. Hallyn
     [not found]                     ` <20101013144430.GA20904-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-10-14 23:51                       ` Andrew Morton [this message]
     [not found]                         ` <20101014165106.1ab36714.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2010-10-15  3:05                           ` Serge E. Hallyn
2010-10-12 17:53   ` [PATCH 1/2] Kconfig : remove pid_ns and net_ns experimental Oren Laadan
     [not found]     ` <4CB4A0B3.10401-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2010-10-13  5:10       ` Daniel Lezcano

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=20101014165106.1ab36714.akpm@linux-foundation.org \
    --to=akpm-de/tnxtf+jlsfhdxvbkv3wd2fqjk+8+b@public.gmane.org \
    --cc=Biederman-FOgKQjlUJ6BQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org \
    --cc=serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.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 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.