Home
last modified time | relevance | path

Searched refs:HasOpenDirectory (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/sandbox/linux/services/
Dcredentials_unittest.cc72 TEST(Credentials, HasOpenDirectory) { in TEST() argument
75 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()
Dcredentials.h47 bool HasOpenDirectory(int proc_fd);
Dcredentials.cc205 bool Credentials::HasOpenDirectory(int proc_fd) { in HasOpenDirectory() function in sandbox::Credentials
343 DCHECK(!HasOpenDirectory(-1)); in DropFileSystemAccess()
/external/chromium_org/components/nacl/loader/sandbox_linux/
Dnacl_sandbox_linux.cc67 bool NaClSandbox::HasOpenDirectory() { in HasOpenDirectory() function in nacl::NaClSandbox
70 return credentials.HasOpenDirectory(proc_fd_.get()); in HasOpenDirectory()
82 CHECK(!HasOpenDirectory()); in InitializeLayerOneSandbox()
129 CHECK(!HasOpenDirectory()); in SealLayerOneSandbox()
Dnacl_sandbox_linux.h50 bool HasOpenDirectory();
/external/chromium_org/content/common/sandbox_linux/
Dsandbox_linux.cc381 return sandbox::Credentials().HasOpenDirectory(proc_fd_); in HasOpenDirectories()
/external/chromium_org/components/nacl/loader/
Dnacl_helper_linux.cc101 CHECK(!nacl_sandbox->HasOpenDirectory()); in BecomeNaClLoader()