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 /net/atm | |
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>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/br2684.c | 1 | ||||
-rw-r--r-- | net/atm/clip.c | 1 | ||||
-rw-r--r-- | net/atm/ioctl.c | 1 | ||||
-rw-r--r-- | net/atm/lec.c | 1 | ||||
-rw-r--r-- | net/atm/mpc.c | 1 | ||||
-rw-r--r-- | net/atm/pppoatm.c | 1 | ||||
-rw-r--r-- | net/atm/raw.c | 1 | ||||
-rw-r--r-- | net/atm/resources.c | 1 |
8 files changed, 8 insertions, 0 deletions
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 | ||