/reactos/base/system/winlogon/ |
H A D | security.c | 195 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(WinlogonSid) + in CreateWinstaSecurity() 196 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(WinlogonSid) + in CreateWinstaSecurity() 197 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid) + in CreateWinstaSecurity() 198 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid) + in CreateWinstaSecurity() 411 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid) + in CreateApplicationDesktopSecurity() 582 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid); in CreateWinlogonDesktopSecurity() 744 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid) + in CreateScreenSaverSecurity() 942 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(AdminsSid) + in AllowWinstaAccessToUser() 946 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(LogonSid) + in AllowWinstaAccessToUser() 947 sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(LogonSid) + in AllowWinstaAccessToUser() [all …]
|
/reactos/dll/win32/lsasrv/ |
H A D | security.c | 129 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(AdministratorsSid) + in LsapCreatePolicySd() 130 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(EveryoneSid) + in LsapCreatePolicySd() 131 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(AnonymousSid) + in LsapCreatePolicySd() 132 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(LocalServiceSid) + in LsapCreatePolicySd() 133 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(NetworkServiceSid); in LsapCreatePolicySd() 337 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(AdministratorsSid) + in LsapCreateAccountSd() 338 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(EveryoneSid); in LsapCreateAccountSd() 506 sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + RtlLengthSid(EveryoneSid); in LsapCreateSecretSd() 682 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(LocalSystemSid) + in LsapCreateTokenSd() 683 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(AdministratorsSid) + in LsapCreateTokenSd() [all …]
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlFirstFreeAce.c | 160 …(ACE_HEADER), (int)sizeof(ACE_HEADER), (int)sizeof(ACCESS_ALLOWED_ACE), (int)sizeof(ACCESS_ALLOWED… in START_TEST() 167 …e == (PACE)((PCHAR)(Acl + 1) + 2 * sizeof(ACE_HEADER) + 2 * sizeof(ACCESS_ALLOWED_ACE)), "FirstAce… in START_TEST() 170 Acl->AclSize = sizeof(ACL) + 2 * sizeof(ACE_HEADER) + 2 * sizeof(ACCESS_ALLOWED_ACE) - 1; in START_TEST() 177 Acl->AclSize = sizeof(ACL) + 2 * sizeof(ACE_HEADER) + sizeof(ACCESS_ALLOWED_ACE); in START_TEST()
|
H A D | RtlDeleteAce.c | 84 AceSize = FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + FIELD_OFFSET(SID, SubAuthority); in START_TEST() 120 AceSize = FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + FIELD_OFFSET(SID, SubAuthority[1]); in START_TEST()
|
H A D | NtSetInformationToken.c | 100 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(LocalSystemSid); in CreateNewDefaultDacl()
|
/reactos/win32ss/user/ntuser/ |
H A D | security.c | 389 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(TokenUser->User.Sid) + in IntCreateServiceSecurity() 390 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(TokenUser->User.Sid) + in IntCreateServiceSecurity() 391 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SeExports->SeAliasAdminsSid) + in IntCreateServiceSecurity() 392 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SeExports->SeAliasAdminsSid); in IntCreateServiceSecurity()
|
/reactos/base/services/dhcpcsvc/dhcp/ |
H A D | pipe.c | 128 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(AuthenticatedUsersSid) + in CreateDhcpPipeSecurity() 129 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(NetworkOpsSid) + in CreateDhcpPipeSecurity() 130 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(AdminsSid) + in CreateDhcpPipeSecurity() 131 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid); in CreateDhcpPipeSecurity()
|
/reactos/dll/win32/advapi32/token/ |
H A D | token.c | 103 FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart)); in CheckTokenMembership() 137 sizeof(ACL) + SidLen + FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart), in CheckTokenMembership()
|
/reactos/modules/rosapps/applications/sysutils/regexpl/ |
H A D | SecurityDescriptor.cpp | 254 return ((PSID)&(((ACCESS_ALLOWED_ACE *)m_pCurrentACEHeader)->SidStart)); in GetCurrentACE_SID() 271 dwMask = (((ACCESS_ALLOWED_ACE *)m_pCurrentACEHeader)->Mask); in GetCurrentACE_AccessMask()
|
/reactos/subsystems/csr/csrsrv/ |
H A D | init.c | 104 Length = RtlLengthSid(UserSid) + sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE); in CsrSetProcessSecurity() 297 AclLength = sizeof(ACL) + 3 * sizeof(ACCESS_ALLOWED_ACE) + SidLength; in GetDosDevicesProtection() 333 AclLength = sizeof(ACL) + 3 * sizeof(ACCESS_ALLOWED_ACE) + SidLength; in GetDosDevicesProtection() 863 Length = RtlLengthSid(SystemSid) + sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE); in CsrCreateLocalSystemSD()
|
/reactos/drivers/filesystems/btrfs/ |
H A D | security.c | 375 ACCESS_ALLOWED_ACE* aaa; in load_default_acl() 380 size += sizeof(ACCESS_ALLOWED_ACE); in load_default_acl() 397 aaa = (ACCESS_ALLOWED_ACE*)&acl[1]; in load_default_acl() 402 …aaa->Header.AceSize = sizeof(ACCESS_ALLOWED_ACE) - sizeof(ULONG) + 8 + (def_dacls[i].sid->elements… in load_default_acl() 407 aaa = (ACCESS_ALLOWED_ACE*)((uint8_t*)aaa + aaa->Header.AceSize); in load_default_acl()
|
/reactos/ntoskrnl/se/ |
H A D | acl.c | 670 ASSERT(AceSize >= FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + RtlLengthSid(Sid)); in _Out_writes_bytes_opt_() 685 AceSize = FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + RtlLengthSid(Sid); in _Out_writes_bytes_opt_() 710 RtlCopySid(AceSize - FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart), in _Out_writes_bytes_opt_()
|
H A D | semgr.c | 195 DaclLength = sizeof(ACL) + 3 * sizeof(ACCESS_ALLOWED_ACE) + in SepInitializationPhase1()
|
/reactos/dll/win32/userenv/ |
H A D | misc.c | 111 (3 * FIELD_OFFSET(ACCESS_ALLOWED_ACE, in CreateDefaultSecurityDescriptor()
|
/reactos/drivers/network/tcpip/tcpip/ |
H A D | main.c | 584 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SeExports->SeLocalSystemSid) + 585 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SeExports->SeAliasAdminsSid) + 586 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SeExports->SeNetworkServiceSid);
|
/reactos/sdk/include/reactos/subsys/win/ |
H A D | base.h | 27 (FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart) + \
|
/reactos/base/services/umpnpmgr/ |
H A D | install.c | 373 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid) + in CreatePnpInstallEventSecurity() 374 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(AdminsSid); in CreatePnpInstallEventSecurity()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | generated.c | 260 TEST_TYPE_SIZE (ACCESS_ALLOWED_ACE, 12) in test_pack_ACCESS_ALLOWED_ACE() 261 TEST_TYPE_ALIGN (ACCESS_ALLOWED_ACE, 4) in test_pack_ACCESS_ALLOWED_ACE() 262 TEST_FIELD_SIZE (ACCESS_ALLOWED_ACE, Header, 4) in test_pack_ACCESS_ALLOWED_ACE() 263 TEST_FIELD_ALIGN (ACCESS_ALLOWED_ACE, Header, 2) in test_pack_ACCESS_ALLOWED_ACE() 264 TEST_FIELD_OFFSET(ACCESS_ALLOWED_ACE, Header, 0) in test_pack_ACCESS_ALLOWED_ACE() 265 TEST_FIELD_SIZE (ACCESS_ALLOWED_ACE, Mask, 4) in test_pack_ACCESS_ALLOWED_ACE() 266 TEST_FIELD_ALIGN (ACCESS_ALLOWED_ACE, Mask, 4) in test_pack_ACCESS_ALLOWED_ACE() 267 TEST_FIELD_OFFSET(ACCESS_ALLOWED_ACE, Mask, 4) in test_pack_ACCESS_ALLOWED_ACE() 268 TEST_FIELD_SIZE (ACCESS_ALLOWED_ACE, SidStart, 4) in test_pack_ACCESS_ALLOWED_ACE() 3677 TEST_TYPE_SIZE (ACCESS_ALLOWED_ACE, 12) in test_pack_ACCESS_ALLOWED_ACE() [all …]
|
/reactos/dll/win32/wbemprox/ |
H A D | security.c | 71 …BYTE acl_buffer[sizeof(ACL) + 4 * (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + SECURITY_MAX_SID_S… in get_sd()
|
/reactos/dll/win32/powrprof/ |
H A D | powrprof.c | 892 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(AuthenticatedUsersSid) + in CreatePowrProfSemaphoreSecurity() 893 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid) + in CreatePowrProfSemaphoreSecurity() 894 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(AdminsSid); in CreatePowrProfSemaphoreSecurity()
|
/reactos/ntoskrnl/config/ |
H A D | cmse.c | 74 AceLength = FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart); in CmpHiveRootSecurityDescriptor()
|
/reactos/modules/rostests/kmtests/ntos_se/ |
H A D | SeHelpers.c | 183 AceHeader->AceSize - FIELD_OFFSET(ACCESS_ALLOWED_ACE, SidStart), in VCheckAcl__()
|
/reactos/dll/win32/advapi32/misc/ |
H A D | logon.c | 239 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(OwnerSid) + in CreateDefaultProcessSecurityCommon() 240 sizeof(ACCESS_ALLOWED_ACE) + GetLengthSid(SystemSid); in CreateDefaultProcessSecurityCommon()
|
/reactos/drivers/filesystems/udfs/ |
H A D | secursup.cpp | 604 …ULONG Len = 2 * (sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE) + sizeof(ULONG)*4 /*RtlLengthSid(SeExpor… in UDFBuildEmptyAcl() 630 …ULONG Len = sizeof(ACL) + 2*(sizeof(ACCESS_ALLOWED_ACE) + sizeof(ULONG)*4 /*- sizeof(ULONG)*/ /*+ … in UDFBuildFullControlAcl()
|
/reactos/base/system/smss/ |
H A D | sminit.c | 1109 AclLength = sizeof(ACL) + 2 * sizeof(ACCESS_ALLOWED_ACE) + SidLength; in SmpCreateSecurityDescriptors() 1133 AclLength = sizeof(ACL) + 6 * sizeof(ACCESS_ALLOWED_ACE) + SidLength; in SmpCreateSecurityDescriptors() 1178 AclLength = sizeof(ACL) + 7 * sizeof (ACCESS_ALLOWED_ACE) + 2 * SidLength; in SmpCreateSecurityDescriptors() 1223 AclLength = sizeof(ACL) + 7 * sizeof (ACCESS_ALLOWED_ACE) + 2 * SidLength; in SmpCreateSecurityDescriptors()
|