/reactos/base/services/dhcpcsvc/dhcp/ |
H A D | pipe.c | 64 PSID AuthenticatedUsersSid = NULL, NetworkOpsSid = NULL, AdminsSid = NULL, SystemSid = NULL; in CreateDhcpPipeSecurity() local 105 &SystemSid)) in CreateDhcpPipeSecurity() 131 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid); in CreateDhcpPipeSecurity() 181 SystemSid)) in CreateDhcpPipeSecurity() 202 if (!SetSecurityDescriptorGroup(AbsSD, SystemSid, FALSE)) in CreateDhcpPipeSecurity() 258 if (SystemSid) in CreateDhcpPipeSecurity() 260 FreeSid(SystemSid); in CreateDhcpPipeSecurity()
|
/reactos/subsystems/csr/csrsrv/ |
H A D | init.c | 214 PSID WorldSid, CreatorSid, AdminSid, SystemSid; in GetDosDevicesProtection() local 234 &SystemSid); in GetDosDevicesProtection() 295 SidLength = RtlLengthSid(CreatorSid) + RtlLengthSid(SystemSid) + in GetDosDevicesProtection() 306 Status = RtlAddAccessAllowedAce(Dacl, ACL_REVISION, GENERIC_ALL, SystemSid); in GetDosDevicesProtection() 332 SidLength = RtlLengthSid(WorldSid) + RtlLengthSid(SystemSid); in GetDosDevicesProtection() 344 Status = RtlAddAccessAllowedAce(Dacl, ACL_REVISION, GENERIC_ALL, SystemSid); in GetDosDevicesProtection() 370 RtlFreeSid(SystemSid); in GetDosDevicesProtection() 850 PSID SystemSid; in CsrCreateLocalSystemSD() local 860 &SystemSid); in CsrCreateLocalSystemSD() 863 Length = RtlLengthSid(SystemSid) + sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE); in CsrCreateLocalSystemSD() [all …]
|
/reactos/base/services/umpnpmgr/ |
H A D | install.c | 349 PSID SystemSid = NULL, AdminsSid = NULL; in CreatePnpInstallEventSecurity() local 356 &SystemSid)) in CreatePnpInstallEventSecurity() 373 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid) + in CreatePnpInstallEventSecurity() 392 SystemSid)) in CreatePnpInstallEventSecurity() 419 if (!SetSecurityDescriptorOwner(&AbsoluteSd, SystemSid, FALSE)) in CreatePnpInstallEventSecurity() 451 if (SystemSid) in CreatePnpInstallEventSecurity() 453 FreeSid(SystemSid); in CreatePnpInstallEventSecurity()
|
/reactos/subsystems/win/basesrv/ |
H A D | init.c | 178 PSID SystemSid, WorldSid, RestrictedSid; in CreateBaseAcls() local 235 &SystemSid); in CreateBaseAcls() 248 RtlFreeSid(SystemSid); in CreateBaseAcls() 260 RtlFreeSid(SystemSid); in CreateBaseAcls() 266 RtlLengthSid(SystemSid) + in CreateBaseAcls() 301 NT_SUCCESS(RtlAddAccessAllowedAce(*Dacl, ACL_REVISION2, DIRECTORY_ALL_ACCESS, SystemSid))) in CreateBaseAcls() 340 … Status = RtlAddAccessAllowedAce(*RestrictedDacl, ACL_REVISION2, DIRECTORY_ALL_ACCESS, SystemSid); in CreateBaseAcls() 351 RtlFreeSid(SystemSid); in CreateBaseAcls()
|
H A D | dosdev.c | 485 PSID SystemSid; in CSR_API() local 962 &SystemSid); in CSR_API() 992 RtlAddAccessAllowedAce(&Dacl.Dacl, ACL_REVISION2, AccessMask, SystemSid); in CSR_API() 996 RtlFreeSid(SystemSid); in CSR_API()
|
/reactos/sdk/lib/rtl/ |
H A D | sysvol.c | 21 OUT PSID *SystemSid) in RtlpSysVolCreateSecurityDescriptor() argument 101 *SystemSid = LocalSystemSid; in RtlpSysVolCreateSecurityDescriptor() 559 PSID SystemSid = NULL; in RtlCreateSystemVolumeInformationFolder() local 612 &SystemSid); in RtlCreateSystemVolumeInformationFolder() 672 RtlFreeSid(SystemSid); in RtlCreateSystemVolumeInformationFolder()
|
/reactos/subsystems/csr/csrlib/ |
H A D | connect.c | 55 PSID SystemSid = NULL; in CsrpConnectToServer() local 131 &SystemSid); in CsrpConnectToServer() 145 SystemSid, in CsrpConnectToServer() 150 RtlFreeSid(SystemSid); in CsrpConnectToServer()
|
/reactos/base/services/rpcss/ |
H A D | setup.c | 56 …static SID SystemSid = { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_LOCAL_SYSTEM_RID }… in RunningAsSYSTEM() local 81 bRet = EqualSid(pTokenUser->User.Sid, &SystemSid); in RunningAsSYSTEM()
|
/reactos/dll/win32/advapi32/misc/ |
H A D | logon.c | 140 PSID OwnerSid = NULL, SystemSid = NULL, PrimaryGroupSid = NULL; in CreateDefaultProcessSecurityCommon() local 226 &SystemSid)) in CreateDefaultProcessSecurityCommon() 240 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid); in CreateDefaultProcessSecurityCommon() 276 SystemSid)) in CreateDefaultProcessSecurityCommon() 359 if (SystemSid != NULL) in CreateDefaultProcessSecurityCommon() 360 FreeSid(SystemSid); in CreateDefaultProcessSecurityCommon()
|
/reactos/dll/win32/powrprof/ |
H A D | powrprof.c | 853 PSID AuthenticatedUsersSid = NULL, SystemSid = NULL, AdminsSid = NULL; in CreatePowrProfSemaphoreSecurity() local 871 &SystemSid)) in CreatePowrProfSemaphoreSecurity() 893 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid) + in CreatePowrProfSemaphoreSecurity() 918 SystemSid)) in CreatePowrProfSemaphoreSecurity() 941 if (!SetSecurityDescriptorGroup(&AbsSd, SystemSid, FALSE)) in CreatePowrProfSemaphoreSecurity() 969 if (SystemSid) in CreatePowrProfSemaphoreSecurity() 971 FreeSid(SystemSid); in CreatePowrProfSemaphoreSecurity()
|
/reactos/base/system/smss/ |
H A D | sminit.c | 978 PSID WorldSid = NULL, AdminSid = NULL, SystemSid = NULL; in SmpCreateSecurityDescriptors() local 1091 &SystemSid); in SmpCreateSecurityDescriptors() 1094 SystemSid = NULL; in SmpCreateSecurityDescriptors() 1108 SidLength = RtlLengthSid(SystemSid) + RtlLengthSid(AdminSid); in SmpCreateSecurityDescriptors() 1119 Status = RtlAddAccessAllowedAce(Acl, ACL_REVISION2, GENERIC_ALL, SystemSid); in SmpCreateSecurityDescriptors() 1272 if (SystemSid) RtlFreeHeap(RtlGetProcessHeap(), 0, SystemSid); in SmpCreateSecurityDescriptors()
|