diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-01-11 15:17:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 21:42:14 -0500 |
commit | 4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b (patch) | |
tree | d2aaf0b5986b03e6129ed3ccd65b9f706cd59c7f | |
parent | 16f7e0fe2ecc30f30652e8185e1772cdebe39109 (diff) |
[PATCH] capable/capability.h (net/)
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>
65 files changed, 69 insertions, 1 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 67465b65abe4..fa76220708ce 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -19,6 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <asm/uaccess.h> /* for copy_from_user */ | 21 | #include <asm/uaccess.h> /* for copy_from_user */ |
22 | #include <linux/capability.h> | ||
22 | #include <linux/module.h> | 23 | #include <linux/module.h> |
23 | #include <linux/netdevice.h> | 24 | #include <linux/netdevice.h> |
24 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index a5144e43aae1..697ac55e29dc 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -52,6 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | 53 | ||
54 | #include <linux/config.h> | 54 | #include <linux/config.h> |
55 | #include <linux/capability.h> | ||
55 | #include <linux/module.h> | 56 | #include <linux/module.h> |
56 | #include <linux/if_arp.h> | 57 | #include <linux/if_arp.h> |
57 | #include <linux/termios.h> /* For TIOCOUTQ/INQ */ | 58 | #include <linux/termios.h> /* For TIOCOUTQ/INQ */ |
diff --git a/net/atm/br2684.c b/net/atm/br2684.c index 1dafa9c108a7..680ccb12aae8 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c | |||
@@ -18,6 +18,7 @@ Author: Marcell GAL, 2000, XDSL Ltd, Hungary | |||
18 | #include <net/arp.h> | 18 | #include <net/arp.h> |
19 | #include <linux/atm.h> | 19 | #include <linux/atm.h> |
20 | #include <linux/atmdev.h> | 20 | #include <linux/atmdev.h> |
21 | #include <linux/capability.h> | ||
21 | #include <linux/seq_file.h> | 22 | #include <linux/seq_file.h> |
22 | 23 | ||
23 | #include <linux/atmbr2684.h> | 24 | #include <linux/atmbr2684.h> |
diff --git a/net/atm/clip.c b/net/atm/clip.c index 4f54c9a5e84a..73370de97539 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/atmdev.h> | 19 | #include <linux/atmdev.h> |
20 | #include <linux/atmclip.h> | 20 | #include <linux/atmclip.h> |
21 | #include <linux/atmarp.h> | 21 | #include <linux/atmarp.h> |
22 | #include <linux/capability.h> | ||
22 | #include <linux/ip.h> /* for net/route.h */ | 23 | #include <linux/ip.h> /* for net/route.h */ |
23 | #include <linux/in.h> /* for struct sockaddr_in */ | 24 | #include <linux/in.h> /* for struct sockaddr_in */ |
24 | #include <linux/if.h> /* for IFF_UP */ | 25 | #include <linux/if.h> /* for IFF_UP */ |
diff --git a/net/atm/ioctl.c b/net/atm/ioctl.c index a150198b05a3..eb109af7eb4a 100644 --- a/net/atm/ioctl.c +++ b/net/atm/ioctl.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/atmdev.h> | 12 | #include <linux/atmdev.h> |
13 | #include <linux/atmclip.h> /* CLIP_*ENCAP */ | 13 | #include <linux/atmclip.h> /* CLIP_*ENCAP */ |
14 | #include <linux/atmarp.h> /* manifest constants */ | 14 | #include <linux/atmarp.h> /* manifest constants */ |
15 | #include <linux/capability.h> | ||
15 | #include <linux/sonet.h> /* for ioctls */ | 16 | #include <linux/sonet.h> /* for ioctls */ |
16 | #include <linux/atmsvc.h> | 17 | #include <linux/atmsvc.h> |
17 | #include <linux/atmmpc.h> | 18 | #include <linux/atmmpc.h> |
diff --git a/net/atm/lec.c b/net/atm/lec.c index 93ce390996c7..c4fc722fef9a 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/config.h> | 7 | #include <linux/config.h> |
8 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
9 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
10 | #include <linux/capability.h> | ||
10 | 11 | ||
11 | /* We are ethernet device */ | 12 | /* We are ethernet device */ |
12 | #include <linux/if_ether.h> | 13 | #include <linux/if_ether.h> |
diff --git a/net/atm/mpc.c b/net/atm/mpc.c index 36b7ae360232..c304ef1513b9 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <linux/timer.h> | 3 | #include <linux/timer.h> |
4 | #include <linux/init.h> | 4 | #include <linux/init.h> |
5 | #include <linux/bitops.h> | 5 | #include <linux/bitops.h> |
6 | #include <linux/capability.h> | ||
6 | #include <linux/seq_file.h> | 7 | #include <linux/seq_file.h> |
7 | 8 | ||
8 | /* We are an ethernet device */ | 9 | /* We are an ethernet device */ |
diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c index 58f4a2b5aebe..1489067c1e84 100644 --- a/net/atm/pppoatm.c +++ b/net/atm/pppoatm.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/skbuff.h> | 39 | #include <linux/skbuff.h> |
40 | #include <linux/atm.h> | 40 | #include <linux/atm.h> |
41 | #include <linux/atmdev.h> | 41 | #include <linux/atmdev.h> |
42 | #include <linux/capability.h> | ||
42 | #include <linux/ppp_defs.h> | 43 | #include <linux/ppp_defs.h> |
43 | #include <linux/if_ppp.h> | 44 | #include <linux/if_ppp.h> |
44 | #include <linux/ppp_channel.h> | 45 | #include <linux/ppp_channel.h> |
diff --git a/net/atm/raw.c b/net/atm/raw.c index 4a0466e91aa6..3e57b17ca523 100644 --- a/net/atm/raw.c +++ b/net/atm/raw.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/module.h> | 6 | #include <linux/module.h> |
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <linux/atmdev.h> | 8 | #include <linux/atmdev.h> |
9 | #include <linux/capability.h> | ||
9 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
10 | #include <linux/skbuff.h> | 11 | #include <linux/skbuff.h> |
11 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
diff --git a/net/atm/resources.c b/net/atm/resources.c index c8c459fcb038..224190537c90 100644 --- a/net/atm/resources.c +++ b/net/atm/resources.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/kernel.h> /* for barrier */ | 16 | #include <linux/kernel.h> /* for barrier */ |
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <linux/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/capability.h> | ||
19 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
20 | #include <net/sock.h> /* for struct sock */ | 21 | #include <net/sock.h> /* for struct sock */ |
21 | 22 | ||
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index e8753c7fcad1..dbf9b47681f7 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -14,6 +14,7 @@ | |||
14 | * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) | 14 | * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) |
15 | */ | 15 | */ |
16 | #include <linux/config.h> | 16 | #include <linux/config.h> |
17 | #include <linux/capability.h> | ||
17 | #include <linux/module.h> | 18 | #include <linux/module.h> |
18 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
19 | #include <linux/types.h> | 20 | #include <linux/types.h> |
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index b1e945bd6ed3..f04f8630fd28 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c | |||
@@ -11,6 +11,8 @@ | |||
11 | * Copyright (C) Hans-Joachim Hetscher DD8NE (dd8ne@bnv-bamberg.de) | 11 | * Copyright (C) Hans-Joachim Hetscher DD8NE (dd8ne@bnv-bamberg.de) |
12 | * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) | 12 | * Copyright (C) Frederic Rible F1OAT (frible@teaser.fr) |
13 | */ | 13 | */ |
14 | |||
15 | #include <linux/capability.h> | ||
14 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
15 | #include <linux/types.h> | 17 | #include <linux/types.h> |
16 | #include <linux/socket.h> | 18 | #include <linux/socket.h> |
diff --git a/net/ax25/ax25_uid.c b/net/ax25/ax25_uid.c index d53cc8615865..b8b5854bce9a 100644 --- a/net/ax25/ax25_uid.c +++ b/net/ax25/ax25_uid.c | |||
@@ -6,6 +6,8 @@ | |||
6 | * | 6 | * |
7 | * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) | 7 | * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) |
8 | */ | 8 | */ |
9 | |||
10 | #include <linux/capability.h> | ||
9 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
10 | #include <linux/types.h> | 12 | #include <linux/types.h> |
11 | #include <linux/socket.h> | 13 | #include <linux/socket.h> |
diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index ccbaf69afc5b..2bfe796cf05d 100644 --- a/net/bluetooth/bnep/sock.c +++ b/net/bluetooth/bnep/sock.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
33 | 33 | ||
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/capability.h> | ||
35 | #include <linux/errno.h> | 36 | #include <linux/errno.h> |
36 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
37 | #include <linux/sched.h> | 38 | #include <linux/sched.h> |
diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index 5e22343b6090..8f8fad23f78a 100644 --- a/net/bluetooth/cmtp/sock.c +++ b/net/bluetooth/cmtp/sock.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | 25 | ||
26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
27 | #include <linux/capability.h> | ||
27 | #include <linux/errno.h> | 28 | #include <linux/errno.h> |
28 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
29 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 84e6c93a044a..bdb6458c6bd5 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | 29 | ||
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/capability.h> | ||
31 | #include <linux/errno.h> | 32 | #include <linux/errno.h> |
32 | #include <linux/kernel.h> | 33 | #include <linux/kernel.h> |
33 | #include <linux/sched.h> | 34 | #include <linux/sched.h> |
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 8f8dd931b294..b8f67761b886 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp/sock.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | 25 | ||
26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
27 | #include <linux/capability.h> | ||
27 | #include <linux/errno.h> | 28 | #include <linux/errno.h> |
28 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
29 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 7f0781e4326f..f6b4a8085357 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | 29 | ||
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/capability.h> | ||
31 | #include <linux/errno.h> | 32 | #include <linux/errno.h> |
32 | #include <linux/kernel.h> | 33 | #include <linux/kernel.h> |
33 | #include <linux/sched.h> | 34 | #include <linux/sched.h> |
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index f57cde78c3de..74368f79ee5d 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/tty_driver.h> | 34 | #include <linux/tty_driver.h> |
35 | #include <linux/tty_flip.h> | 35 | #include <linux/tty_flip.h> |
36 | 36 | ||
37 | #include <linux/capability.h> | ||
37 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
38 | #include <linux/skbuff.h> | 39 | #include <linux/skbuff.h> |
39 | 40 | ||
diff --git a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c index b8ce14b22181..159fb8409824 100644 --- a/net/bridge/br_ioctl.c +++ b/net/bridge/br_ioctl.c | |||
@@ -13,6 +13,7 @@ | |||
13 | * 2 of the License, or (at your option) any later version. | 13 | * 2 of the License, or (at your option) any later version. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/capability.h> | ||
16 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
17 | #include <linux/if_bridge.h> | 18 | #include <linux/if_bridge.h> |
18 | #include <linux/netdevice.h> | 19 | #include <linux/netdevice.h> |
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index 98cf53c81fad..6f577f16c4c0 100644 --- a/net/bridge/br_sysfs_br.c +++ b/net/bridge/br_sysfs_br.c | |||
@@ -11,6 +11,7 @@ | |||
11 | * 2 of the License, or (at your option) any later version. | 11 | * 2 of the License, or (at your option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/capability.h> | ||
14 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
15 | #include <linux/netdevice.h> | 16 | #include <linux/netdevice.h> |
16 | #include <linux/if_bridge.h> | 17 | #include <linux/if_bridge.h> |
diff --git a/net/bridge/br_sysfs_if.c b/net/bridge/br_sysfs_if.c index 2ebdc23bbe26..0ac0355d16dd 100644 --- a/net/bridge/br_sysfs_if.c +++ b/net/bridge/br_sysfs_if.c | |||
@@ -11,6 +11,7 @@ | |||
11 | * 2 of the License, or (at your option) any later version. | 11 | * 2 of the License, or (at your option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/capability.h> | ||
14 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
15 | #include <linux/netdevice.h> | 16 | #include <linux/netdevice.h> |
16 | #include <linux/if_bridge.h> | 17 | #include <linux/if_bridge.h> |
diff --git a/net/core/dev.c b/net/core/dev.c index bf66b114d3c2..fd070a098f20 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <asm/uaccess.h> | 75 | #include <asm/uaccess.h> |
76 | #include <asm/system.h> | 76 | #include <asm/system.h> |
77 | #include <linux/bitops.h> | 77 | #include <linux/bitops.h> |
78 | #include <linux/capability.h> | ||
78 | #include <linux/config.h> | 79 | #include <linux/config.h> |
79 | #include <linux/cpu.h> | 80 | #include <linux/cpu.h> |
80 | #include <linux/types.h> | 81 | #include <linux/types.h> |
diff --git a/net/core/dv.c b/net/core/dv.c index 1516a90a138d..cf581407538c 100644 --- a/net/core/dv.c +++ b/net/core/dv.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/netdevice.h> | 24 | #include <linux/netdevice.h> |
25 | #include <linux/etherdevice.h> | 25 | #include <linux/etherdevice.h> |
26 | #include <linux/skbuff.h> | 26 | #include <linux/skbuff.h> |
27 | #include <linux/capability.h> | ||
27 | #include <linux/errno.h> | 28 | #include <linux/errno.h> |
28 | #include <linux/init.h> | 29 | #include <linux/init.h> |
29 | #include <net/dst.h> | 30 | #include <net/dst.h> |
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 0350586e9195..e6f76106a99b 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
14 | #include <linux/capability.h> | ||
14 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
15 | #include <linux/ethtool.h> | 16 | #include <linux/ethtool.h> |
16 | #include <linux/netdevice.h> | 17 | #include <linux/netdevice.h> |
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 58adaf208dd6..e8b2acbc8ea2 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c | |||
@@ -9,6 +9,7 @@ | |||
9 | * 2 of the License, or (at your option) any later version. | 9 | * 2 of the License, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/capability.h> | ||
12 | #include <linux/config.h> | 13 | #include <linux/config.h> |
13 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
14 | #include <linux/netdevice.h> | 15 | #include <linux/netdevice.h> |
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 631056d44b7b..39063122fbb7 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -116,13 +116,13 @@ | |||
116 | #include <linux/sched.h> | 116 | #include <linux/sched.h> |
117 | #include <linux/slab.h> | 117 | #include <linux/slab.h> |
118 | #include <linux/vmalloc.h> | 118 | #include <linux/vmalloc.h> |
119 | #include <linux/sched.h> | ||
120 | #include <linux/unistd.h> | 119 | #include <linux/unistd.h> |
121 | #include <linux/string.h> | 120 | #include <linux/string.h> |
122 | #include <linux/ptrace.h> | 121 | #include <linux/ptrace.h> |
123 | #include <linux/errno.h> | 122 | #include <linux/errno.h> |
124 | #include <linux/ioport.h> | 123 | #include <linux/ioport.h> |
125 | #include <linux/interrupt.h> | 124 | #include <linux/interrupt.h> |
125 | #include <linux/capability.h> | ||
126 | #include <linux/delay.h> | 126 | #include <linux/delay.h> |
127 | #include <linux/timer.h> | 127 | #include <linux/timer.h> |
128 | #include <linux/init.h> | 128 | #include <linux/init.h> |
diff --git a/net/core/scm.c b/net/core/scm.c index e887d19be506..649d01ef35b6 100644 --- a/net/core/scm.c +++ b/net/core/scm.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/signal.h> | 13 | #include <linux/signal.h> |
14 | #include <linux/capability.h> | ||
14 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
15 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
16 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
diff --git a/net/core/sock.c b/net/core/sock.c index 6465b0e4c8cb..6e00811d44bc 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -91,6 +91,7 @@ | |||
91 | * 2 of the License, or (at your option) any later version. | 91 | * 2 of the License, or (at your option) any later version. |
92 | */ | 92 | */ |
93 | 93 | ||
94 | #include <linux/capability.h> | ||
94 | #include <linux/config.h> | 95 | #include <linux/config.h> |
95 | #include <linux/errno.h> | 96 | #include <linux/errno.h> |
96 | #include <linux/types.h> | 97 | #include <linux/types.h> |
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 78ec5344be86..ce4aaf94860d 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c | |||
@@ -122,6 +122,7 @@ Version 0.0.6 2.1.110 07-aug-98 Eduardo Marcelo Serrat | |||
122 | #include <net/flow.h> | 122 | #include <net/flow.h> |
123 | #include <asm/system.h> | 123 | #include <asm/system.h> |
124 | #include <asm/ioctls.h> | 124 | #include <asm/ioctls.h> |
125 | #include <linux/capability.h> | ||
125 | #include <linux/mm.h> | 126 | #include <linux/mm.h> |
126 | #include <linux/interrupt.h> | 127 | #include <linux/interrupt.h> |
127 | #include <linux/proc_fs.h> | 128 | #include <linux/proc_fs.h> |
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 5610bb16dbf9..efbead83ba7f 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <linux/config.h> | 27 | #include <linux/config.h> |
28 | #include <linux/capability.h> | ||
28 | #include <linux/module.h> | 29 | #include <linux/module.h> |
29 | #include <linux/moduleparam.h> | 30 | #include <linux/moduleparam.h> |
30 | #include <linux/init.h> | 31 | #include <linux/init.h> |
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 966a071a408c..97c276f95b35 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -79,6 +79,7 @@ | |||
79 | #include <linux/string.h> | 79 | #include <linux/string.h> |
80 | #include <linux/sockios.h> | 80 | #include <linux/sockios.h> |
81 | #include <linux/net.h> | 81 | #include <linux/net.h> |
82 | #include <linux/capability.h> | ||
82 | #include <linux/fcntl.h> | 83 | #include <linux/fcntl.h> |
83 | #include <linux/mm.h> | 84 | #include <linux/mm.h> |
84 | #include <linux/interrupt.h> | 85 | #include <linux/interrupt.h> |
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 37432088fe6d..accdefedfed7 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
@@ -79,6 +79,7 @@ | |||
79 | #include <linux/string.h> | 79 | #include <linux/string.h> |
80 | #include <linux/kernel.h> | 80 | #include <linux/kernel.h> |
81 | #include <linux/sched.h> | 81 | #include <linux/sched.h> |
82 | #include <linux/capability.h> | ||
82 | #include <linux/config.h> | 83 | #include <linux/config.h> |
83 | #include <linux/socket.h> | 84 | #include <linux/socket.h> |
84 | #include <linux/sockios.h> | 85 | #include <linux/sockios.h> |
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 7b9bb28e2ee9..95b9d81ac488 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <asm/uaccess.h> | 32 | #include <asm/uaccess.h> |
33 | #include <asm/system.h> | 33 | #include <asm/system.h> |
34 | #include <linux/bitops.h> | 34 | #include <linux/bitops.h> |
35 | #include <linux/capability.h> | ||
35 | #include <linux/module.h> | 36 | #include <linux/module.h> |
36 | #include <linux/types.h> | 37 | #include <linux/types.h> |
37 | #include <linux/kernel.h> | 38 | #include <linux/kernel.h> |
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 18f5e509281a..5b25fc0d980c 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/uaccess.h> | 20 | #include <asm/uaccess.h> |
21 | #include <asm/system.h> | 21 | #include <asm/system.h> |
22 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
23 | #include <linux/capability.h> | ||
23 | #include <linux/types.h> | 24 | #include <linux/types.h> |
24 | #include <linux/kernel.h> | 25 | #include <linux/kernel.h> |
25 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 1e93eafa7af1..abe23923e4e7 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -10,6 +10,7 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/capability.h> | ||
13 | #include <linux/config.h> | 14 | #include <linux/config.h> |
14 | #include <linux/module.h> | 15 | #include <linux/module.h> |
15 | #include <linux/types.h> | 16 | #include <linux/types.h> |
diff --git a/net/ipv4/ip_options.c b/net/ipv4/ip_options.c index d3f6c468faf4..9bebad07bf2e 100644 --- a/net/ipv4/ip_options.c +++ b/net/ipv4/ip_options.c | |||
@@ -11,6 +11,7 @@ | |||
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/capability.h> | ||
14 | #include <linux/module.h> | 15 | #include <linux/module.h> |
15 | #include <linux/types.h> | 16 | #include <linux/types.h> |
16 | #include <asm/uaccess.h> | 17 | #include <asm/uaccess.h> |
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index bc5ca23b2646..e5cbe72c6b80 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -93,6 +93,7 @@ | |||
93 | */ | 93 | */ |
94 | 94 | ||
95 | 95 | ||
96 | #include <linux/capability.h> | ||
96 | #include <linux/config.h> | 97 | #include <linux/config.h> |
97 | #include <linux/module.h> | 98 | #include <linux/module.h> |
98 | #include <linux/types.h> | 99 | #include <linux/types.h> |
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index f58ac9854c3f..5c94c222e3f3 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/uaccess.h> | 33 | #include <asm/uaccess.h> |
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/sched.h> | 35 | #include <linux/sched.h> |
36 | #include <linux/capability.h> | ||
36 | #include <linux/errno.h> | 37 | #include <linux/errno.h> |
37 | #include <linux/timer.h> | 38 | #include <linux/timer.h> |
38 | #include <linux/mm.h> | 39 | #include <linux/mm.h> |
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c index c935c5086d33..7f0288b25fa1 100644 --- a/net/ipv4/ipvs/ip_vs_ctl.c +++ b/net/ipv4/ipvs/ip_vs_ctl.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <linux/capability.h> | ||
26 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
27 | #include <linux/sysctl.h> | 28 | #include <linux/sysctl.h> |
28 | #include <linux/proc_fs.h> | 29 | #include <linux/proc_fs.h> |
diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index bba156304695..b6d5284c8020 100644 --- a/net/ipv4/netfilter/arp_tables.c +++ b/net/ipv4/netfilter/arp_tables.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/skbuff.h> | 14 | #include <linux/skbuff.h> |
15 | #include <linux/netdevice.h> | 15 | #include <linux/netdevice.h> |
16 | #include <linux/capability.h> | ||
16 | #include <linux/if_arp.h> | 17 | #include <linux/if_arp.h> |
17 | #include <linux/kmod.h> | 18 | #include <linux/kmod.h> |
18 | #include <linux/vmalloc.h> | 19 | #include <linux/vmalloc.h> |
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 2a26d167e149..877bc96d3336 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
@@ -14,6 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | #include <linux/config.h> | 15 | #include <linux/config.h> |
16 | #include <linux/cache.h> | 16 | #include <linux/cache.h> |
17 | #include <linux/capability.h> | ||
17 | #include <linux/skbuff.h> | 18 | #include <linux/skbuff.h> |
18 | #include <linux/kmod.h> | 19 | #include <linux/kmod.h> |
19 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index e53e421eeee9..7129d4239755 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -58,6 +58,7 @@ | |||
58 | #ifdef CONFIG_SYSCTL | 58 | #ifdef CONFIG_SYSCTL |
59 | #include <linux/sysctl.h> | 59 | #include <linux/sysctl.h> |
60 | #endif | 60 | #endif |
61 | #include <linux/capability.h> | ||
61 | #include <linux/delay.h> | 62 | #include <linux/delay.h> |
62 | #include <linux/notifier.h> | 63 | #include <linux/notifier.h> |
63 | #include <linux/string.h> | 64 | #include <linux/string.h> |
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 25c3fe5005d9..064ffab82a9f 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | 23 | ||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | #include <linux/capability.h> | ||
25 | #include <linux/config.h> | 26 | #include <linux/config.h> |
26 | #include <linux/errno.h> | 27 | #include <linux/errno.h> |
27 | #include <linux/types.h> | 28 | #include <linux/types.h> |
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index 6b7294047238..65e73ac0d6d0 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c | |||
@@ -13,6 +13,7 @@ | |||
13 | * 2 of the License, or (at your option) any later version. | 13 | * 2 of the License, or (at your option) any later version. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/capability.h> | ||
16 | #include <linux/config.h> | 17 | #include <linux/config.h> |
17 | #include <linux/module.h> | 18 | #include <linux/module.h> |
18 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c index c4a3a993acb7..99a6eb23378b 100644 --- a/net/ipv6/datagram.c +++ b/net/ipv6/datagram.c | |||
@@ -13,6 +13,7 @@ | |||
13 | * 2 of the License, or (at your option) any later version. | 13 | * 2 of the License, or (at your option) any later version. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/capability.h> | ||
16 | #include <linux/errno.h> | 17 | #include <linux/errno.h> |
17 | #include <linux/types.h> | 18 | #include <linux/types.h> |
18 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
diff --git a/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c index 89d12b4817a9..964ad9d1276d 100644 --- a/net/ipv6/ip6_flowlabel.c +++ b/net/ipv6/ip6_flowlabel.c | |||
@@ -9,6 +9,7 @@ | |||
9 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | 9 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/capability.h> | ||
12 | #include <linux/config.h> | 13 | #include <linux/config.h> |
13 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
14 | #include <linux/types.h> | 15 | #include <linux/types.h> |
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index c3c2bf699a67..92ead3cf956b 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include <linux/config.h> | 22 | #include <linux/config.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/capability.h> | ||
24 | #include <linux/errno.h> | 25 | #include <linux/errno.h> |
25 | #include <linux/types.h> | 26 | #include <linux/types.h> |
26 | #include <linux/sockios.h> | 27 | #include <linux/sockios.h> |
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index 5eac9318320e..f7142ba519ab 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | #include <linux/capability.h> | ||
29 | #include <linux/config.h> | 30 | #include <linux/config.h> |
30 | #include <linux/errno.h> | 31 | #include <linux/errno.h> |
31 | #include <linux/types.h> | 32 | #include <linux/types.h> |
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index 925b42d48347..1390370186d9 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
@@ -14,6 +14,8 @@ | |||
14 | * 06 Jun 2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 14 | * 06 Jun 2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
15 | * - new extension header parser code | 15 | * - new extension header parser code |
16 | */ | 16 | */ |
17 | |||
18 | #include <linux/capability.h> | ||
17 | #include <linux/config.h> | 19 | #include <linux/config.h> |
18 | #include <linux/in.h> | 20 | #include <linux/in.h> |
19 | #include <linux/skbuff.h> | 21 | #include <linux/skbuff.h> |
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 66140f13d119..e0d3ad02ffb5 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * reachable. otherwise, round-robin the list. | 24 | * reachable. otherwise, round-robin the list. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <linux/capability.h> | ||
27 | #include <linux/config.h> | 28 | #include <linux/config.h> |
28 | #include <linux/errno.h> | 29 | #include <linux/errno.h> |
29 | #include <linux/types.h> | 30 | #include <linux/types.h> |
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 0dae48aa1cec..c2d3e17beae6 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #include <linux/config.h> | 21 | #include <linux/config.h> |
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/capability.h> | ||
23 | #include <linux/errno.h> | 24 | #include <linux/errno.h> |
24 | #include <linux/types.h> | 25 | #include <linux/types.h> |
25 | #include <linux/socket.h> | 26 | #include <linux/socket.h> |
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 0dc519b40404..0fb513a34d11 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c | |||
@@ -29,6 +29,7 @@ | |||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <linux/config.h> | 31 | #include <linux/config.h> |
32 | #include <linux/capability.h> | ||
32 | #include <linux/errno.h> | 33 | #include <linux/errno.h> |
33 | #include <linux/if_arp.h> | 34 | #include <linux/if_arp.h> |
34 | #include <linux/if_ether.h> | 35 | #include <linux/if_ether.h> |
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index fbfa96754417..759445648667 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -43,6 +43,7 @@ | |||
43 | ********************************************************************/ | 43 | ********************************************************************/ |
44 | 44 | ||
45 | #include <linux/config.h> | 45 | #include <linux/config.h> |
46 | #include <linux/capability.h> | ||
46 | #include <linux/module.h> | 47 | #include <linux/module.h> |
47 | #include <linux/types.h> | 48 | #include <linux/types.h> |
48 | #include <linux/socket.h> | 49 | #include <linux/socket.h> |
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 70543d89438b..890bac0d4a56 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/string.h> | 33 | #include <linux/string.h> |
34 | #include <linux/proc_fs.h> | 34 | #include <linux/proc_fs.h> |
35 | #include <linux/skbuff.h> | 35 | #include <linux/skbuff.h> |
36 | #include <linux/capability.h> | ||
36 | #include <linux/if.h> | 37 | #include <linux/if.h> |
37 | #include <linux/if_ether.h> | 38 | #include <linux/if_ether.h> |
38 | #include <linux/if_arp.h> | 39 | #include <linux/if_arp.h> |
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index b391cb3893d4..e4fe1e80029c 100644 --- a/net/irda/irnet/irnet.h +++ b/net/irda/irnet/irnet.h | |||
@@ -248,6 +248,7 @@ | |||
248 | #include <linux/netdevice.h> | 248 | #include <linux/netdevice.h> |
249 | #include <linux/miscdevice.h> | 249 | #include <linux/miscdevice.h> |
250 | #include <linux/poll.h> | 250 | #include <linux/poll.h> |
251 | #include <linux/capability.h> | ||
251 | #include <linux/config.h> | 252 | #include <linux/config.h> |
252 | #include <linux/ctype.h> /* isspace() */ | 253 | #include <linux/ctype.h> /* isspace() */ |
253 | #include <asm/uaccess.h> | 254 | #include <asm/uaccess.h> |
diff --git a/net/key/af_key.c b/net/key/af_key.c index 4c2f6d694f88..43f1ce74187d 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -15,6 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/config.h> | 17 | #include <linux/config.h> |
18 | #include <linux/capability.h> | ||
18 | #include <linux/module.h> | 19 | #include <linux/module.h> |
19 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
20 | #include <linux/socket.h> | 21 | #include <linux/socket.h> |
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index bb50c8a9fcad..2101b45d2ec6 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/config.h> | 24 | #include <linux/config.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | 26 | ||
27 | #include <linux/capability.h> | ||
27 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
28 | #include <linux/init.h> | 29 | #include <linux/init.h> |
29 | #include <linux/signal.h> | 30 | #include <linux/signal.h> |
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 63b0e4afeb33..d44981f5a619 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/config.h> | 11 | #include <linux/config.h> |
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/moduleparam.h> | 13 | #include <linux/moduleparam.h> |
14 | #include <linux/capability.h> | ||
14 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
15 | #include <linux/types.h> | 16 | #include <linux/types.h> |
16 | #include <linux/socket.h> | 17 | #include <linux/socket.h> |
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index c6ee29f8eec0..ee93abc71cb8 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/types.h> | 53 | #include <linux/types.h> |
54 | #include <linux/sched.h> | 54 | #include <linux/sched.h> |
55 | #include <linux/mm.h> | 55 | #include <linux/mm.h> |
56 | #include <linux/capability.h> | ||
56 | #include <linux/fcntl.h> | 57 | #include <linux/fcntl.h> |
57 | #include <linux/socket.h> | 58 | #include <linux/socket.h> |
58 | #include <linux/in.h> | 59 | #include <linux/in.h> |
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index 63090be2315a..ea65396d1619 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c | |||
@@ -9,7 +9,9 @@ | |||
9 | * Copyright (C) Terry Dawson VK2KTJ (terry@animats.net) | 9 | * Copyright (C) Terry Dawson VK2KTJ (terry@animats.net) |
10 | * Copyright (C) Tomi Manninen OH2BNS (oh2bns@sral.fi) | 10 | * Copyright (C) Tomi Manninen OH2BNS (oh2bns@sral.fi) |
11 | */ | 11 | */ |
12 | |||
12 | #include <linux/config.h> | 13 | #include <linux/config.h> |
14 | #include <linux/capability.h> | ||
13 | #include <linux/module.h> | 15 | #include <linux/module.h> |
14 | #include <linux/moduleparam.h> | 16 | #include <linux/moduleparam.h> |
15 | #include <linux/init.h> | 17 | #include <linux/init.h> |
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index a268eab68ca1..c98ee375ba5e 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -63,6 +63,7 @@ | |||
63 | #include <linux/wait.h> | 63 | #include <linux/wait.h> |
64 | #include <linux/time.h> | 64 | #include <linux/time.h> |
65 | #include <linux/ip.h> | 65 | #include <linux/ip.h> |
66 | #include <linux/capability.h> | ||
66 | #include <linux/fcntl.h> | 67 | #include <linux/fcntl.h> |
67 | #include <linux/poll.h> | 68 | #include <linux/poll.h> |
68 | #include <linux/init.h> | 69 | #include <linux/init.h> |
diff --git a/net/wanrouter/af_wanpipe.c b/net/wanrouter/af_wanpipe.c index 7a43ae4721ed..8b9bf4a763b5 100644 --- a/net/wanrouter/af_wanpipe.c +++ b/net/wanrouter/af_wanpipe.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/mm.h> | 38 | #include <linux/mm.h> |
39 | #include <linux/capability.h> | ||
39 | #include <linux/fcntl.h> | 40 | #include <linux/fcntl.h> |
40 | #include <linux/socket.h> | 41 | #include <linux/socket.h> |
41 | #include <linux/in.h> | 42 | #include <linux/in.h> |
diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c index bcf7b3faa76a..c34833dc7cc1 100644 --- a/net/wanrouter/wanmain.c +++ b/net/wanrouter/wanmain.c | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | #include <linux/config.h> | 45 | #include <linux/config.h> |
46 | #include <linux/stddef.h> /* offsetof(), etc. */ | 46 | #include <linux/stddef.h> /* offsetof(), etc. */ |
47 | #include <linux/capability.h> | ||
47 | #include <linux/errno.h> /* return codes */ | 48 | #include <linux/errno.h> /* return codes */ |
48 | #include <linux/kernel.h> | 49 | #include <linux/kernel.h> |
49 | #include <linux/init.h> | 50 | #include <linux/init.h> |
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index bfabaf9cba87..72b6ff3299ba 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | #include <linux/config.h> | 38 | #include <linux/config.h> |
39 | #include <linux/module.h> | 39 | #include <linux/module.h> |
40 | #include <linux/capability.h> | ||
40 | #include <linux/errno.h> | 41 | #include <linux/errno.h> |
41 | #include <linux/kernel.h> | 42 | #include <linux/kernel.h> |
42 | #include <linux/sched.h> | 43 | #include <linux/sched.h> |