android_kernel_xiaomi_sdm845/net
Eric W. Biederman 5dd3df105b net: Move all of the network sysctls without a namespace into init_net.
This makes it clearer which sysctls are relative to your current network
namespace.

This makes it a little less error prone by not exposing sysctls for the
initial network namespace in other namespaces.

This is the same way we handle all of our other network interfaces to
userspace and I can't honestly remember why we didn't do this for
sysctls right from the start.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-20 21:21:17 -04:00
..
9p net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
802 net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
8021q vlan: Stop using NLA_PUT*(). 2012-04-02 04:33:44 -04:00
appletalk net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
atm net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
ax25 net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
batman-adv batman-adv: skip the window protection test when the originator has no neighbours 2012-04-18 09:54:02 +02:00
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth 2012-04-09 15:47:49 -04:00
bridge net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
caif net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
can can: fix sparse warning for cgw_list 2012-04-16 21:08:18 +02:00
ceph net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
core net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
dcb net/dcb: Add an optional max rate attribute 2012-04-05 05:08:04 -04:00
dccp net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
decnet net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
dns_resolver net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
dsa dsa: Move switch drivers to new directory drivers/net/dsa 2011-11-29 00:21:36 -05:00
econet Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ethernet net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
ieee802154 net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
ipv4 net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
ipv6 net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
ipx net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
irda net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
iucv Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-03-22 18:15:32 -07:00
key net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
l2tp net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
lapb Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
llc net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
mac80211 mac80211: add function retrieve average rssi 2012-04-16 14:38:49 -04:00
netfilter net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
netlabel netlabel: use GFP flags from caller instead of GFP_ATOMIC 2012-03-22 19:29:57 -04:00
netlink netlink: dont drop packet but consume it 2012-04-19 14:23:55 -04:00
netrom net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
nfc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-04-18 14:27:48 -04:00
openvswitch net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
packet packet: dont drop packet but consume it 2012-04-19 14:23:55 -04:00
phonet net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
rds net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
rfkill device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
rose net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
rxrpc net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
sched pkt_sched: Stop using NLA_PUT*(). 2012-04-01 18:11:37 -04:00
sctp net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
sunrpc net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
tipc tipc: Ensure network address change doesn't impact configuration service 2012-04-19 15:46:50 -04:00
unix net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
wanrouter wanrouter: Remove kernel_lock annotations 2011-11-07 13:27:30 -05:00
wimax net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-04-18 14:27:48 -04:00
x25 net: Move all of the network sysctls without a namespace into init_net. 2012-04-20 21:21:17 -04:00
xfrm net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
compat.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
Kconfig net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Makefile net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
nonet.c
socket.c net sysctl: Initialize the network sysctls sooner to avoid problems. 2012-04-20 21:21:16 -04:00
sysctl_net.c net: Kill register_sysctl_rotable 2012-04-20 21:21:17 -04:00