From: ebiederm@xmission•com (Eric W. Biederman)
To: David Miller <davem@davemloft•net>
Cc: <netdev@vger•kernel.org>, "Serge E. Hallyn" <serge@hallyn•com>,
Gao feng <gaofeng@cn•fujitsu.com>,
pablo@netfilter•org, Stephen Hemminger <shemminger@vyatta•com>,
Pavel Emelyanov <xemul@openvz•org>
Subject: [PATCH net-next 00/19] net: Sysctl simplifications and enhancements
Date: Thu, 19 Apr 2012 16:17:10 -0700 [thread overview]
Message-ID: <m1aa27ia6h.fsf@fess.ebiederm.org> (raw)
Summary:
- Kill approximately 400 lines of code
- Allow all networking sysctls with just CAP_NET_ADMIN
- Hide all networking sysctls that don't apply to your current network namespace.
- Uniformly register flat sysctl tables not sysctl tables with .child entries
- Readable string paths for registering sysctls
Eric W. Biederman (19):
net: Implement register_net_sysctl.
net sysctl: Register an empty /proc/sys/net
net sysctl: Initialize the network sysctls sooner to avoid problems.
net: Kill register_sysctl_rotable
net: Move all of the network sysctls without a namespace into init_net.
net core: Remove unneded creation of an empty net/core sysctl directory
net ipv6: Remove unneded registration of an empty net/ipv6/neigh
net ipv4: Remove the unneeded registration of an empty net/ipv4/neigh
net ax25: Simplify and cleanup the ax25 sysctl handling.
net llc: Don't use sysctl tables with .child entries.
net ipv6: Don't use sysctl tables with .child entries.
net neighbour: Convert to use register_net_sysctl
net decnet: Convert to use register_net_sysctl
net ipv6: Convert addrconf to use register_net_sysctl
net ipv4: Convert devinet to use register_net_sysctl
net: Convert nf_conntrack_proto to use register_net_sysctl
net: Convert all sysctl registrations to register_net_sysctl
net: Delete all remaining instances of ctl_path
net: Remove register_net_sysctl_table
drivers/infiniband/core/ucma.c | 10 +--
include/linux/netfilter.h | 6 --
include/net/ax25.h | 10 ++--
include/net/ip.h | 3 -
include/net/ip_vs.h | 2 -
include/net/ipv6.h | 3 -
include/net/net_namespace.h | 12 ++--
include/net/netfilter/nf_conntrack_l3proto.h | 2 +-
include/net/netns/ipv6.h | 4 +-
net/802/tr.c | 8 +--
net/appletalk/sysctl_net_atalk.c | 10 +--
net/ax25/af_ax25.c | 2 -
net/ax25/ax25_dev.c | 10 +--
net/ax25/sysctl_net_ax25.c | 82 ++++++++---------------
net/bridge/br_netfilter.c | 10 +--
net/core/neighbour.c | 35 ++--------
net/core/sysctl_net_core.c | 14 +----
net/dccp/sysctl.c | 11 +---
net/decnet/dn_dev.c | 21 ++-----
net/decnet/sysctl_net_decnet.c | 10 +--
net/ipv4/devinet.c | 39 ++----------
net/ipv4/ip_fragment.c | 4 +-
net/ipv4/netfilter.c | 10 ---
net/ipv4/netfilter/ip_queue.c | 6 +-
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | 2 +-
net/ipv4/route.c | 29 +--------
net/ipv4/sysctl_net_ipv4.c | 14 +---
net/ipv4/xfrm4_policy.c | 4 +-
net/ipv6/addrconf.c | 32 +--------
net/ipv6/af_inet6.c | 15 ----
net/ipv6/netfilter/ip6_queue.c | 6 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 6 +-
net/ipv6/reassembly.c | 4 +-
net/ipv6/sysctl_net_ipv6.c | 83 +++++++-----------------
net/ipv6/xfrm6_policy.c | 4 +-
net/ipx/sysctl_net_ipx.c | 11 +--
net/irda/irsysctl.c | 10 +--
net/llc/sysctl_net_llc.c | 52 +++++----------
net/netfilter/core.c | 9 ---
net/netfilter/ipvs/ip_vs_ctl.c | 10 +---
net/netfilter/ipvs/ip_vs_lblc.c | 3 +-
net/netfilter/ipvs/ip_vs_lblcr.c | 3 +-
net/netfilter/nf_conntrack_acct.c | 4 +-
net/netfilter/nf_conntrack_ecache.c | 3 +-
net/netfilter/nf_conntrack_proto.c | 10 ++--
net/netfilter/nf_conntrack_proto_dccp.c | 4 +-
net/netfilter/nf_conntrack_standalone.c | 14 +---
net/netfilter/nf_conntrack_timestamp.c | 4 +-
net/netfilter/nf_log.c | 9 +--
net/netrom/sysctl_net_netrom.c | 10 +--
net/phonet/sysctl.c | 10 +--
net/rds/ib_sysctl.c | 11 +---
net/rds/iw_sysctl.c | 11 +---
net/rds/sysctl.c | 11 +---
net/rose/sysctl_net_rose.c | 10 +--
net/sctp/sysctl.c | 10 +--
net/socket.c | 6 ++
net/sysctl_net.c | 45 ++++---------
net/unix/sysctl_net_unix.c | 10 +--
net/x25/sysctl_net_x25.c | 10 +--
net/xfrm/xfrm_sysctl.c | 2 +-
61 files changed, 209 insertions(+), 606 deletions(-)
next reply other threads:[~2012-04-19 23:13 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 23:17 Eric W. Biederman [this message]
2012-04-19 23:18 ` [PATCH net-next 01/19] net: Implement register_net_sysctl Eric W. Biederman
2012-04-20 5:27 ` Pavel Emelyanov
2012-04-20 8:11 ` Eric W. Biederman
2012-04-20 8:45 ` Pavel Emelyanov
2012-04-19 23:19 ` [PATCH net-next 02/19] net sysctl: Register an empty /proc/sys/net Eric W. Biederman
2012-04-19 23:20 ` [PATCH net-next 03/19] net sysctl: Initialize the network sysctls sooner to avoid problems Eric W. Biederman
2012-04-19 23:22 ` [PATCH net-next 04/19] net: Kill register_sysctl_rotable Eric W. Biederman
2012-04-20 13:53 ` Serge E. Hallyn
2012-04-20 14:42 ` Eric W. Biederman
2012-04-19 23:24 ` [PATCH net-next 05/19] net: Move all of the network sysctls without a namespace into init_net Eric W. Biederman
2012-04-23 0:38 ` Gao feng
2012-04-23 1:50 ` Eric W. Biederman
2012-04-23 2:29 ` Gao feng
2012-04-19 23:25 ` [PATCH net-next 06/19] net core: Remove unneded creation of an empty net/core sysctl directory Eric W. Biederman
2012-04-19 23:26 ` [PATCH net-next 07/19] net ipv6: Remove unneded registration of an empty net/ipv6/neigh Eric W. Biederman
2012-04-19 23:32 ` [PATCH net-next 08/19] net ipv4: Remove the unneeded registration of an empty net/ipv4/neigh Eric W. Biederman
2012-04-19 23:34 ` [PATCH net-next 09/19] net ax25: Simplify and cleanup the ax25 sysctl handling Eric W. Biederman
2012-04-19 23:35 ` [PATCH net-next 10/19] net llc: Don't use sysctl tables with .child entries Eric W. Biederman
2012-04-19 23:37 ` [PATCH net-next 11/19] net ipv6: " Eric W. Biederman
2012-04-19 23:38 ` [PATCH net-next 12/19] net neighbour: Convert to use register_net_sysctl Eric W. Biederman
2012-04-20 5:21 ` Pavel Emelyanov
2012-04-20 7:25 ` Eric W. Biederman
2012-04-22 2:36 ` Ben Hutchings
2012-04-19 23:40 ` [PATCH net-next 13/19] net decnet: " Eric W. Biederman
2012-04-19 23:41 ` [PATCH net-next 14/19] net ipv6: Convert addrconf " Eric W. Biederman
2012-04-19 23:42 ` [PATCH net-next 15/19] net ipv4: Convert devinet " Eric W. Biederman
2012-04-19 23:43 ` [PATCH net-next 16/19] net: Convert nf_conntrack_proto " Eric W. Biederman
2012-04-19 23:44 ` [PATCH net-next 17/19] net: Convert all sysctl registrations to register_net_sysctl Eric W. Biederman
2012-04-19 23:45 ` [PATCH net-next 18/19] net: Delete all remaining instances of ctl_path Eric W. Biederman
2012-04-19 23:46 ` [PATCH net-next 19/19] net: Remove register_net_sysctl_table Eric W. Biederman
2012-04-20 8:45 ` [PATCH net-next 00/19] net: Sysctl simplifications and enhancements Pavel Emelyanov
2012-04-21 1:24 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1aa27ia6h.fsf@fess.ebiederm.org \
--to=ebiederm@xmission$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=gaofeng@cn$(echo .)fujitsu.com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pablo@netfilter$(echo .)org \
--cc=serge@hallyn$(echo .)com \
--cc=shemminger@vyatta$(echo .)com \
--cc=xemul@openvz$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox