Searched refs:CheckOpen (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_file_permission_unittest.cc | 94 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm() 95 ASSERT_FALSE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm() 96 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm() 101 ASSERT_FALSE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm() 102 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm() 103 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm() 108 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm() 109 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm() 110 ASSERT_TRUE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm() 153 perm.CheckOpen(path, access_flags | flag, &file_to_open, NULL)); in CheckPerm() [all …]
|
D | broker_policy.cc | 90 if (permissions_array_[i].CheckOpen(requested_filename, requested_flags, in GetFileNameIfAllowedToOpen()
|
D | broker_file_permission.h | 66 bool CheckOpen(const char* requested_filename,
|
D | broker_file_permission.cc | 130 bool BrokerFilePermission::CheckOpen(const char* requested_filename, in CheckOpen() function in sandbox::syscall_broker::BrokerFilePermission
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnixAPIChecker.cpp | 39 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 91 void UnixAPIChecker::CheckOpen(CheckerContext &C, const CallExpr *CE) const { in CheckOpen() function in UnixAPIChecker 362 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt()
|