]> git.baikalelectronics.ru Git - kernel.git/commit
security: add cred argument to security_capable()
authorChris Wright <chrisw@sous-sol.org>
Thu, 10 Feb 2011 06:11:51 +0000 (22:11 -0800)
committerJames Morris <jmorris@namei.org>
Fri, 11 Feb 2011 06:41:58 +0000 (17:41 +1100)
commit9c0a7459f25934dedcfa2219b1010ce47433e3b2
treeaba9e9427debd4fa5b904daefa8e71a6320f4b93
parent2b826a6a1e407ad5116c8c9ac7ba993b8e656397
security: add cred argument to security_capable()

Expand security_capable() to include cred, so that it can be usable in a
wider range of call sites.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
kernel/capability.c
security/security.c