diff options
author | Chris Wright <chrisw@sous-sol.org> | 2006-03-25 12:07:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 17:22:56 +0100 |
commit | 12b5989be10011387a9da5dee82e5c0d6f9d02e7 (patch) | |
tree | 74da71d407bf26bf97c639bb2b473de233a736ac /security/commoncap.c | |
parent | [PATCH] add a proper prototype for setup_arch() (diff) | |
download | linux-12b5989be10011387a9da5dee82e5c0d6f9d02e7.tar.xz linux-12b5989be10011387a9da5dee82e5c0d6f9d02e7.zip |
[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>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions