]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Implement the per network namespace sysctl infrastructure
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 30 Nov 2007 12:55:42 +0000 (23:55 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:18 +0000 (14:55 -0800)
commit95bdfccb2bf4ea21c0065772c6a2c75cbaf6ad0d
tree779993b29b8e348e14497496f3c9d318fb0b0d0e
parente51b6ba077791f2f8c876022b37419be7a2ceec3
[NET]: Implement the per network namespace sysctl infrastructure

The user interface is: register_net_sysctl_table and
unregister_net_sysctl_table.  Very much like the current
interface except there is a network namespace parameter.

With this any sysctl registered with register_net_sysctl_table
will only show up to tasks in the same network namespace.

All other sysctls continue to be globally visible.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Daniel Lezcano <dlezcano@fr.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
net/sysctl_net.c