reactos/ntoskrnl
George Bișoc 4b4638dc55
[NTOS:SE] HACK: Temporarily grant access to the client if empty generic mapping was passed
Certain apps such as AIM installer passes an empty generic mapping (this can
be understood with their generic masks set to 0) and our code tries to map
the access right from an ACE with the mapping provided by AccessCheck.

This can lead to a bug where we would not be able to decode the generic right
from an ACE as we need a proper generic mapping in order to do so. A mask
right that is not decoded it cannot be used to mask out the remaining rights,
further resulting into a denied access right.

What Windows does instead is they are mapping the ACE's rights in another place,
presumably when setting security data to an object, and they are using the
generic mapping passed by the kernel.

What we can do for the time being is to temporarily grant access to the client,
but only if they are an administrator.

CORE-18576
2023-10-04 18:04:29 +02:00
..
cache [NTOS:Mm] Fix race condition in _MmSetPageEntrySectionSegment 2023-07-29 14:00:44 +03:00
cc [NTOS:CC][NTOS:MM] Add back CcRosTrimCache and add Delay for MM to work. (#5630) 2023-09-06 13:34:25 +02:00
config [NTOS:CM] Use COMPUTE_HASH_CHAR to compute the conv hash key 2023-10-03 11:01:21 +02:00
dbgk
ex [NTOS:EX] Initialize ExpResourceTimeoutCount also via the "Session Manager/ResourceTimeoutCount" registry value (#4089) 2023-09-21 13:33:28 +02:00
fsrtl [NTOS] Properly implement and use FsRtlAcquireFileForModWriteEx 2022-11-02 19:41:04 +01:00
fstub
inbv 🎊 🍾 🥳 Happy New Year 2023 to the ReactOS Community! 🎆 ⚛️ ☢️ 2023-01-01 00:00:00 +03:00
include [NTOS:KE/x64] Improve CPU feature detection 2023-10-03 19:45:44 +03:00
io [NTOS:IO] Implement IoConnectInterruptEx for fully specified interrupt types (#5416) 2023-07-14 16:17:27 -07:00
kd [NTOS:KD] Fix release builds. 2023-08-31 17:10:34 +02:00
kd64 [NTOS] Include kdbg/kdb.h only in the files that really need it. 2023-04-11 00:44:10 +02:00
kdbg [NTOS:KD:KDBG] Integration into KD framework (Part 2/3) 2023-08-31 16:09:49 +02:00
ke [NTOS:KE/x64] Implement detection of more KF_* feature flags 2023-10-03 19:45:44 +03:00
lpc [NTOS:LPC] Ensure debug-traced pointer-given user-mode data is captured. (#4399) 2023-05-17 17:40:37 +02:00
mm [NTOS:MM] Fix missing \n in unimplemented codepath DPRINT 2023-09-30 19:06:30 +02:00
ntkrnlmp
ob [NTOS:OB] Fix the SAL2 annotation of ObQueryTypeInfo 2023-04-22 17:18:57 +02:00
po
ps [NTOS:MM/PS] Remove code duplication between LookupEntryPoint/MiLocateExportName/MiFindExportedRoutineByName. (#4918) 2023-08-29 17:26:57 +02:00
rtl
se [NTOS:SE] HACK: Temporarily grant access to the client if empty generic mapping was passed 2023-10-04 18:04:29 +02:00
tests
vdm
vf
wmi
CMakeLists.txt
guid.c
KrnlFun.c
ntdll.S
ntos.cmake [NTOS:KD:KDBG] Integration into KD framework (Part 1/3) 2023-08-31 16:07:51 +02:00
ntoskrnl.rc
ntoskrnl.spec [NTOS:IO] Implement IoConnectInterruptEx for fully specified interrupt types (#5416) 2023-07-14 16:17:27 -07:00
sysfuncs.lst