OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasOpenDirectory
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/sandbox/linux/services/
credentials.h
33
// Sometimes it's useful to call
HasOpenDirectory
() after file system access
36
//
HasOpenDirectory
() and remains owned by the caller. It is very important
41
bool
HasOpenDirectory
(int proc_fd);
credentials_unittest.cc
61
TEST(Credentials,
HasOpenDirectory
) {
64
EXPECT_FALSE(creds.
HasOpenDirectory
(-1));
69
EXPECT_TRUE(creds.
HasOpenDirectory
(-1));
71
EXPECT_FALSE(creds.
HasOpenDirectory
(-1));
83
EXPECT_TRUE(creds.
HasOpenDirectory
(-1));
85
EXPECT_FALSE(creds.
HasOpenDirectory
(proc_fd));
91
EXPECT_TRUE(creds.
HasOpenDirectory
(proc_fd));
96
EXPECT_FALSE(creds.
HasOpenDirectory
(proc_fd));
credentials.cc
159
bool Credentials::
HasOpenDirectory
(int proc_fd) {
268
DCHECK(!
HasOpenDirectory
(-1));
/external/chromium_org/content/common/sandbox_linux/
sandbox_linux.cc
340
return sandbox::Credentials().
HasOpenDirectory
(proc_fd_);
Completed in 98 milliseconds