reactos/ntoskrnl/include/internal
George Bișoc f33da480af
[SDK][CMLIB] Implement CmCheckRegistry and validation private helpers
CmCheckRegistry is a function that provides the necessary validation checks for a registry hive. This function usually comes into action when logs have been replayed for example, or when a registry hive internals have changed such as when saving a key, loading a key, etc.

This commit implements the whole Check Registry infrastructure (cmcheck.c) in CMLIB library for ease of usage and wide accessibility across parts of the OS. In addition, two more functions for registry checks are also implemented -- HvValidateHive and HvValidateBin.

Instead of having the CmCheckRegistry implementation in the kernel, it's better to have it in the Configuration Manager library instead (aka CMLIB). The benefits of having it in the library are the following:

- CmCheckRegistry can be used in FreeLdr to fix the SYSTEM hive
- It can be used on-demand in the kernel
- It can be used for offline registry repair tools
- It makes the underlying CmCheckRegistry implementation code debug-able in user mode

CORE-9195
CORE-6762
2023-11-19 20:44:27 +01:00
..
amd64 [NTOS:KE/x64] Improve CPU feature detection 2023-10-03 19:45:44 +03:00
arch
arm
i386
cc.h NTOS:CC Free some VACBs when we're under memory pressure 2023-07-29 14:00:44 +03:00
cm.h [SDK][CMLIB] Implement CmCheckRegistry and validation private helpers 2023-11-19 20:44:27 +01:00
cm_x.h [NTOS:CM] Implement the shared lock macro for use 2023-10-01 20:06:00 +02:00
cmboot.h
dbgk.h
ex.h [NTOS:EX][CSRSRV][WIN32K] Make a few #define more explicit/strict (#5907) 2023-11-13 20:55:48 +01:00
fsrtl.h
hal.h
hdl.h
icif.h
inbv.h
io.h
io_i.h
io_x.h
kd.h [NTOS:KD:KDBG] Integration into KD framework (Part 1/3) 2023-08-31 16:07:51 +02:00
kd64.h
ke.h
ke_x.h
ldr.h
lpc.h
lpc_x.h
mm.h [NTOS:MM] Add ASSERTS to MmLockAddressSpace to guarantee lock ordering 2023-10-24 21:45:27 +03:00
napi.h
ntoskrnl.h
ob.h
ob_x.h
po.h
probe.h
ps.h [NTOS:MM/PS] Remove code duplication between LookupEntryPoint/MiLocateExportName/MiFindExportedRoutineByName. (#4918) 2023-08-29 17:26:57 +02:00
ps_i.h
ps_x.h
rtl.h
se.h [RTL] Improve usage of absolte vs self-relative security descriptors 2023-09-26 18:01:45 +03:00
spinlock.h
tag.h
test.h
vdm.h