netns: Introduce sysctl root for read-only net sysctls.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 19 May 2008 20:45:33 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 20:45:33 +0000 (13:45 -0700)
commitd62c612ef8a66be534a3ada598cfa28d40cd0b3c
treed076e1ceaaff2aca70883a915bfb771c56034487
parent5b06c85c3b96fa8db632f1ee94f99a2bd0215f3a
netns: Introduce sysctl root for read-only net sysctls.

This one stores all ctl-heads in one list and restricts the
permissions not give write access to non-init net namespaces.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
net/sysctl_net.c