[PATCH] move capable() to capability.h
commitc59ede7b78db329949d9cdcd7064e22d357560ef
authorRandy.Dunlap <rdunlap@xenotime.net>
Wed, 11 Jan 2006 20:17:46 +0000 (11 12:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 02:42:13 +0000 (11 18:42 -0800)
treef9dc9d464fdad5bfd464d983e77c1af031389dda
parente16885c5ad624a6efe1b1bf764e075d75f65a788
[PATCH] move capable() to capability.h

- Move capable() from sched.h to capability.h;

- Use <linux/capability.h> where capable() is used
(in include/, block/, ipc/, kernel/, a few drivers/,
mm/, security/, & sound/;
many more drivers/ to go)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
41 files changed:
block/ioctl.c
block/scsi_ioctl.c
drivers/acorn/char/i2c.c
drivers/base/firmware_class.c
drivers/base/memory.c
drivers/firmware/efivars.c
drivers/oprofile/event_buffer.c
drivers/parisc/led.c
drivers/parisc/pdc_stable.c
fs/xfs/linux-2.6/xfs_cred.h
include/linux/capability.h
include/linux/mm.h
include/linux/sched.h
ipc/mqueue.c
ipc/msg.c
ipc/sem.c
ipc/shm.c
ipc/util.c
kernel/acct.c
kernel/capability.c
kernel/exit.c
kernel/fork.c
kernel/kexec.c
kernel/module.c
kernel/ptrace.c
kernel/sched.c
kernel/signal.c
kernel/sys.c
kernel/sysctl.c
kernel/time.c
kernel/uid16.c
mm/filemap.c
mm/mlock.c
mm/mmap.c
mm/mremap.c
mm/swapfile.c
security/commoncap.c
security/dummy.c
security/keys/keyctl.c
security/security.c
sound/pci/emu10k1/emufx.c