OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProcUtil
(Results
1 - 8
of
8
) sorted by null
/external/libchrome/sandbox/linux/services/
proc_util_unittest.cc
16
TEST(
ProcUtil
, CountOpenFds) {
19
int fd_count =
ProcUtil
::CountOpenFds(proc_fd.get());
22
EXPECT_EQ(fd_count + 1,
ProcUtil
::CountOpenFds(proc_fd.get()));
24
EXPECT_EQ(fd_count,
ProcUtil
::CountOpenFds(proc_fd.get()));
27
TEST(
ProcUtil
, HasOpenDirectory) {
29
EXPECT_FALSE(
ProcUtil
::HasOpenDirectory());
34
EXPECT_TRUE(
ProcUtil
::HasOpenDirectory());
36
EXPECT_FALSE(
ProcUtil
::HasOpenDirectory());
39
TEST(
ProcUtil
, HasOpenDirectoryWithFD) {
46
EXPECT_TRUE(
ProcUtil
::HasOpenDirectory())
[
all
...]
proc_util.h
14
class SANDBOX_EXPORT
ProcUtil
{
37
DISALLOW_IMPLICIT_CONSTRUCTORS(
ProcUtil
);
proc_util.cc
41
int
ProcUtil
::CountOpenFds(int proc_fd) {
71
bool
ProcUtil
::HasOpenDirectory(int proc_fd) {
108
bool
ProcUtil
::HasOpenDirectory() {
115
base::ScopedFD
ProcUtil
::OpenProc() {
credentials_unittest.cc
151
CHECK(Credentials::DropFileSystemAccess(
ProcUtil
::OpenProc().get()));
163
base::ScopedFD proc_fd(
ProcUtil
::OpenProc());
181
base::ScopedFD proc_fd(
ProcUtil
::OpenProc());
203
base::ScopedFD proc_fd(
ProcUtil
::OpenProc());
222
base::ScopedFD proc_fd(
ProcUtil
::OpenProc());
252
CHECK(Credentials::DropFileSystemAccess(
ProcUtil
::OpenProc().get()));
thread_helpers.cc
167
base::ScopedFD task_fd(
ProcUtil
::OpenProc());
179
base::ScopedFD task_fd(
ProcUtil
::OpenProc());
credentials.cc
167
base::ScopedFD proc_fd(
ProcUtil
::OpenProc());
319
CHECK(!
ProcUtil
::HasOpenDirectory(proc_fd));
namespace_sandbox_unittest.cc
116
CHECK(sandbox::Credentials::DropFileSystemAccess(
ProcUtil
::OpenProc().get()));
/external/libchrome/sandbox/linux/seccomp-bpf/
sandbox_bpf.cc
162
SetProcFd(
ProcUtil
::OpenProc());
Completed in 134 milliseconds