[Devel] Re: [PATCH 3/13] Introduciton of config option and clone flag

Eric W. Biederman ebiederm at xmission.com
Thu May 24 08:39:41 PDT 2007


Pavel Emelianov <xemul at openvz.org> writes:

>
> diff --git a/init/Kconfig b/init/Kconfig
> index 2a46e35..59e4625 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -127,6 +127,16 @@ config SWAP_PREFETCH
>  	  Workstations and multiuser workstation servers will most likely want
>  	  to say Y.
>  
> +config PID_NS
> +	bool "Pid namespaces"
> +	default n
> +	help
> +	  Enable pid namespaces support. When on task is allowed to unshare
> +	  its pid namespace from parent and become its init. After this task
> +	  all its children will see only the tasks from this namespace.
> +	  However tasks from parent namespace see all the tasks in the system.
> +	  Ony one level of nesting is alowed. Tasks cannot leave the namespace.
> +

Until we kill daemonize and are certain we can't find any other places
in the kernel that need to be updated please make PID_NS depend on
CONFIG_EXPERIMENTAL.

Eric




More information about the Devel mailing list