net: Use <linux/capability.h> where capable() is used. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
@@ -19,6 +19,7 @@
*/
#include <asm/uaccess.h> /* for copy_from_user */
+#include <linux/capability.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
@@ -52,6 +52,7 @@
#include <linux/config.h>
#include <linux/if_arp.h>
#include <linux/termios.h> /* For TIOCOUTQ/INQ */
@@ -18,6 +18,7 @@ Author: Marcell GAL, 2000, XDSL Ltd, Hungary
#include <net/arp.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/seq_file.h>
#include <linux/atmbr2684.h>
#include <linux/atmclip.h>
#include <linux/atmarp.h>
#include <linux/ip.h> /* for net/route.h */
#include <linux/in.h> /* for struct sockaddr_in */
#include <linux/if.h> /* for IFF_UP */
@@ -12,6 +12,7 @@
#include <linux/atmclip.h> /* CLIP_*ENCAP */
#include <linux/atmarp.h> /* manifest constants */
#include <linux/sonet.h> /* for ioctls */
#include <linux/atmsvc.h>
#include <linux/atmmpc.h>
@@ -7,6 +7,7 @@
#include <linux/kernel.h>
#include <linux/bitops.h>
/* We are ethernet device */
#include <linux/if_ether.h>
@@ -3,6 +3,7 @@
#include <linux/timer.h>
#include <linux/init.h>
/* We are an ethernet device */
@@ -39,6 +39,7 @@
#include <linux/ppp_defs.h>
#include <linux/if_ppp.h>
#include <linux/ppp_channel.h>
@@ -6,6 +6,7 @@
#include <linux/sched.h>
#include <linux/mm.h>
@@ -16,6 +16,7 @@
#include <linux/kernel.h> /* for barrier */
#include <linux/delay.h>
#include <net/sock.h> /* for struct sock */
@@ -14,6 +14,7 @@
* Copyright (C) Frederic Rible F1OAT (frible@teaser.fr)
#include <linux/errno.h>
#include <linux/types.h>
@@ -11,6 +11,8 @@
* Copyright (C) Hans-Joachim Hetscher DD8NE (dd8ne@bnv-bamberg.de)
+
#include <linux/socket.h>
@@ -6,6 +6,8 @@
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk)
@@ -32,6 +32,7 @@
@@ -24,6 +24,7 @@
@@ -28,6 +28,7 @@
@@ -34,6 +34,7 @@
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/slab.h>
@@ -13,6 +13,7 @@
* 2 of the License, or (at your option) any later version.
#include <linux/if_bridge.h>
@@ -11,6 +11,7 @@
@@ -75,6 +75,7 @@
#include <asm/uaccess.h>
#include <asm/system.h>
#include <linux/cpu.h>
#include <linux/etherdevice.h>
#include <net/dst.h>
#include <linux/ethtool.h>
@@ -9,6 +9,7 @@
@@ -116,13 +116,13 @@
#include <linux/vmalloc.h>
-#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/signal.h>
@@ -91,6 +91,7 @@
@@ -122,6 +122,7 @@ Version 0.0.6 2.1.110 07-aug-98 Eduardo Marcelo Serrat
#include <net/flow.h>
#include <asm/ioctls.h>
#include <linux/proc_fs.h>
@@ -25,6 +25,7 @@
#include <linux/moduleparam.h>
@@ -79,6 +79,7 @@
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/fcntl.h>
@@ -20,6 +20,7 @@
@@ -10,6 +10,7 @@
@@ -93,6 +93,7 @@
@@ -33,6 +33,7 @@
@@ -23,6 +23,7 @@
#include <linux/fs.h>
#include <linux/sysctl.h>
#include <linux/kmod.h>
#include <linux/cache.h>
@@ -58,6 +58,7 @@
#ifdef CONFIG_SYSCTL
#endif
#include <linux/notifier.h>
@@ -22,6 +22,7 @@
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
@@ -21,6 +21,7 @@
@@ -26,6 +26,7 @@
@@ -14,6 +14,8 @@
* 06 Jun 2002 Andras Kis-Szabo <kisza@sch.bme.hu>
* - new extension header parser code
#include <linux/in.h>
* reachable. otherwise, round-robin the list.
@@ -29,6 +29,7 @@
@@ -43,6 +43,7 @@
********************************************************************/
#include <linux/if.h>
@@ -248,6 +248,7 @@
#include <linux/miscdevice.h>
#include <linux/poll.h>
#include <linux/ctype.h> /* isspace() */
@@ -15,6 +15,7 @@
@@ -53,6 +53,7 @@
@@ -9,7 +9,9 @@
* Copyright (C) Terry Dawson VK2KTJ (terry@animats.net)
* Copyright (C) Tomi Manninen OH2BNS (oh2bns@sral.fi)
@@ -63,6 +63,7 @@
#include <linux/wait.h>
#include <linux/time.h>
#include <linux/ip.h>
@@ -36,6 +36,7 @@
@@ -44,6 +44,7 @@
#include <linux/stddef.h> /* offsetof(), etc. */
#include <linux/errno.h> /* return codes */
@@ -37,6 +37,7 @@