OpenVZ Forum


Home » Mailing lists » Devel » Re: [patch 05/20] [Network namespace] Add NS_NET3 to NS_ALL.
Re: [patch 05/20] [Network namespace] Add NS_NET3 to NS_ALL. [message #8916] Mon, 11 December 2006 08:38
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
On Monday 11 December 2006 00:58, dlezcano@fr.ibm.com wrote:
> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
>
> ---
>
> include/linux/nsproxy.h | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: 2.6.19-rc6-mm2/include/linux/nsproxy.h
> ============================================================ =======
> --- 2.6.19-rc6-mm2.orig/include/linux/nsproxy.h
> +++ 2.6.19-rc6-mm2/include/linux/nsproxy.h
> @@ -23,7 +23,7 @@ struct user_namespace;
> #define NS_NET2 0x00000010
> #define NS_USER 0x00000020
> #define NS_NET3 0x00000040
> -#define NS_ALL (NS_MNT|NS_UTS|NS_IPC|NS_PID|NS_NET2|NS_USER)
> +#define NS_ALL (NS_MNT|NS_UTS|NS_IPC|NS_PID|NS_NET2|NS_USER|NS_NET3)
And you'll unshare both NS_NET2 and NS_NET3 during sys_unshare(NS_ALL)...

>
> /*
> * A structure to contain pointers to all per-process
>

--
Thanks,
Dmitry.
Previous Topic: Re: Re: Network virtualization/isolation
Next Topic: [Fwd: Re: [patch 05/20] [Network namespace] Add NS_NET3 to NS_ALL.]
Goto Forum:
  


Current Time: Sat Dec 14 15:57:46 GMT 2024

Total time taken to generate the page: 0.03065 seconds