Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc422 const char kCpuInfo[] = "/proc/cpuinfo"; in SANDBOX_TEST() local
424 permissions.push_back(BrokerFilePermission::ReadOnly(kCpuInfo)); in SANDBOX_TEST()
442 SANDBOX_ASSERT(open_broker.Open(kCpuInfo, O_RDONLY) == -ENOMEM); in SANDBOX_TEST()
443 SANDBOX_ASSERT(open_broker.Access(kCpuInfo, O_RDONLY) == -ENOMEM); in SANDBOX_TEST()
447 const char kCpuInfo[] = "/proc/cpuinfo"; in TestOpenComplexFlags() local
449 permissions.push_back(BrokerFilePermission::ReadOnly(kCpuInfo)); in TestOpenComplexFlags()
456 fd = open_broker.Open(kCpuInfo, O_RDONLY); in TestOpenComplexFlags()
464 fd = open_broker.Open(kCpuInfo, O_RDONLY | O_CLOEXEC); in TestOpenComplexFlags()
473 fd = open_broker.Open(kCpuInfo, O_RDONLY | O_NONBLOCK); in TestOpenComplexFlags()
536 static const char kCpuInfo[] = "/proc/cpuinfo"; in SANDBOX_TEST_ALLOW_NOISE() local
[all …]