From: Pavel Emelyanov Date: Sat, 8 Dec 2007 08:09:24 +0000 (-0800) Subject: [NET] sysctl: make the sys.net.core sysctls per-namespace X-Git-Tag: v2.6.25-rc1~1162^2~1177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024626e36d75fc8c6e32d50d4c68bfc3b8df5fdf;p=pandora-kernel.git [NET] sysctl: make the sys.net.core sysctls per-namespace 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 statically declared tables, for sub-namespace they are duplicated and the write bits are removed from the mode. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed