Home
last modified time | relevance | path

Searched refs:OwnerSid (Results 1 – 10 of 10) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dsecurity.c242 PTOKEN_OWNER OwnerSid; in RtlDefaultNpAcl() local
298 OwnerSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ReturnLength); in RtlDefaultNpAcl()
299 if (OwnerSid == NULL) in RtlDefaultNpAcl()
308 OwnerSid, in RtlDefaultNpAcl()
322 RtlLengthSid(OwnerSid->Owner); // Owner in RtlDefaultNpAcl()
353 RtlAddAccessAllowedAce(*pAcl, ACL_REVISION2, GENERIC_ALL, OwnerSid->Owner); in RtlDefaultNpAcl()
379 RtlFreeHeap(RtlGetProcessHeap(), 0, OwnerSid); in RtlDefaultNpAcl()
396 IN PSID OwnerSid OPTIONAL, in RtlCreateAndSetSD()
561 IN PSID OwnerSid, in RtlCreateUserSecurityObject() argument
575 OwnerSid, in RtlCreateUserSecurityObject()
H A Dsysvol.c143 PSID OwnerSid; in RtlpSysVolCheckOwnerAndSecurity() local
188 &OwnerSid, in RtlpSysVolCheckOwnerAndSecurity()
240 if (OwnerSid != NULL && in RtlpSysVolCheckOwnerAndSecurity()
241 RtlEqualSid(OwnerSid, in RtlpSysVolCheckOwnerAndSecurity()
/reactos/dll/win32/aclui/
H A Daclui.c92 if (sp->OwnerSid != NULL) in DestroySecurityPage()
93 LocalFree((HLOCAL)sp->OwnerSid); in DestroySecurityPage()
508 PSID OwnerSid = NULL; in ReloadPrincipalsList() local
529 if (sp->OwnerSid != NULL) in ReloadPrincipalsList()
532 sp->OwnerSid = NULL; in ReloadPrincipalsList()
535 SidLen = GetLengthSid(OwnerSid); in ReloadPrincipalsList()
541 if (sp->OwnerSid != NULL) in ReloadPrincipalsList()
544 sp->OwnerSid, in ReloadPrincipalsList()
545 OwnerSid)) in ReloadPrincipalsList()
681 if (sp->OwnerSid != NULL && in UpdatePrincipalInfo()
[all …]
H A Dprecomp.h55 PSID OwnerSid; member
/reactos/ntoskrnl/se/
H A Ddebug.c222 PSID OwnerSid, GroupSid; in SepDumpSdDebugInfo() local
234 OwnerSid = SepGetOwnerFromDescriptor(SecurityDescriptor); in SepDumpSdDebugInfo()
246 if (OwnerSid) in SepDumpSdDebugInfo()
248 RtlConvertSidToUnicodeString(&SidString, OwnerSid, TRUE); in SepDumpSdDebugInfo()
H A Dtokenlif.c1576 PSID OwnerSid, PrimaryGroupSid; in NtCreateToken() local
1635 OwnerSid = TokenOwner->Owner; in NtCreateToken()
1639 OwnerSid = NULL; in NtCreateToken()
1679 OwnerSid = TokenOwner ? TokenOwner->Owner : NULL; in NtCreateToken()
1746 Status = SepCaptureSid(OwnerSid, in NtCreateToken()
/reactos/dll/win32/advapi32/misc/
H A Dlogon.c140 PSID OwnerSid = NULL, SystemSid = NULL, PrimaryGroupSid = NULL; in CreateDefaultProcessSecurityCommon() local
234 OwnerSid = OwnerOfToken->Owner; in CreateDefaultProcessSecurityCommon()
239 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(OwnerSid) + in CreateDefaultProcessSecurityCommon()
265 OwnerSid)) in CreateDefaultProcessSecurityCommon()
300 if (!SetSecurityDescriptorOwner(&AbsoluteSd, OwnerSid, FALSE)) in CreateDefaultProcessSecurityCommon()
/reactos/base/system/smss/
H A Dsminit.c979 PSID RestrictedSid = NULL, OwnerSid = NULL; in SmpCreateSecurityDescriptors() local
1069 &OwnerSid); in SmpCreateSecurityDescriptors()
1072 OwnerSid = NULL; in SmpCreateSecurityDescriptors()
1177 SidLength += RtlLengthSid(OwnerSid); in SmpCreateSecurityDescriptors()
1198 Status = RtlAddAccessAllowedAce(Acl, ACL_REVISION2, GENERIC_ALL, OwnerSid); in SmpCreateSecurityDescriptors()
1243 Status = RtlAddAccessAllowedAce(Acl, ACL_REVISION2, GENERIC_ALL, OwnerSid); in SmpCreateSecurityDescriptors()
1269 if (OwnerSid) RtlFreeHeap(RtlGetProcessHeap(), 0, OwnerSid); in SmpCreateSecurityDescriptors()
/reactos/dll/win32/lsasrv/
H A Dauthpackage.c1174 PSID_AND_ATTRIBUTES OwnerSid = NULL; in LsapSetTokenOwner() local
1184 OwnerSid = &TokenInfo1->User.User; in LsapSetTokenOwner()
1189 OwnerSid = &TokenInfo1->Groups->Groups[i]; in LsapSetTokenOwner()
1194 Length = RtlLengthSid(OwnerSid->Sid); in LsapSetTokenOwner()
1200 OwnerSid->Sid, in LsapSetTokenOwner()
1202 OwnerSid->Attributes |= SE_GROUP_OWNER; in LsapSetTokenOwner()
/reactos/dll/win32/shell32/shellrecyclebin/
H A Drecyclebin_v5.cpp568 _In_ PSID OwnerSid OPTIONAL) in RecycleBin5_Create()
607 if (OwnerSid) in RecycleBin5_Create()