Home
last modified time | relevance | path

Searched refs:AceFlags (Results 1 – 25 of 29) sorted by relevance

12

/reactos/ntoskrnl/se/
H A Dacl.c504 _In_ UCHAR AceFlags, in SepShouldPropagateAce() argument
511 *NewAceFlags = AceFlags; in SepShouldPropagateAce()
517 if (AceFlags & OBJECT_INHERIT_ACE) in SepShouldPropagateAce()
525 if (AceFlags & NO_PROPAGATE_INHERIT_ACE) in SepShouldPropagateAce()
535 if (AceFlags & CONTAINER_INHERIT_ACE) in SepShouldPropagateAce()
537 …*NewAceFlags = CONTAINER_INHERIT_ACE | (AceFlags & OBJECT_INHERIT_ACE) | (AceFlags & ~VALID_INHERI… in SepShouldPropagateAce()
541 if (AceFlags & OBJECT_INHERIT_ACE) in SepShouldPropagateAce()
604 UCHAR AceFlags; in _Out_writes_bytes_opt_() local
674 if (!(AceFlags & INHERIT_ONLY_ACE)) in _Out_writes_bytes_opt_()
706 AceDest->Header.AceFlags = WriteTwoAces ? AceFlags & ~VALID_INHERIT_FLAGS in _Out_writes_bytes_opt_()
[all …]
H A Ddebug.c68 _In_ UCHAR AceFlags) in SepDumpAceFlags() argument
71 if (AceFlags & x) \ in SepDumpAceFlags()
129 SepDumpAceFlags(Ace->Header.AceFlags); in SepDumpAces()
H A Daccesschk.c515 if (!(CurrentAce->Header.AceFlags & INHERIT_ONLY_ACE)) in SepAnalyzeAcesFromDacl()
703 if (!(CurrentAce->Header.AceFlags & INHERIT_ONLY_ACE)) in SepAnalyzeAcesFromDacl()
2174 if (Ace->Header.AceFlags & INHERIT_ONLY_ACE) in SeFastTraverseCheck()
/reactos/modules/rostests/kmtests/ntos_se/
H A DSeHelpers.c33 Ace->Header.AceFlags = Flags; in RtlxAddAuditAccessAceEx()
69 Ace->Header.AceFlags = Flags; in RtlxAddMandatoryLabelAceEx()
138 INT AceFlags; in VCheckAcl__() local
170 AceFlags = va_arg(Arguments, INT); in VCheckAcl__()
172 …KmtOk(AceHeader->AceFlags == AceFlags, FileAndLine, "[%lu] AceFlags is 0x%x, expected 0x%x\n", i, … in VCheckAcl__()
H A DSeInheritance.c35 ULONG AceFlags; in TestSeAssignSecurity() local
416 AceFlags = CanInherit & 0xf; in TestSeAssignSecurity()
417 … Status = RtlAddAccessAllowedAceEx(Acl, ACL_REVISION, AceFlags, GenericMask, GenericSid); in TestSeAssignSecurity()
438 if (!IsDir && !FlagOn(AceFlags, OBJECT_INHERIT_ACE)) in TestSeAssignSecurity()
440 else if (IsDir && !FlagOn(AceFlags, CONTAINER_INHERIT_ACE) && in TestSeAssignSecurity()
441 … (!FlagOn(AceFlags, OBJECT_INHERIT_ACE) || FlagOn(AceFlags, NO_PROPAGATE_INHERIT_ACE))) in TestSeAssignSecurity()
450 if (IsDir && !FlagOn(AceFlags, NO_PROPAGATE_INHERIT_ACE)) in TestSeAssignSecurity()
452 …if (FlagOn(AceFlags, CONTAINER_INHERIT_ACE) && (SpecificMask != GenericMask || SpecificSid != Gene… in TestSeAssignSecurity()
454 …ACCESS_ALLOWED_ACE_TYPE, INHERIT_ONLY_ACE | CONTAINER_INHERIT_ACE | (AceFlags & OBJECT_INHERIT_ACE… in TestSeAssignSecurity()
456 …CheckAcl(Dacl, 1, ACCESS_ALLOWED_ACE_TYPE, (FlagOn(AceFlags, CONTAINER_INHERIT_ACE) ? 0 : INHERIT_… in TestSeAssignSecurity()
[all …]
/reactos/dll/win32/advapi32/sec/
H A Dac.c20 DWORD AceFlags, in AddAccessAllowedObjectAce() argument
30 AceFlags, in AddAccessAllowedObjectAce()
51 DWORD AceFlags, in AddAccessDeniedObjectAce() argument
61 AceFlags, in AddAccessDeniedObjectAce()
82 DWORD AceFlags, in AddAuditAccessObjectAce() argument
94 AceFlags, in AddAuditAccessObjectAce()
/reactos/ntoskrnl/config/
H A Dcmse.c97 AceHeader->AceFlags |= CONTAINER_INHERIT_ACE; in CmpHiveRootSecurityDescriptor()
100 AceHeader->AceFlags |= CONTAINER_INHERIT_ACE; in CmpHiveRootSecurityDescriptor()
103 AceHeader->AceFlags |= CONTAINER_INHERIT_ACE; in CmpHiveRootSecurityDescriptor()
106 AceHeader->AceFlags |= CONTAINER_INHERIT_ACE; in CmpHiveRootSecurityDescriptor()
/reactos/modules/rosapps/applications/sysutils/regexpl/
H A DSecurityDescriptor.cpp241 blnFailedAccess = m_pCurrentACEHeader->AceFlags & FAILED_ACCESS_ACE_FLAG; in GetSACLEntry()
242 blnSeccessfulAccess = m_pCurrentACEHeader->AceFlags & SUCCESSFUL_ACCESS_ACE_FLAG; in GetSACLEntry()
288 bFlags = m_pCurrentACEHeader->AceFlags; in GetCurrentACE_Flags()
/reactos/sdk/lib/rtl/
H A Dsysvol.c265 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()
H A Dacl.c142 Ace->Header.AceFlags = (BYTE)Flags; in RtlpAddKnownAce()
227 Ace->Header.AceFlags = (BYTE)Flags; in RtlpAddKnownObjectAce()
/reactos/base/system/smss/
H A Dsminit.c1157 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1160 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1163 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1204 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1207 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1210 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1213 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1249 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1252 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
1255 Ace->AceFlags = OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in SmpCreateSecurityDescriptors()
[all …]
/reactos/dll/win32/advapi32/wine/
H A Dsecurity.c1065 DWORD AceFlags, in AddAccessAllowedAceEx() argument
1073 AceFlags, in AddAccessAllowedAceEx()
1116 DWORD AceFlags, in AddAccessDeniedAceEx() argument
1124 AceFlags, in AddAccessDeniedAceEx()
1981 DWORD AceFlags, in AddAuditAccessAceEx() argument
1991 AceFlags, in AddAuditAccessAceEx()
2624 static const ACEFLAG AceFlags[] = variable
2647 const ACEFLAG *lpaf = AceFlags; in ParseAceStringFlags()
2803 pAce->Header.AceFlags = (BYTE) val; in ParseStringAclToAcl()
3298 if (piace->Header.AceFlags & INHERIT_ONLY_ACE) in DumpAce()
[all …]
/reactos/subsystems/csr/csrsrv/
H A Dinit.c316 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE; in GetDosDevicesProtection()
319 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE; in GetDosDevicesProtection()
322 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in GetDosDevicesProtection()
352 Ace->Header.AceFlags |= OBJECT_INHERIT_ACE | CONTAINER_INHERIT_ACE | INHERIT_ONLY_ACE; in GetDosDevicesProtection()
/reactos/base/applications/cacls/
H A Dcacls.c209 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()
/reactos/sdk/include/ndk/
H A Difssupp.h149 UCHAR AceFlags; member
/reactos/modules/rostests/winetests/advapi32/
H A Dsecurity.c4157 ok(((ACE_HEADER *)ace)->AceFlags == 0, in test_GetNamedSecurityInfoA()
4169 ok(((ACE_HEADER *)ace)->AceFlags == 0, in test_GetNamedSecurityInfoA()
4347 flags = ((ACE_HEADER *)ace)->AceFlags; in test_GetNamedSecurityInfoA()
4364 flags = ((ACE_HEADER *)ace)->AceFlags; in test_GetNamedSecurityInfoA()
4996 ok(((ACE_HEADER *)ace)->AceFlags == 0, in test_GetSecurityInfo()
5007 ok(((ACE_HEADER *)ace)->AceFlags == 0, in test_GetSecurityInfo()
6729 ok(ace->Header.AceFlags == 0, "Expected flags 0, got %x\n", ace->Header.AceFlags); in test_AddMandatoryAce()
6766 ok(!ace->Header.AceFlags, "Unexpected ACE flags %#x\n", ace->Header.AceFlags); in test_AddMandatoryAce()
6805 ok(!ace->Header.AceFlags, "Expected 0 as flags, got %#x\n", ace->Header.AceFlags); in test_AddMandatoryAce()
6812 ok(!ace->Header.AceFlags, "Expected 0 as flags, got %#x\n", ace->Header.AceFlags); in test_AddMandatoryAce()
[all …]
/reactos/modules/rostests/apitests/ntdll/
H A DRtlFirstFreeAce.c50 AceHeader->AceFlags = 0; in MakeAcl()
H A DRtlDeleteAce.c50 AceHeader->AceFlags = 0; in MakeAcl()
/reactos/dll/win32/ntmarta/
H A Dntmarta.c97 if (AceHeader->AceFlags & FAILED_ACCESS_ACE_FLAG) in AccpGetAceAccessMode()
99 else if (AceHeader->AceFlags & SUCCESSFUL_ACCESS_ACE_FLAG) in AccpGetAceAccessMode()
1695 peaw[AceIndex].grfInheritance = AceHeader->AceFlags & VALID_INHERIT_FLAGS; in AccRewriteGetExplicitEntriesFromAcl()
/reactos/sdk/include/reactos/idl/
H A Dms-dtyp.idl211 UCHAR AceFlags;
/reactos/modules/rostests/tests/tokentest/
H A Dtokentest.c41 CHAR AceFlags; member
/reactos/modules/rostests/winetests/shlwapi/
H A Dordinal.c759 ok(paaa->Header.AceFlags == 0, "Invalid ACE flags %x\n", paaa->Header.AceFlags); in test_GetShellSecurityDescriptor()
767 ok(paaa->Header.AceFlags == 0, "Invalid ACE flags %x\n", paaa->Header.AceFlags); in test_GetShellSecurityDescriptor()
775 ok(paaa->Header.AceFlags == MY_INHERITANCE, in test_GetShellSecurityDescriptor()
776 "Invalid ACE flags %x\n", paaa->Header.AceFlags); in test_GetShellSecurityDescriptor()
/reactos/sdk/include/xdk/
H A Dsetypes.h712 $UCHAR AceFlags; member
/reactos/base/services/nfsd/
H A Dacl.c671 map_aceflags(ace->AceFlags, &nfs4_acl->aces[i].aceflag); in map_dacl_2_nfs4acl()
/reactos/modules/rostests/winetests/ntdll/
H A Dgenerated.c305 TEST_FIELD_SIZE (ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()
306 TEST_FIELD_ALIGN (ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()
307 TEST_FIELD_OFFSET(ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()
3722 TEST_FIELD_SIZE (ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()
3723 TEST_FIELD_ALIGN (ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()
3724 TEST_FIELD_OFFSET(ACE_HEADER, AceFlags, 1) in test_pack_ACE_HEADER()

12