/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlDeleteAce.c | 144 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 146 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 148 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 158 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 160 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 162 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 172 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 174 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 176 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() 186 Ace = (PACCESS_ALLOWED_ACE)((PCHAR)Ace + Ace->Header.AceSize); in START_TEST() [all …]
|
/reactos/sdk/lib/rtl/ |
H A D | acl.c | 52 IN PVOID Ace, in RtlpAddData() 97 PKNOWN_ACE Ace; in RtlpAddKnownAce() local 548 *Ace = (PVOID)((PACE)((ULONG_PTR)(*Ace) + ((PACE)(*Ace))->Header.AceSize)); in RtlGetAce() 603 Ace = (PACE)((ULONG_PTR)Ace + Ace->Header.AceSize); in RtlAddAce() 623 Ace = (PACE)((ULONG_PTR)Ace + Ace->Header.AceSize); in RtlAddAce() 629 Ace, in RtlAddAce() 660 while (AceIndex--) Ace = (PACE)((ULONG_PTR)Ace + Ace->Header.AceSize); in RtlDeleteAce() 713 PACE Ace; in RtlQueryInformationAcl() local 757 if (Ace) in RtlQueryInformationAcl() 839 PACE_HEADER Ace; in RtlValidAcl() local [all …]
|
H A D | sysvol.c | 146 PACE Ace = NULL; in RtlpSysVolCheckOwnerAndSecurity() local 251 (PVOID*)&Ace); in RtlpSysVolCheckOwnerAndSecurity() 254 Ace = NULL; in RtlpSysVolCheckOwnerAndSecurity() 256 else if (Ace != NULL && Ace->Header.AceType == ACCESS_ALLOWED_ACE_TYPE) in RtlpSysVolCheckOwnerAndSecurity() 260 if (RtlEqualSid((PSID)(Ace + 1), in RtlpSysVolCheckOwnerAndSecurity() 265 if (!(Ace->Header.AceFlags & OBJECT_INHERIT_ACE) || in RtlpSysVolCheckOwnerAndSecurity() 266 !(Ace->Header.AceFlags & CONTAINER_INHERIT_ACE)) in RtlpSysVolCheckOwnerAndSecurity() 268 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE; in RtlpSysVolCheckOwnerAndSecurity() 282 } while (Ace != NULL); in RtlpSysVolCheckOwnerAndSecurity()
|
/reactos/modules/rostests/kmtests/ntos_se/ |
H A D | SeHelpers.c | 23 PSYSTEM_AUDIT_ACE Ace; in RtlxAddAuditAccessAceEx() local 30 if (!Ace) in RtlxAddAuditAccessAceEx() 33 Ace->Header.AceFlags = Flags; in RtlxAddAuditAccessAceEx() 34 Ace->Header.AceSize = AceSize; in RtlxAddAuditAccessAceEx() 35 Ace->Mask = AccessMask; in RtlxAddAuditAccessAceEx() 45 Ace, in RtlxAddAuditAccessAceEx() 66 if (!Ace) in RtlxAddMandatoryLabelAceEx() 69 Ace->Header.AceFlags = Flags; in RtlxAddMandatoryLabelAceEx() 70 Ace->Header.AceSize = AceSize; in RtlxAddMandatoryLabelAceEx() 71 Ace->Mask = AccessMask; in RtlxAddMandatoryLabelAceEx() [all …]
|
/reactos/dll/win32/ntmarta/ |
H A D | ntmarta.c | 131 Size += sizeof(Ace->ObjectType); in AccpGetAceStructureSize() 143 Size += sizeof(Ace->ObjectType); in AccpGetAceStructureSize() 163 Size += sizeof(Ace->ObjectType); in AccpGetAceStructureSize() 174 Size += sizeof(Ace->ObjectType); in AccpGetAceStructureSize() 305 ObjectType = &Ace->ObjectType; in AccpGetObjectAceObjectType() 313 ObjectType = &Ace->ObjectType; in AccpGetObjectAceObjectType() 321 ObjectType = &Ace->ObjectType; in AccpGetObjectAceObjectType() 328 ObjectType = &Ace->ObjectType; in AccpGetObjectAceObjectType() 352 ObjectType = &Ace->ObjectType; in AccpGetObjectAceInheritedObjectType() 365 ObjectType = &Ace->ObjectType; in AccpGetObjectAceInheritedObjectType() [all …]
|
/reactos/ntoskrnl/se/ |
H A D | debug.c | 94 PACE Ace; in SepDumpAces() local 103 Status = RtlGetAce(Acl, AceIndex, (PVOID*)&Ace); in SepDumpAces() 116 DbgPrint("Ace -> 0x%p\n", Ace); in SepDumpAces() 117 DbgPrint("Ace->Header -> 0x%p\n", Ace->Header); in SepDumpAces() 118 DbgPrint("Ace->Header.AceType -> %s\n", SepGetAceTypeString(Ace->Header.AceType)); in SepDumpAces() 119 DbgPrint("Ace->AccessMask -> 0x%08lx\n", Ace->AccessMask); in SepDumpAces() 121 Sid = SepGetSidFromAce(Ace); in SepDumpAces() 127 DbgPrint("Ace->Header.AceSize -> %u\n", Ace->Header.AceSize); in SepDumpAces() 129 SepDumpAceFlags(Ace->Header.AceFlags); in SepDumpAces()
|
H A D | objtype.c | 181 _In_ PACE Ace, in SepGetObjectTypeGuidFromAce() argument 189 ASSERT(Ace); in SepGetObjectTypeGuidFromAce() 192 ObjectTypeGuid = IsAceDenied ? (PGUID)&((PACCESS_DENIED_OBJECT_ACE)Ace)->ObjectType : in SepGetObjectTypeGuidFromAce() 193 (PGUID)&((PACCESS_ALLOWED_OBJECT_ACE)Ace)->ObjectType; in SepGetObjectTypeGuidFromAce()
|
H A D | sid.c | 573 _In_ PACE Ace) in SepGetSidFromAce() argument 581 ASSERT(Ace); in SepGetSidFromAce() 584 switch (Ace->Header.AceType) in SepGetSidFromAce() 591 Sid = (PSID)&((PKNOWN_ACE)Ace)->SidStart; in SepGetSidFromAce() 598 Flags = (PULONG)&((PKNOWN_OBJECT_ACE)Ace)->Flags; in SepGetSidFromAce() 609 Sid = (PSID)((ULONG_PTR)&((PKNOWN_OBJECT_ACE)Ace)->SidStart + GuidSize); in SepGetSidFromAce() 615 … DPRINT1("SepGetSidFromAce(): Unknown ACE type (Ace 0x%p, Type %u)\n", Ace, Ace->Header.AceType); in SepGetSidFromAce()
|
H A D | accesschk.c | 2146 PKNOWN_ACE Ace; in SeFastTraverseCheck() local 2170 for (AceIndex = 0, Ace = (PKNOWN_ACE)((ULONG_PTR)Dacl + sizeof(ACL)); in SeFastTraverseCheck() 2172 AceIndex++, Ace = (PKNOWN_ACE)((ULONG_PTR)Ace + Ace->Header.AceSize)) in SeFastTraverseCheck() 2174 if (Ace->Header.AceFlags & INHERIT_ONLY_ACE) in SeFastTraverseCheck() 2178 if (Ace->Header.AceType == ACCESS_ALLOWED_ACE_TYPE) in SeFastTraverseCheck() 2181 if (!(Ace->Mask & DesiredAccess)) in SeFastTraverseCheck() 2185 if (RtlEqualSid(SeWorldSid, &(Ace->SidStart))) in SeFastTraverseCheck() 2189 else if (Ace->Header.AceType == ACCESS_DENIED_ACE_TYPE) in SeFastTraverseCheck() 2192 if (Ace->Mask & DesiredAccess) in SeFastTraverseCheck()
|
/reactos/base/applications/cacls/ |
H A D | cacls.c | 100 PACCESS_ALLOWED_ACE Ace; in PrintFileDacl() local 106 (PVOID*)&Ace)) in PrintFileDacl() 115 DWORD AccessMask = Ace->Mask; in PrintFileDacl() 116 PSID Sid = (PSID)&Ace->SidStart; in PrintFileDacl() 209 if (Ace->Header.AceFlags & CONTAINER_INHERIT_ACE) in PrintFileDacl() 213 if (Ace->Header.AceFlags & OBJECT_INHERIT_ACE) in PrintFileDacl() 217 if (Ace->Header.AceFlags & INHERIT_ONLY_ACE) in PrintFileDacl() 227 if (Ace->Header.AceType & ACCESS_DENIED_ACE_TYPE) in PrintFileDacl() 245 else if (!(Ace->Mask & (GENERIC_READ | GENERIC_EXECUTE)) && in PrintFileDacl() 305 … if ((Ace->Mask & AccessRights[x].Access) == AccessRights[x].Access) in PrintFileDacl()
|
/reactos/base/system/smss/ |
H A D | sminit.c | 985 PACE_HEADER Ace; in SmpCreateSecurityDescriptors() local 1155 Status = RtlGetAce(Acl, 3, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1158 Status = RtlGetAce(Acl, 4, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1161 Status = RtlGetAce(Acl, 5, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1202 Status = RtlGetAce(Acl, 3, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1205 Status = RtlGetAce(Acl, 4, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1208 Status = RtlGetAce(Acl, 5, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1211 Status = RtlGetAce(Acl, 6, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1247 Status = RtlGetAce(Acl, 3, (PVOID)&Ace); in SmpCreateSecurityDescriptors() 1250 Status = RtlGetAce(Acl, 4, (PVOID)&Ace); in SmpCreateSecurityDescriptors() [all …]
|
/reactos/subsystems/csr/csrsrv/ |
H A D | init.c | 221 PACCESS_ALLOWED_ACE Ace; in GetDosDevicesProtection() local 314 Status = RtlGetAce(Dacl, 0, (PVOID*)&Ace); in GetDosDevicesProtection() 316 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE; in GetDosDevicesProtection() 317 Status = RtlGetAce(Dacl, 1, (PVOID*)&Ace); in GetDosDevicesProtection() 319 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE; in GetDosDevicesProtection() 320 Status = RtlGetAce(Dacl, 2, (PVOID*)&Ace); in GetDosDevicesProtection() 322 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in GetDosDevicesProtection() 350 Status = RtlGetAce(Dacl, 2, (PVOID*)&Ace); in GetDosDevicesProtection() 352 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in GetDosDevicesProtection()
|
/reactos/dll/win32/aclui/ |
H A D | aclui.c | 1162 PACCESS_ALLOWED_ACE Ace; in BuildDefaultPrincipalAce() local 1169 Ace = HeapAlloc(GetProcessHeap(), in BuildDefaultPrincipalAce() 1172 if (Ace != NULL) in BuildDefaultPrincipalAce() 1174 Ace->Header.AceType = ACCESS_ALLOWED_ACE_TYPE; in BuildDefaultPrincipalAce() 1175 Ace->Header.AceFlags = 0; /* FIXME */ in BuildDefaultPrincipalAce() 1176 Ace->Header.AceSize = AceSize; in BuildDefaultPrincipalAce() 1177 Ace->Mask = sp->DefaultAccess.mask; in BuildDefaultPrincipalAce() 1180 (PSID)&Ace->SidStart, in BuildDefaultPrincipalAce() 1183 return &Ace->Header; in BuildDefaultPrincipalAce() 1188 Ace); in BuildDefaultPrincipalAce()
|
/reactos/sdk/lib/3rdparty/cardlib/ |
H A D | card.h | 12 enum eValue { Ace = 1, Two = 2, Three = 3, Four = 4, Five = 5, Six = 6, Seven = 7, enumerator
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | device.c | 788 PACCESS_ALLOWED_ACE Ace; in IopCreateDefaultDeviceSecurityDescriptor() local 845 while (NT_SUCCESS(RtlGetAce(Dacl, AceId, (PVOID *)&Ace))) in IopCreateDefaultDeviceSecurityDescriptor() 848 if (RtlEqualSid(SeAliasAdminsSid, &Ace->SidStart)) in IopCreateDefaultDeviceSecurityDescriptor() 850 SetFlag(Ace->Mask, (GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE)); in IopCreateDefaultDeviceSecurityDescriptor() 855 if (DeviceType == FILE_DEVICE_CD_ROM && RtlEqualSid(SeWorldSid, &Ace->SidStart)) in IopCreateDefaultDeviceSecurityDescriptor() 857 SetFlag(Ace->Mask, GENERIC_READ); in IopCreateDefaultDeviceSecurityDescriptor()
|
/reactos/dll/win32/netapi32/ |
H A D | user.c | 81 OUT PACCESS_ALLOWED_ACE *Ace) in GetAllowedWorldAce() argument 90 *Ace = NULL; in GetAllowedWorldAce() 116 *Ace = (PACCESS_ALLOWED_ACE)LocalAce; in GetAllowedWorldAce() 130 PACCESS_ALLOWED_ACE Ace = NULL; in GetAccountFlags() local 136 Status = GetAllowedWorldAce(Dacl, &Ace); in GetAccountFlags() 139 if (Ace == NULL) in GetAccountFlags() 143 else if ((Ace->Mask & USER_CHANGE_PASSWORD) == 0) in GetAccountFlags() 266 PACCESS_ALLOWED_ACE Ace = NULL; in ChangeUserDacl() local 272 Status = GetAllowedWorldAce(Dacl, &Ace); in ChangeUserDacl() 277 Ace->Mask &= ~USER_CHANGE_PASSWORD; in ChangeUserDacl() [all …]
|
/reactos/ntoskrnl/include/internal/ |
H A D | se.h | 637 _In_ PACE Ace); 849 _In_ PACE Ace,
|
/reactos/modules/rostests/tests/tokentest/ |
H A D | tokentest.c | 84 PROS_ACE *Ace
|
/reactos/base/applications/mscutils/eventvwr/lang/ |
H A D | pt-PT.rc | 134 LTEXT "Ace&dido:", IDC_STATIC, 7, 93, 60, 8
|
/reactos/sdk/include/ndk/ |
H A D | rtlfuncs.h | 1435 PACE* Ace 1451 PVOID *Ace
|
/reactos/sdk/include/xdk/ |
H A D | rtlfuncs.h | 1887 _Outptr_ PVOID *Ace);
|