Home
last modified time | relevance | path

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

/external/chromium_org/rlz/lib/
Drlz_lib_test.cc612 typed_buffer_ptr<SID> users_sid(users_sid_size); in TEST_F() local
613 CreateWellKnownSid(WinBuiltinUsersSid, NULL, users_sid, &users_sid_size); in TEST_F()
619 EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, NULL)); in TEST_F()
627 EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); in TEST_F()
630 EXPECT_TRUE(AddAccessAllowedAce(dacl, ACL_REVISION, KEY_READ, users_sid)); in TEST_F()
631 EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); in TEST_F()
635 EXPECT_TRUE(AddAccessAllowedAce(dacl, ACL_REVISION, KEY_WRITE, users_sid)); in TEST_F()
636 EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); in TEST_F()
641 users_sid)); in TEST_F()
643 users_sid)); in TEST_F()
[all …]
/external/chromium_org/rlz/win/lib/
Drlz_lib_win.cc99 typed_buffer_ptr<SID> users_sid(users_sid_size); in CreateMachineState() local
100 CreateWellKnownSid(WinBuiltinUsersSid, NULL, users_sid, &users_sid_size); in CreateMachineState()
145 if (HasAccess(users_sid, KEY_ALL_ACCESS, dacl)) { in CreateMachineState()