Home
last modified time | relevance | path

Searched refs:GetPSID (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dsid_unittest.cc25 SID *sid_world_pointer = const_cast<SID*>(sid_world.GetPSID()); in TEST()
29 ASSERT_TRUE(EqualSid(sid_world_pointer, sid_sid_star.GetPSID())); in TEST()
33 ASSERT_TRUE(EqualSid(sid_world_pointer, sid_copy.GetPSID())); in TEST()
40 TEST(SidTest, GetPSID) { in TEST() argument
42 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinLocalSid).GetPSID()); in TEST()
43 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinCreatorOwnerSid).GetPSID()); in TEST()
44 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinBatchSid).GetPSID()); in TEST()
46 ASSERT_TRUE(EqualSid(Sid(::WinNullSid).GetPSID(), in TEST()
47 ATL::Sids::Null().GetPSID())); in TEST()
49 ASSERT_TRUE(EqualSid(Sid(::WinWorldSid).GetPSID(), in TEST()
[all …]
Dacl.cc50 const_cast<SID*>(sid.GetPSID())); in AddSidToDacl()
106 if (!AddSidToDacl(sid.GetPSID(), old_dacl, access_mode, access, &new_dacl)) { in AddKnownSidToObject()
Dsid.h21 const SID *GetPSID() const;
Dsid.cc22 const SID *Sid::GetPSID() const { in GetPSID() function in sandbox::Sid
Drestricted_token.cc63 const_cast<SID*>(sids_for_deny_only_[i].GetPSID()); in GetRestrictedTokenHandle()
74 const_cast<SID*>(sids_to_restrict_[i].GetPSID()); in GetRestrictedTokenHandle()
224 if (::EqualSid(const_cast<SID*>((*exceptions)[j].GetPSID()), in AddAllSidsForDenyOnly()
Drestricted_token_unittest.cc105 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST()
146 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST()
448 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST()
525 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST()
/external/chromium_org/cloud_print/service/win/
Dlocal_security_policy.cc91 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count); in IsPrivilegeSet()
117 ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()), in SetPrivilege()
/external/chromium_org/chrome_frame/
Dchrome_tab.cc511 const_cast<SID*>(owner.GetPSID()), NULL, in RestoreSecurity()