]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] refactor capable() to one implementation, add __capable() helper
authorChris Wright <chrisw@sous-sol.org>
Sat, 25 Mar 2006 11:07:41 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:56 +0000 (08:22 -0800)
commit12b5989be10011387a9da5dee82e5c0d6f9d02e7
tree74da71d407bf26bf97c639bb2b473de233a736ac
parent77d47582c2345e071df02afaf9191641009287c4
[PATCH] refactor capable() to one implementation, add __capable() helper

Move capable() to kernel/capability.c and eliminate duplicate
implementations.  Add __capable() function which can be used to check for
capabiilty of any process.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/capability.h
include/linux/security.h
kernel/capability.c
kernel/sys.c
security/security.c