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)
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>

No differences found