Searched refs:HasCapability (Results 1 – 3 of 3) sorted by relevance
183 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_ADMIN)); in SANDBOX_TEST()184 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()190 CHECK(!Credentials::HasCapability(Credentials::Capability::SYS_ADMIN)); in SANDBOX_TEST()191 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()205 CHECK(Credentials::HasCapability(Credentials::Capability::SYS_CHROOT)); in SANDBOX_TEST()
61 static bool HasCapability(Capability cap);
226 bool Credentials::HasCapability(Capability cap) { in HasCapability() function in sandbox::Credentials