capabilites: introduce new has_ns_capabilities_noaudit
authorEric Paris <eparis@redhat.com>
Tue, 3 Jan 2012 17:25:15 +0000 (12:25 -0500)
committerEric Paris <eparis@redhat.com>
Thu, 5 Jan 2012 23:52:57 +0000 (18:52 -0500)
commit7b61d648499e74dbec3d4ce645675e0ae040ae78
treedbf56a4e0cf344d22ac4deb71bb1a83ef02526e5
parent25e75703410a84b80623da3653db6b70282e5c6a
capabilites: introduce new has_ns_capabilities_noaudit

For consistency in interfaces, introduce a new interface called
has_ns_capabilities_noaudit.  It checks if the given task has the given
capability in the given namespace.  Use this new function by
has_capabilities_noaudit.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
include/linux/capability.h
kernel/capability.c