Home
last modified time | relevance | path

Searched refs:AccessMask (Results 1 – 25 of 36) sorted by relevance

12

/reactos/sdk/lib/rtl/
H A Daccess.c50 RtlMapGenericMask(IN OUT PACCESS_MASK AccessMask, in RtlMapGenericMask() argument
56 if (*AccessMask & GENERIC_READ) *AccessMask |= GenericMapping->GenericRead; in RtlMapGenericMask()
57 if (*AccessMask & GENERIC_WRITE) *AccessMask |= GenericMapping->GenericWrite; in RtlMapGenericMask()
58 if (*AccessMask & GENERIC_EXECUTE) *AccessMask |= GenericMapping->GenericExecute; in RtlMapGenericMask()
59 if (*AccessMask & GENERIC_ALL) *AccessMask |= GenericMapping->GenericAll; in RtlMapGenericMask()
62 *AccessMask &= ~(GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE | GENERIC_ALL); in RtlMapGenericMask()
H A Dacl.c93 IN ACCESS_MASK AccessMask, in RtlpAddKnownAce() argument
145 Ace->Mask = AccessMask; in RtlpAddKnownAce()
230 Ace->Mask = AccessMask; in RtlpAddKnownObjectAce()
273 AccessMask, in RtlAddAccessAllowedAce()
295 AccessMask, in RtlAddAccessAllowedAceEx()
322 AccessMask, in RtlAddAccessAllowedObjectAce()
354 AccessMask, in RtlAddAccessDeniedAce()
376 AccessMask, in RtlAddAccessDeniedAceEx()
403 AccessMask, in RtlAddAccessDeniedObjectAce()
442 AccessMask, in RtlAddAuditAccessAce()
[all …]
/reactos/ntoskrnl/se/
H A Daccesschk.c46 _In_ ACCESS_MASK AccessMask, in SepDenyAccessObjectTypeResultList() argument
55 DPRINT("Access rights 0x%08lx\n", AccessMask); in SepDenyAccessObjectTypeResultList()
138 _In_ ACCESS_MASK AccessMask, in SepAllowAccessObjectTypeResultList() argument
147 DPRINT("Access rights 0x%08lx\n", AccessMask); in SepAllowAccessObjectTypeResultList()
231 _In_ ACCESS_MASK AccessMask, in SepDenyAccessObjectTypeList() argument
240 DPRINT("Access rights 0x%08lx\n", AccessMask); in SepDenyAccessObjectTypeList()
327 _In_ ACCESS_MASK AccessMask, in SepAllowAccessObjectTypeList() argument
335 DPRINT("Access rights 0x%08lx\n", AccessMask); in SepAllowAccessObjectTypeList()
526 Access = CurrentAce->AccessMask; in SepAnalyzeAcesFromDacl()
548 Access = CurrentAce->AccessMask; in SepAnalyzeAcesFromDacl()
[all …]
H A Daccess.c51 ACCESS_MASK AccessMask = Access; in SeCreateAccessStateEx() local
58 RtlMapGenericMask(&AccessMask, GenericMapping); in SeCreateAccessStateEx()
76 AccessState->RemainingDesiredAccess = AccessMask; in SeCreateAccessStateEx()
77 AccessState->OriginalDesiredAccess = AccessMask; in SeCreateAccessStateEx()
H A Dpriv.c255 ACCESS_MASK AccessMask = 0; in SePrivilegePolicyCheck() local
275 AccessMask |= ACCESS_SYSTEM_SECURITY; in SePrivilegePolicyCheck()
291 AccessMask |= WRITE_OWNER; in SePrivilegePolicyCheck()
297 *GrantedAccess |= AccessMask; in SePrivilegePolicyCheck()
298 *DesiredAccess &= ~AccessMask; in SePrivilegePolicyCheck()
318 if (AccessMask & WRITE_OWNER) in SePrivilegePolicyCheck()
325 if (AccessMask & ACCESS_SYSTEM_SECURITY) in SePrivilegePolicyCheck()
H A Ddebug.c119 DbgPrint("Ace->AccessMask -> 0x%08lx\n", Ace->AccessMask); in SepDumpAces()
/reactos/base/applications/cacls/
H A Dcacls.c115 DWORD AccessMask = Ace->Mask; in PrintFileDacl() local
225 MapGenericMask(&AccessMask, in PrintFileDacl()
229 if (AccessMask == FILE_ALL_ACCESS) in PrintFileDacl()
241 if (AccessMask == FILE_ALL_ACCESS) in PrintFileDacl()
246 AccessMask == (FILE_GENERIC_READ | FILE_EXECUTE)) in PrintFileDacl()
250 … else if (AccessMask == (FILE_GENERIC_READ | FILE_GENERIC_WRITE | FILE_EXECUTE | DELETE)) in PrintFileDacl()
254 else if (AccessMask == FILE_GENERIC_WRITE) in PrintFileDacl()
/reactos/dll/win32/advapi32/sec/
H A Dac.c21 DWORD AccessMask, in AddAccessAllowedObjectAce() argument
31 AccessMask, in AddAccessAllowedObjectAce()
52 DWORD AccessMask, in AddAccessDeniedObjectAce() argument
62 AccessMask, in AddAccessDeniedObjectAce()
83 DWORD AccessMask, in AddAuditAccessObjectAce() argument
95 AccessMask, in AddAuditAccessObjectAce()
/reactos/drivers/filesystems/fastfat/
H A Dacchksup.c138 ACCESS_MASK AccessMask = DELETE | READ_CONTROL | WRITE_OWNER | WRITE_DAC | in FatCheckFileAccess() local
150 AccessMask |= FILE_ADD_SUBDIRECTORY | FILE_ADD_FILE | FILE_DELETE_CHILD; in FatCheckFileAccess()
153 if (FlagOn(*DesiredAccess, ~AccessMask)) { in FatCheckFileAccess()
/reactos/modules/rostests/kmtests/ntos_se/
H A Dse.h16 _In_ ACCESS_MASK AccessMask,
26 _In_ ACCESS_MASK AccessMask,
H A DSeHelpers.c16 _In_ ACCESS_MASK AccessMask, in RtlxAddAuditAccessAceEx() argument
35 Ace->Mask = AccessMask; in RtlxAddAuditAccessAceEx()
57 _In_ ACCESS_MASK AccessMask, in RtlxAddMandatoryLabelAceEx() argument
71 Ace->Mask = AccessMask; in RtlxAddMandatoryLabelAceEx()
H A DSeQueryInfoToken.c227 ACCESS_MASK AccessMask = MAXIMUM_ALLOWED; in START_TEST() local
345 &AccessMask, in START_TEST()
409 &AccessMask, in START_TEST()
/reactos/modules/rostests/apitests/ntdll/
H A DNtSaveKey.c13 ACCESS_MASK AccessMask, in OpenRegistryKeyHandle() argument
26 return NtOpenKey(KeyHandle, AccessMask, &Attributes); in OpenRegistryKeyHandle()
H A DNtDeleteKey.c12 ACCESS_MASK AccessMask, in CreateRegistryKeyHandle() argument
25 return NtCreateKey(KeyHandle, AccessMask, &Attributes, 0, NULL, REG_OPTION_VOLATILE, 0); in CreateRegistryKeyHandle()
/reactos/ntoskrnl/ex/
H A Dkeyedevt.c277 _In_ ACCESS_MASK AccessMask, in _IRQL_requires_max_()
313 AccessMask, in _IRQL_requires_max_()
354 _In_ ACCESS_MASK AccessMask, in _IRQL_requires_max_()
366 AccessMask, in _IRQL_requires_max_()
H A Dwin32k.c247 Parameters.AccessMask = GrantedAccess; in ExpDesktopClose()
/reactos/subsystems/win/basesrv/
H A Ddosdev.c509 ACCESS_MASK AccessMask; in CSR_API() local
983 AccessMask = DELETE | SYMBOLIC_LINK_QUERY; in CSR_API()
987 AccessMask = SYMBOLIC_LINK_QUERY; in CSR_API()
991 RtlAddAccessAllowedAce(&Dacl.Dacl, ACL_REVISION2, AccessMask, WorldSid); in CSR_API()
992 RtlAddAccessAllowedAce(&Dacl.Dacl, ACL_REVISION2, AccessMask, SystemSid); in CSR_API()
H A Dnls.c41 _In_ ULONG AccessMask);
/reactos/modules/rostests/tests/tokentest/
H A Dtokentest.c48 ACCESS_MASK AccessMask; member
74 ACCESS_MASK AccessMask,
270 printf("%d.) %S %wZ 0x%08x\n", i, wszType, &scSid, pAce->AccessMask); in DisplayDacl()
/reactos/dll/win32/advapi32/wine/
H A Dsecurity.c1041 DWORD AccessMask, in AddAccessAllowedAce() argument
1048 AccessMask, in AddAccessAllowedAce()
1066 DWORD AccessMask, in AddAccessAllowedAceEx() argument
1092 DWORD AccessMask, in AddAccessDeniedAce() argument
1099 AccessMask, in AddAccessDeniedAce()
1117 DWORD AccessMask, in AddAccessDeniedAceEx() argument
1125 AccessMask, in AddAccessDeniedAceEx()
1413 ULONG AccessMask = 0; in GetFileSecurityW() local
1438 AccessMask, in GetFileSecurityW()
1516 ULONG AccessMask = 0; in SetFileSecurityW() local
[all …]
/reactos/dll/win32/aclui/
H A Dchecklist.c54 ACCESS_MASK AccessMask; member
163 IN ACCESS_MASK AccessMask) in FindCheckItemIndexByAccessMask() argument
172 if (Item->AccessMask == AccessMask) in FindCheckItemIndexByAccessMask()
508 IN ACCESS_MASK AccessMask, in AddCheckItem() argument
528 Item->AccessMask = AccessMask; in AddCheckItem()
/reactos/sdk/include/ndk/
H A Dexfuncs.h186 _In_ ACCESS_MASK AccessMask,
269 _In_ ACCESS_MASK AccessMask,
683 _In_ ACCESS_MASK AccessMask,
H A Drtlfuncs.h1143 _In_ ACCESS_MASK AccessMask,
1155 _In_ ACCESS_MASK AccessMask,
1166 _In_ ACCESS_MASK AccessMask,
1178 _In_ ACCESS_MASK AccessMask,
1189 _In_ ACCESS_MASK AccessMask,
1200 _In_ ACCESS_MASK AccessMask,
1223 _In_ ACCESS_MASK AccessMask,
1246 _In_ ACCESS_MASK AccessMask,
1259 _In_ ACCESS_MASK AccessMask,
1558 PACCESS_MASK AccessMask,
/reactos/drivers/ksfilter/ks/
H A Dkstypes.h41 ACCESS_MASK AccessMask; member
/reactos/base/system/winlogon/
H A Drpcserver.c582 REGSAM AccessMask, in BaseRegDeleteKeyEx() argument

12