Searched refs:SecurityAccessMode (Results 1 – 8 of 8) sorted by relevance
/external/cronet/base/win/ |
D | access_control_list_unittest.cc | 143 ExplicitAccessEntry ace(sid, SecurityAccessMode::kGrant, FakeAccess, in TEST() 146 EXPECT_EQ(SecurityAccessMode::kGrant, ace.mode()); in TEST() 156 SecurityAccessMode::kRevoke, ~FakeAccess, in TEST() 159 EXPECT_EQ(SecurityAccessMode::kRevoke, ace_known.mode()); in TEST() 169 ace_list.emplace_back(Sid(WellKnownSid::kWorld), SecurityAccessMode::kGrant, in TEST() 174 SecurityAccessMode::kDeny, EVENT_MODIFY_STATE, in TEST() 178 ace_list.emplace_back(Sid(WellKnownSid::kWorld), SecurityAccessMode::kRevoke, in TEST() 190 SecurityAccessMode::kGrant, READ_CONTROL, 0)); in TEST() 193 SecurityAccessMode::kGrant, EVENT_MODIFY_STATE, 0)); in TEST() 195 EXPECT_TRUE(acl.SetEntry(Sid(WellKnownSid::kWorld), SecurityAccessMode::kSet, in TEST() [all …]
|
D | access_control_list.h | 21 enum class SecurityAccessMode { kGrant, kSet, kDeny, kRevoke }; enum 27 SecurityAccessMode mode, 31 SecurityAccessMode mode, 41 SecurityAccessMode mode() const { return mode_; } in mode() 49 SecurityAccessMode mode_; 92 SecurityAccessMode mode,
|
D | access_control_list.cc | 41 ACCESS_MODE ConvertAccessMode(SecurityAccessMode access_mode) { in ConvertAccessMode() 43 case SecurityAccessMode::kGrant: in ConvertAccessMode() 45 case SecurityAccessMode::kSet: in ConvertAccessMode() 47 case SecurityAccessMode::kDeny: in ConvertAccessMode() 49 case SecurityAccessMode::kRevoke: in ConvertAccessMode() 86 SecurityAccessMode mode, in ExplicitAccessEntry() 95 SecurityAccessMode mode, in ExplicitAccessEntry() 159 SecurityAccessMode mode, in SetEntry()
|
D | security_util.cc | 28 SecurityAccessMode access_mode) { in AddACEToPath() 73 SecurityAccessMode::kGrant); in GrantAccessToPath() 82 SecurityAccessMode::kDeny); in DenyAccessToPath()
|
D | security_descriptor_unittest.cc | 363 ace_list.emplace_back(Sid(WellKnownSid::kWorld), SecurityAccessMode::kGrant, in TEST() 368 SecurityAccessMode::kDeny, EVENT_MODIFY_STATE, 0); in TEST() 371 ace_list.emplace_back(Sid(WellKnownSid::kWorld), SecurityAccessMode::kRevoke, in TEST() 380 SecurityAccessMode::kGrant, READ_CONTROL, 0)); in TEST() 383 SecurityAccessMode::kGrant, EVENT_MODIFY_STATE, in TEST() 387 SecurityAccessMode::kSet, EVENT_ALL_ACCESS, 0)); in TEST() 390 SecurityAccessMode::kDeny, EVENT_MODIFY_STATE, in TEST() 394 SecurityAccessMode::kRevoke, EVENT_ALL_ACCESS, in TEST() 398 EXPECT_TRUE(sd.SetDaclEntry(WellKnownSid::kWorld, SecurityAccessMode::kGrant, in TEST() 434 SecurityAccessMode::kGrant, FILE_ALL_ACCESS, 0)); in TEST()
|
D | security_descriptor.h | 168 SecurityAccessMode mode, 181 SecurityAccessMode mode,
|
D | security_descriptor.cc | 373 SecurityAccessMode mode, in SetDaclEntry() 383 SecurityAccessMode mode, in SetDaclEntry()
|
D | access_token_unittest.cc | 687 ASSERT_TRUE(default_dacl.SetEntry(world_sid, SecurityAccessMode::kGrant, in TEST()
|