HomeSort by relevance Sort by last modified time
    Searched refs:file_to_open (Results 1 - 6 of 6) sorted by null

  /external/libchrome/sandbox/linux/syscall_broker/
broker_policy.cc 71 // If |file_to_open| is not NULL, we will return the matching pointer from the
72 // whitelist. For paranoia, a caller should then use |file_to_open| rather
77 // Async signal safe if and only if |file_to_open| is NULL.
80 const char** file_to_open,
82 if (file_to_open && *file_to_open) {
86 RAW_LOG(FATAL, "*file_to_open should be NULL");
91 file_to_open, unlink_after_open)) {
broker_file_permission_unittest.cc 87 const char* file_to_open = NULL; local
94 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL));
95 ASSERT_FALSE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL));
96 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL));
101 ASSERT_FALSE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL));
102 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL));
103 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL));
108 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL));
109 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL));
110 ASSERT_TRUE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL))
    [all...]
broker_policy.h 41 // If |file_to_open| is not NULL, a pointer to the path will be returned.
54 // If |file_to_open| is not NULL, a pointer to the path will be returned.
57 // whitelist. For paranoia, a caller should then use |file_to_open| rather
64 // Async signal safe if and only if |file_to_open| is NULL.
67 const char** file_to_open,
broker_file_permission.cc 132 const char** file_to_open,
193 if (file_to_open) {
195 *file_to_open = path_.c_str();
197 *file_to_open = requested_filename;
broker_host.cc 69 const char* file_to_open = NULL; local
72 requested_filename.c_str(), flags, &file_to_open, &unlink_after_open);
75 CHECK(file_to_open);
76 int opened_fd = sys_open(file_to_open, flags);
82 unlink(file_to_open);
broker_file_permission.h 59 // If |file_to_open| is not NULL it is set to point to either
65 // Async signal safe if |file_to_open| is NULL.
68 const char** file_to_open,
72 // If |file_to_open| is not NULL it is set to point to either

Completed in 356 milliseconds