Lines Matching refs:Credentials
50 if (!Credentials::CanCreateProcessInNewUserNS()) { in TestProcWithOptions()
114 CHECK(sandbox::Credentials::MoveToNewUserNS()); in MULTIPROCESS_TEST_MAIN()
115 CHECK(sandbox::Credentials::DropFileSystemAccess(ProcUtil::OpenProc().get())); in MULTIPROCESS_TEST_MAIN()
152 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST_ALLOW_NOISE()
156 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST_ALLOW_NOISE()
174 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST()
178 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST()
185 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST()
196 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST()
200 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST()
207 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST()