From: Chris Wright Date: Sat, 25 Mar 2006 11:07:41 +0000 (-0800) Subject: [PATCH] refactor capable() to one implementation, add __capable() helper X-Git-Tag: v2.6.17-rc1~794 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12b5989be10011387a9da5dee82e5c0d6f9d02e7;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed