Searched refs:HasOpenDirectory (Results 1 – 7 of 7) sorted by relevance
72 TEST(Credentials, HasOpenDirectory) { in TEST() argument75 EXPECT_FALSE(creds.HasOpenDirectory(-1)); in TEST()80 EXPECT_TRUE(creds.HasOpenDirectory(-1)); in TEST()82 EXPECT_FALSE(creds.HasOpenDirectory(-1)); in TEST()94 EXPECT_TRUE(creds.HasOpenDirectory(-1)); in TEST()96 EXPECT_FALSE(creds.HasOpenDirectory(proc_fd)); in TEST()102 EXPECT_TRUE(creds.HasOpenDirectory(proc_fd)); in TEST()107 EXPECT_FALSE(creds.HasOpenDirectory(proc_fd)); in TEST()
47 bool HasOpenDirectory(int proc_fd);
205 bool Credentials::HasOpenDirectory(int proc_fd) { in HasOpenDirectory() function in sandbox::Credentials343 DCHECK(!HasOpenDirectory(-1)); in DropFileSystemAccess()
67 bool NaClSandbox::HasOpenDirectory() { in HasOpenDirectory() function in nacl::NaClSandbox70 return credentials.HasOpenDirectory(proc_fd_.get()); in HasOpenDirectory()82 CHECK(!HasOpenDirectory()); in InitializeLayerOneSandbox()129 CHECK(!HasOpenDirectory()); in SealLayerOneSandbox()
50 bool HasOpenDirectory();
381 return sandbox::Credentials().HasOpenDirectory(proc_fd_); in HasOpenDirectories()
101 CHECK(!nacl_sandbox->HasOpenDirectory()); in BecomeNaClLoader()