| commit | 12b5989be10011387a9da5dee82e5c0d6f9d02e7 | [log] [tgz] |
|---|---|---|
| author | Chris Wright <chrisw@sous-sol.org> | Sat Mar 25 03:07:41 2006 -0800 |
| committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Mar 25 08:22:56 2006 -0800 |
| tree | 74da71d407bf26bf97c639bb2b473de233a736ac | |
| parent | 77d47582c2345e071df02afaf9191641009287c4 [diff] |
[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>