Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc61 scoped_ptr<BrokerProcess> open_broker(new BrokerProcess(EPERM, permissions)); in TEST() local
62 ASSERT_TRUE(open_broker->Init(base::Bind(&NoOpCallback))); in TEST()
66 open_broker.reset(); in TEST()
72 BrokerProcess open_broker(EPERM, empty); in TEST() local
73 ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); in TEST()
75 int fd = open_broker.Open(NULL, O_RDONLY); in TEST()
78 int ret = open_broker.Access(NULL, F_OK); in TEST()
98 BrokerProcess open_broker(denied_errno, permissions, fast_check_in_client); in TestOpenFilePerms() local
99 ASSERT_TRUE(open_broker.Init(base::Bind(&NoOpCallback))); in TestOpenFilePerms()
102 fd = open_broker.Open(kR_WhiteListed, O_RDONLY); in TestOpenFilePerms()
[all …]