android_kernel_xiaomi_sm8350/net/core
Pavel Emelyanov 024626e36d [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>
2008-01-28 14:56:56 -08:00
..
datagram.c [UDP]: Only increment counter on first peek/recv 2008-01-28 14:56:34 -08:00
dev_mcast.c [NET]: Consolidate net namespace related proc files creation. 2008-01-28 14:54:28 -08:00
dev.c [NET] net/core/dev.c: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:51 -08:00
dst.c [NET]: Multiple namespaces in the all dst_ifdown routines. 2008-01-28 14:56:44 -08:00
ethtool.c
fib_rules.c [IPV6]: Make fib6_rules_init to return an error code. 2008-01-28 14:56:46 -08:00
filter.c [NET]: Fix bug in sk_filter race cures. 2007-10-18 21:48:39 -07:00
flow.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
gen_estimator.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile [NET]: Fix running without sysfs 2007-10-10 16:52:46 -07:00
neighbour.c [NEIGH]: Use the ctl paths to create neighbours sysctls 2008-01-28 14:55:24 -08:00
net_namespace.c [NET]: Make netns cleanup to run in a separate queue 2008-01-28 14:54:35 -08:00
net-sysfs.c [NET]: Nicer WARN_ON in netstat_show 2008-01-28 14:55:10 -08:00
net-sysfs.h [NET]: Remove in-code externs for some functions from net/core/dev.c 2007-10-23 21:27:56 -07:00
netevent.c
netpoll.c [NETPOLL]: Don't need rx_flags. 2008-01-28 14:54:18 -08:00
pktgen.c [PKTGEN]: Fix double unlock of xfrm_state->lock 2007-11-19 22:51:24 -08:00
request_sock.c [NET] net/core/request_sock.c: Remove unused exports. 2008-01-28 14:54:33 -08:00
rtnetlink.c [NET]: Make the netlink methods in rtnetlink handle multiple network namespaces 2008-01-28 14:54:26 -08:00
scm.c [NET]: Fix function put_cmsg() which may cause usr application memory overflow 2007-12-20 14:36:44 -08:00
skbuff.c [TCP]: Splice receive support. 2008-01-28 14:53:31 -08:00
sock.c [NET]: Name magic constants in sock_wake_async() 2008-01-28 14:55:03 -08:00
stream.c [NET]: Name magic constants in sock_wake_async() 2008-01-28 14:55:03 -08:00
sysctl_net_core.c [NET] sysctl: make the sys.net.core sysctls per-namespace 2008-01-28 14:56:56 -08:00
user_dma.c
utils.c [NET]: Move netfilter checksum helpers to net/core/utils.c 2008-01-28 14:55:14 -08:00