Home
last modified time | relevance | path

Searched hist:"024626 e3" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/core/
H A Dsysctl_net_core.c024626e3 Sat Dec 08 02:09:24 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
024626e3 Sat Dec 08 02:09:24 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/net/
H A Dnet_namespace.h024626e3 Sat Dec 08 02:09:24 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
024626e3 Sat Dec 08 02:09:24 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>