[PATCH] capable/capability.h (arch/)
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 11 Jan 2006 20:17:48 +0000 (12:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 02:42:14 +0000 (18:42 -0800)
arch: 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>
32 files changed:
arch/alpha/kernel/pci-noop.c
arch/arm/common/rtctime.c
arch/arm/kernel/apm.c
arch/cris/arch-v10/drivers/ds1302.c
arch/cris/arch-v10/drivers/pcf8563.c
arch/i386/kernel/apm.c
arch/i386/kernel/cpu/mtrr/if.c
arch/i386/kernel/ioport.c
arch/i386/kernel/microcode.c
arch/i386/kernel/vm86.c
arch/ia64/hp/sim/simserial.c
arch/ia64/ia32/sys_ia32.c
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/salinfo.c
arch/ia64/sn/kernel/tiocx.c
arch/m68k/bvme6000/rtc.c
arch/m68k/kernel/sys_m68k.c
arch/m68k/mvme16x/rtc.c
arch/mips/kernel/syscall.c
arch/mips/kernel/sysirix.c
arch/parisc/hpux/sys_hpux.c
arch/parisc/kernel/perf.c
arch/powerpc/kernel/rtas.c
arch/ppc/4xx_io/serial_sicc.c
arch/ppc/kernel/ppc_htab.c
arch/s390/kernel/compat_linux.c
arch/sparc/kernel/sys_sunos.c
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sunos32.c
arch/sparc64/solaris/fs.c
arch/x86_64/kernel/ioport.c
arch/x86_64/kernel/mce.c

index 9903e3a79102486184dc66e282fab60a9048fe6d..fff5cf93e8164a6a465f5c538d16350d271307e0 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/capability.h>
 #include <linux/mm.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
index 72b03f201eb946f97c9f419090d683ece6ea5bc1..ffb82d5bedefaff24f5deb53e6215b16f333e65a 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/proc_fs.h>
 #include <linux/miscdevice.h>
 #include <linux/spinlock.h>
+#include <linux/capability.h>
 #include <linux/device.h>
 
 #include <asm/rtc.h>
index b9df1b782bb1128b72b30739dbc92671d14c8d2e..766b6c05c6db6a2cf9d97e4a0f8d4a84f475f63b 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/proc_fs.h>
 #include <linux/miscdevice.h>
 #include <linux/apm_bios.h>
+#include <linux/capability.h>
 #include <linux/sched.h>
 #include <linux/pm.h>
 #include <linux/device.h>
index 10795f67f6878a52410bf5baea22b09076597d52..b100f26497c4e4b430d1cf8699d52ce43faffae5 100644 (file)
 #include <linux/miscdevice.h>
 #include <linux/delay.h>
 #include <linux/bcd.h>
+#include <linux/capability.h>
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
index f2c55742e90c2ce1c8ccadd9f22b14e57b365d3c..af517c210383478c14c0a09e607e6d26a06a8a6b 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/ioctl.h>
 #include <linux/delay.h>
 #include <linux/bcd.h>
+#include <linux/capability.h>
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
index 9d8827156e54ad7ea6832f97d34e116f89d14ac1..05312a8abb8b6e3d0b5de7ff74a73d14392fc828 100644 (file)
 #include <linux/sched.h>
 #include <linux/pm.h>
 #include <linux/pm_legacy.h>
+#include <linux/capability.h>
 #include <linux/device.h>
 #include <linux/kernel.h>
 #include <linux/smp.h>
index cf39e205d33ca2a7192bf284a573d5d39b711ee9..5ac051bb9d55e36b4daf4a1a06e072992728d18e 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/init.h>
 #include <linux/proc_fs.h>
+#include <linux/capability.h>
 #include <linux/ctype.h>
 #include <linux/module.h>
 #include <linux/seq_file.h>
index b59a34dbe262d4c3c039608bd27cef3974bfe234..79026f026b85401ee42c3e83bd55c1029e3286e8 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <linux/sched.h>
 #include <linux/kernel.h>
+#include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/ioport.h>
index 165f13158c60c188a63ddd22530b9bf2bc160108..fad3037ebaefbdfe05b173007baff4a9d78bf8f2 100644 (file)
@@ -70,6 +70,7 @@
  */
 
 //#define DEBUG /* pr_debug */
+#include <linux/capability.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/sched.h>
index fc1993564f98c35a4ca31902ca01fa3a1f9a8664..cbdb0afed76a0cf8173fdde0d3c34f55d3fbcef5 100644 (file)
@@ -30,6 +30,7 @@
  *
  */
 
+#include <linux/capability.h>
 #include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/interrupt.h>
index 19ee635eeb707566daa0e3b8d5eafd895490a2a9..a346e1833bf2335b224a298469911233dab809fa 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/fcntl.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
+#include <linux/capability.h>
 #include <linux/console.h>
 #include <linux/module.h>
 #include <linux/serial.h>
index 5ea38286d8d5856dc5005a4f159295c834322f9c..0668b2b7714db553fadee5e6bd51ea941c669ed5 100644 (file)
@@ -48,6 +48,7 @@
 #include <linux/ptrace.h>
 #include <linux/stat.h>
 #include <linux/ipc.h>
+#include <linux/capability.h>
 #include <linux/compat.h>
 #include <linux/vfs.h>
 #include <linux/mman.h>
index 410d4804fa6e0cb4086e6fb6af75760337a60d23..c026ac1142a68733d8c37baf3cb6c33310836c3a 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/pagemap.h>
 #include <linux/mount.h>
 #include <linux/bitops.h>
+#include <linux/capability.h>
 #include <linux/rcupdate.h>
 
 #include <asm/errno.h>
index 1461dc660b43af305b6b0687518f0e771b7d8dfe..a87a162a30865198b179142a90bd1ac548642814 100644 (file)
@@ -29,6 +29,7 @@
  *   Replace some NR_CPUS by cpus_online, for hotplug cpu.
  */
 
+#include <linux/capability.h>
 #include <linux/types.h>
 #include <linux/proc_fs.h>
 #include <linux/module.h>
index 768c21deb2e55f38337c8b1439e0e5a0b27613d7..493fb3f38dc37af5a7bc919cea2a98a9e06ed326 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/proc_fs.h>
+#include <linux/capability.h>
 #include <linux/device.h>
 #include <linux/delay.h>
 #include <asm/system.h>
index eb63ca6ed94c591668bbc94c6861571e36da13f6..f7573f2bcb9c5b356a51aa25a7fc028be1bc8462 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/miscdevice.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
+#include <linux/capability.h>
 #include <linux/fcntl.h>
 #include <linux/init.h>
 #include <linux/poll.h>
index 2ed7b783f6541f97929fcac6c92ca149c6445b13..640895b2c51aa2b55deef87256f2bb659f103dd9 100644 (file)
@@ -6,6 +6,7 @@
  * platform.
  */
 
+#include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/mm.h>
index 7977eae50af27c2344bb432844493c1e8a8a2143..30f5921ece9b2c58c21cef4d13370982248ba722 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/miscdevice.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
+#include <linux/capability.h>
 #include <linux/fcntl.h>
 #include <linux/init.h>
 #include <linux/poll.h>
index ee98eeb65e85f833009c7d3226fbb614db73e65a..006881942aa287fd63f925605e4195954cc1430b 100644 (file)
@@ -9,6 +9,7 @@
  */
 #include <linux/config.h>
 #include <linux/a.out.h>
+#include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/linkage.h>
 #include <linux/mm.h>
index 52924f8ce23c23bc6a53fcfd5e948df2608dc736..0fc3730a294f245bb0d041500207266a3d195a9d 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/binfmts.h>
+#include <linux/capability.h>
 #include <linux/highuid.h>
 #include <linux/pagemap.h>
 #include <linux/mm.h>
index a64fd48fbfb5625d6cb4741bf0237ea8eb79c2a0..29b4d61898f2ca0b76e64dda8abcbab7ac48a76e 100644 (file)
@@ -22,6 +22,7 @@
  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <linux/capability.h>
 #include <linux/file.h>
 #include <linux/fs.h>
 #include <linux/namei.h>
index 79dcbcccecb8677b3456135fa5398d54b7bdc45a..11d406cd0b3e73acfd348c3736d6d71a66b7970b 100644 (file)
@@ -42,6 +42,7 @@
  *  on every box. 
  */
 
+#include <linux/capability.h>
 #include <linux/init.h>
 #include <linux/proc_fs.h>
 #include <linux/miscdevice.h>
index 68bcd2824bc6352ed8507b9dc4d66312d852fbe1..4b9cfe4637b1fcff56cf698f15e250101d28ffe5 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/spinlock.h>
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/capability.h>
 #include <linux/delay.h>
 
 #include <asm/prom.h>
index 84d96b857e4af93fdf6055f59ad177f1d6047ae9..ebc4db8fcc63de0380e2dacc99b5feb5a9abe263 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/init.h>
+#include <linux/capability.h>
 #include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/console.h>
index ca810025993f3a9ab882fb46722cd46543b6e85e..2f5c7650274f26a76e7b4f75cba8ed554dccc33e 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
 #include <linux/sysctl.h>
+#include <linux/capability.h>
 #include <linux/ctype.h>
 #include <linux/threads.h>
 #include <linux/smp_lock.h>
index cd3b3c3e7a9fe9438c423db548214337d01206af..bf9a7a361b3490b892a40aea7c78edb083a0d12c 100644 (file)
@@ -55,6 +55,7 @@
 #include <linux/syscalls.h>
 #include <linux/sysctl.h>
 #include <linux/binfmts.h>
+#include <linux/capability.h>
 #include <linux/compat.h>
 #include <linux/vfs.h>
 #include <linux/ptrace.h>
index d07ae02101add23f16aae1209d4a569ce9edb3e2..288de276d9ffd49c7e54bb511c7106a3414fc4c8 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/stat.h>
 #include <linux/slab.h>
 #include <linux/pagemap.h>
+#include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
index de342ee3116b05b5412e4e91e01815805872e15e..d4b7a100cb8ac5cf61f59b8522cf90f7e116fc57 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/capability.h>
 #include <linux/fs.h> 
 #include <linux/mm.h> 
 #include <linux/file.h> 
index bfa4aa68312dcabd6d4c080c5ea4dbf14e117a46..ae5b32f817f0e33948ab8a25bb0aa687d77ab1ed 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/types.h>
+#include <linux/capability.h>
 #include <linux/compat.h>
 #include <linux/mman.h>
 #include <linux/mm.h>
index d7c99fa89661de5dacf5d45b1a625dc26aeb9ac5..4885ca6cbc777dc2cf0623650db158cc0a5772a8 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/types.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
+#include <linux/capability.h>
 #include <linux/fs.h>
 #include <linux/namei.h>
 #include <linux/mm.h>
index cde0e868efe321c5daadab3aae7684cb4bfb587e..b81614970ecce60315ab9ea10c65c9d4562f253f 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <linux/sched.h>
 #include <linux/kernel.h>
+#include <linux/capability.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/ioport.h>
index 183dc61054295426fcf12262cf94c66ab6df0a0b..ee5f65c44214b234477a1978d778d9f1dd8e2698 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/sysdev.h>
 #include <linux/miscdevice.h>
 #include <linux/fs.h>
+#include <linux/capability.h>
 #include <linux/cpu.h>
 #include <linux/percpu.h>
 #include <linux/ctype.h>