Re: [PATCH net-2.6.25 1/3]sysctl: make the sys.net.core sysctls per-namespace

2007-12-08 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Fri, 07 Dec 2007 16:07:19 +0300 > Making them per-namespace is required for the following > two reasons: > > First, some ctl values have a per-namespace meaning. > Second, making them writable from the sub-namespace > is an isolation hole. > >

[PATCH net-2.6.25 1/3]sysctl: make the sys.net.core sysctls per-namespace

2007-12-07 Thread Pavel Emelyanov
Making them per-namespace is required for the following two reasons: First, some ctl values have a per-namespace meaning. Second, making them writable from the sub-namespace is an isolation hole. So I introduce the pernet operations to create these tables. For init_net I use the existing stat