Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752601AbWAHFvc (ORCPT ); Sun, 8 Jan 2006 00:51:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752604AbWAHFvb (ORCPT ); Sun, 8 Jan 2006 00:51:31 -0500 Received: from xenotime.net ([66.160.160.81]:7115 "HELO xenotime.net") by vger.kernel.org with SMTP id S1752602AbWAHFv2 (ORCPT ); Sun, 8 Jan 2006 00:51:28 -0500 Date: Sat, 7 Jan 2006 21:51:25 -0800 From: "Randy.Dunlap" To: lkml Cc: akpm , davem@davemloft.net Subject: [PATCH 3/4] capable/capability.h (net/) Message-Id: <20060107215125.3ccb2f2c.rdunlap@xenotime.net> Organization: YPO4 X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 21686 Lines: 743 From: Randy Dunlap net: Use where capable() is used. Signed-off-by: Randy Dunlap --- net/8021q/vlan.c | 1 + net/appletalk/ddp.c | 1 + net/atm/br2684.c | 1 + net/atm/clip.c | 1 + net/atm/ioctl.c | 1 + net/atm/lec.c | 1 + net/atm/mpc.c | 1 + net/atm/pppoatm.c | 1 + net/atm/raw.c | 1 + net/atm/resources.c | 1 + net/ax25/af_ax25.c | 1 + net/ax25/ax25_route.c | 2 ++ net/ax25/ax25_uid.c | 2 ++ net/bluetooth/bnep/sock.c | 1 + net/bluetooth/cmtp/sock.c | 1 + net/bluetooth/hci_sock.c | 1 + net/bluetooth/hidp/sock.c | 1 + net/bluetooth/l2cap.c | 1 + net/bluetooth/rfcomm/tty.c | 1 + net/bridge/br_ioctl.c | 1 + net/bridge/br_sysfs_br.c | 1 + net/bridge/br_sysfs_if.c | 1 + net/core/dev.c | 1 + net/core/dv.c | 1 + net/core/ethtool.c | 1 + net/core/net-sysfs.c | 1 + net/core/pktgen.c | 2 +- net/core/scm.c | 1 + net/core/sock.c | 1 + net/decnet/af_decnet.c | 1 + net/decnet/dn_dev.c | 1 + net/ipv4/af_inet.c | 1 + net/ipv4/arp.c | 1 + net/ipv4/devinet.c | 1 + net/ipv4/fib_frontend.c | 1 + net/ipv4/ip_gre.c | 1 + net/ipv4/ip_options.c | 1 + net/ipv4/ipip.c | 1 + net/ipv4/ipmr.c | 1 + net/ipv4/ipvs/ip_vs_ctl.c | 1 + net/ipv4/netfilter/arp_tables.c | 1 + net/ipv4/netfilter/ip_tables.c | 1 + net/ipv6/addrconf.c | 1 + net/ipv6/af_inet6.c | 1 + net/ipv6/anycast.c | 1 + net/ipv6/datagram.c | 1 + net/ipv6/ip6_flowlabel.c | 1 + net/ipv6/ip6_tunnel.c | 1 + net/ipv6/ipv6_sockglue.c | 1 + net/ipv6/netfilter/ip6_tables.c | 2 ++ net/ipv6/route.c | 1 + net/ipv6/sit.c | 1 + net/ipx/af_ipx.c | 1 + net/irda/af_irda.c | 1 + net/irda/irda_device.c | 1 + net/irda/irnet/irnet.h | 1 + net/key/af_key.c | 1 + net/netlink/af_netlink.c | 1 + net/netrom/af_netrom.c | 1 + net/packet/af_packet.c | 1 + net/rose/af_rose.c | 2 ++ net/sctp/socket.c | 1 + net/wanrouter/af_wanpipe.c | 1 + net/wanrouter/wanmain.c | 1 + net/x25/af_x25.c | 1 + 65 files changed, 69 insertions(+), 1 deletion(-) --- linux-2615-g3.orig/net/8021q/vlan.c +++ linux-2615-g3/net/8021q/vlan.c @@ -19,6 +19,7 @@ */ #include /* for copy_from_user */ +#include #include #include #include --- linux-2615-g3.orig/net/appletalk/ddp.c +++ linux-2615-g3/net/appletalk/ddp.c @@ -52,6 +52,7 @@ */ #include +#include #include #include #include /* For TIOCOUTQ/INQ */ --- linux-2615-g3.orig/net/ax25/af_ax25.c +++ linux-2615-g3/net/ax25/af_ax25.c @@ -14,6 +14,7 @@ * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) */ #include +#include #include #include #include --- linux-2615-g3.orig/net/ax25/ax25_route.c +++ linux-2615-g3/net/ax25/ax25_route.c @@ -11,6 +11,8 @@ * Copyright (C) Hans-Joachim Hetscher DD8NE (dd8ne@bnv-bamberg.de) * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) */ + +#include #include #include #include --- linux-2615-g3.orig/net/ax25/ax25_uid.c +++ linux-2615-g3/net/ax25/ax25_uid.c @@ -6,6 +6,8 @@ * * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) */ + +#include #include #include #include --- linux-2615-g3.orig/net/bridge/br_ioctl.c +++ linux-2615-g3/net/bridge/br_ioctl.c @@ -13,6 +13,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/bridge/br_sysfs_br.c +++ linux-2615-g3/net/bridge/br_sysfs_br.c @@ -11,6 +11,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/bridge/br_sysfs_if.c +++ linux-2615-g3/net/bridge/br_sysfs_if.c @@ -11,6 +11,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/decnet/af_decnet.c +++ linux-2615-g3/net/decnet/af_decnet.c @@ -122,6 +122,7 @@ Version 0.0.6 2.1.110 07-aug-98 E #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/decnet/dn_dev.c +++ linux-2615-g3/net/decnet/dn_dev.c @@ -25,6 +25,7 @@ */ #include +#include #include #include #include --- linux-2615-g3.orig/net/ipx/af_ipx.c +++ linux-2615-g3/net/ipx/af_ipx.c @@ -29,6 +29,7 @@ */ #include +#include #include #include #include --- linux-2615-g3.orig/net/irda/af_irda.c +++ linux-2615-g3/net/irda/af_irda.c @@ -43,6 +43,7 @@ ********************************************************************/ #include +#include #include #include #include --- linux-2615-g3.orig/net/irda/irda_device.c +++ linux-2615-g3/net/irda/irda_device.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/irda/irnet/irnet.h +++ linux-2615-g3/net/irda/irnet/irnet.h @@ -248,6 +248,7 @@ #include #include #include +#include #include #include /* isspace() */ #include --- linux-2615-g3.orig/net/key/af_key.c +++ linux-2615-g3/net/key/af_key.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include --- linux-2615-g3.orig/net/netlink/af_netlink.c +++ linux-2615-g3/net/netlink/af_netlink.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/netrom/af_netrom.c +++ linux-2615-g3/net/netrom/af_netrom.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/packet/af_packet.c +++ linux-2615-g3/net/packet/af_packet.c @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/rose/af_rose.c +++ linux-2615-g3/net/rose/af_rose.c @@ -9,7 +9,9 @@ * Copyright (C) Terry Dawson VK2KTJ (terry@animats.net) * Copyright (C) Tomi Manninen OH2BNS (oh2bns@sral.fi) */ + #include +#include #include #include #include --- linux-2615-g3.orig/net/sctp/socket.c +++ linux-2615-g3/net/sctp/socket.c @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/wanrouter/af_wanpipe.c +++ linux-2615-g3/net/wanrouter/af_wanpipe.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/wanrouter/wanmain.c +++ linux-2615-g3/net/wanrouter/wanmain.c @@ -44,6 +44,7 @@ #include #include /* offsetof(), etc. */ +#include #include /* return codes */ #include #include --- linux-2615-g3.orig/net/x25/af_x25.c +++ linux-2615-g3/net/x25/af_x25.c @@ -37,6 +37,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/atm/br2684.c +++ linux-2615-g3/net/atm/br2684.c @@ -18,6 +18,7 @@ Author: Marcell GAL, 2000, XDSL Ltd, Hun #include #include #include +#include #include #include --- linux-2615-g3.orig/net/atm/clip.c +++ linux-2615-g3/net/atm/clip.c @@ -19,6 +19,7 @@ #include #include #include +#include #include /* for net/route.h */ #include /* for struct sockaddr_in */ #include /* for IFF_UP */ --- linux-2615-g3.orig/net/atm/ioctl.c +++ linux-2615-g3/net/atm/ioctl.c @@ -12,6 +12,7 @@ #include #include /* CLIP_*ENCAP */ #include /* manifest constants */ +#include #include /* for ioctls */ #include #include --- linux-2615-g3.orig/net/atm/lec.c +++ linux-2615-g3/net/atm/lec.c @@ -7,6 +7,7 @@ #include #include #include +#include /* We are ethernet device */ #include --- linux-2615-g3.orig/net/atm/mpc.c +++ linux-2615-g3/net/atm/mpc.c @@ -3,6 +3,7 @@ #include #include #include +#include #include /* We are an ethernet device */ --- linux-2615-g3.orig/net/atm/pppoatm.c +++ linux-2615-g3/net/atm/pppoatm.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/atm/raw.c +++ linux-2615-g3/net/atm/raw.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/atm/resources.c +++ linux-2615-g3/net/atm/resources.c @@ -16,6 +16,7 @@ #include /* for barrier */ #include #include +#include #include #include /* for struct sock */ --- linux-2615-g3.orig/net/bluetooth/bnep/sock.c +++ linux-2615-g3/net/bluetooth/bnep/sock.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/bluetooth/cmtp/sock.c +++ linux-2615-g3/net/bluetooth/cmtp/sock.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/bluetooth/hci_sock.c +++ linux-2615-g3/net/bluetooth/hci_sock.c @@ -28,6 +28,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/bluetooth/hidp/sock.c +++ linux-2615-g3/net/bluetooth/hidp/sock.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/bluetooth/l2cap.c +++ linux-2615-g3/net/bluetooth/l2cap.c @@ -28,6 +28,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/bluetooth/rfcomm/tty.c +++ linux-2615-g3/net/bluetooth/rfcomm/tty.c @@ -34,6 +34,7 @@ #include #include +#include #include #include --- linux-2615-g3.orig/net/core/dev.c +++ linux-2615-g3/net/core/dev.c @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/core/dv.c +++ linux-2615-g3/net/core/dv.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/core/ethtool.c +++ linux-2615-g3/net/core/ethtool.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/core/net-sysfs.c +++ linux-2615-g3/net/core/net-sysfs.c @@ -9,6 +9,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/core/pktgen.c +++ linux-2615-g3/net/core/pktgen.c @@ -116,13 +116,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/core/scm.c +++ linux-2615-g3/net/core/scm.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/core/sock.c +++ linux-2615-g3/net/core/sock.c @@ -91,6 +91,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/af_inet.c +++ linux-2615-g3/net/ipv4/af_inet.c @@ -79,6 +79,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/arp.c +++ linux-2615-g3/net/ipv4/arp.c @@ -79,6 +79,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/devinet.c +++ linux-2615-g3/net/ipv4/devinet.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/fib_frontend.c +++ linux-2615-g3/net/ipv4/fib_frontend.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/ip_gre.c +++ linux-2615-g3/net/ipv4/ip_gre.c @@ -10,6 +10,7 @@ * */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/ip_options.c +++ linux-2615-g3/net/ipv4/ip_options.c @@ -11,6 +11,7 @@ * */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/ipip.c +++ linux-2615-g3/net/ipv4/ipip.c @@ -93,6 +93,7 @@ */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/ipmr.c +++ linux-2615-g3/net/ipv4/ipmr.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/ipvs/ip_vs_ctl.c +++ linux-2615-g3/net/ipv4/ipvs/ip_vs_ctl.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/netfilter/arp_tables.c +++ linux-2615-g3/net/ipv4/netfilter/arp_tables.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv4/netfilter/ip_tables.c +++ linux-2615-g3/net/ipv4/netfilter/ip_tables.c @@ -14,6 +14,7 @@ */ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/addrconf.c +++ linux-2615-g3/net/ipv6/addrconf.c @@ -58,6 +58,7 @@ #ifdef CONFIG_SYSCTL #include #endif +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/af_inet6.c +++ linux-2615-g3/net/ipv6/af_inet6.c @@ -22,6 +22,7 @@ #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/anycast.c +++ linux-2615-g3/net/ipv6/anycast.c @@ -13,6 +13,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/datagram.c +++ linux-2615-g3/net/ipv6/datagram.c @@ -13,6 +13,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/ip6_flowlabel.c +++ linux-2615-g3/net/ipv6/ip6_flowlabel.c @@ -9,6 +9,7 @@ * Authors: Alexey Kuznetsov, */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/ip6_tunnel.c +++ linux-2615-g3/net/ipv6/ip6_tunnel.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/ipv6_sockglue.c +++ linux-2615-g3/net/ipv6/ipv6_sockglue.c @@ -26,6 +26,7 @@ */ #include +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/netfilter/ip6_tables.c +++ linux-2615-g3/net/ipv6/netfilter/ip6_tables.c @@ -14,6 +14,8 @@ * 06 Jun 2002 Andras Kis-Szabo * - new extension header parser code */ + +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/route.c +++ linux-2615-g3/net/ipv6/route.c @@ -24,6 +24,7 @@ * reachable. otherwise, round-robin the list. */ +#include #include #include #include --- linux-2615-g3.orig/net/ipv6/sit.c +++ linux-2615-g3/net/ipv6/sit.c @@ -20,6 +20,7 @@ #include #include +#include #include #include #include --- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/