HomeSort by relevance Sort by last modified time
    Searched refs:HasOpenDirectory (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/sandbox/linux/services/
credentials.h 39 // Sometimes it's useful to call HasOpenDirectory() after file system access
42 // HasOpenDirectory() and remains owned by the caller. It is very important
47 bool HasOpenDirectory(int proc_fd);
credentials_unittest.cc 72 TEST(Credentials, HasOpenDirectory) {
75 EXPECT_FALSE(creds.HasOpenDirectory(-1));
80 EXPECT_TRUE(creds.HasOpenDirectory(-1));
82 EXPECT_FALSE(creds.HasOpenDirectory(-1));
94 EXPECT_TRUE(creds.HasOpenDirectory(-1));
96 EXPECT_FALSE(creds.HasOpenDirectory(proc_fd));
102 EXPECT_TRUE(creds.HasOpenDirectory(proc_fd));
107 EXPECT_FALSE(creds.HasOpenDirectory(proc_fd));
credentials.cc 205 bool Credentials::HasOpenDirectory(int proc_fd) {
343 DCHECK(!HasOpenDirectory(-1));
  /external/chromium_org/components/nacl/loader/sandbox_linux/
nacl_sandbox_linux.h 31 // 4. CHECK(!HasOpenDirectory));
50 bool HasOpenDirectory();
nacl_sandbox_linux.cc 67 bool NaClSandbox::HasOpenDirectory() {
70 return credentials.HasOpenDirectory(proc_fd_.get());
82 CHECK(!HasOpenDirectory());
129 CHECK(!HasOpenDirectory());
  /external/chromium_org/content/common/sandbox_linux/
sandbox_linux.cc 381 return sandbox::Credentials().HasOpenDirectory(proc_fd_);
  /external/chromium_org/components/nacl/loader/
nacl_helper_linux.cc 101 CHECK(!nacl_sandbox->HasOpenDirectory());

Completed in 227 milliseconds