HomeSort by relevance Sort by last modified time
    Searched defs:ValidatePath (Results 1 - 2 of 2) sorted by null

  /external/libchrome/sandbox/linux/syscall_broker/
broker_file_permission.cc 21 bool BrokerFilePermission::ValidatePath(const char* path) {
89 if (!ValidatePath(requested_filename))
134 if (!ValidatePath(requested_filename))
broker_file_permission_unittest.cc 25 static bool ValidatePath(const char* path) {
26 return BrokerFilePermission::ValidatePath(path);
244 TEST(BrokerFilePermission, ValidatePath) {
245 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/path"));
246 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/"));
247 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/..path"));
249 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath(""));
250 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("bad"));
251 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("/bad/"));
252 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("bad/"))
    [all...]

Completed in 67 milliseconds