mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[NTOS:CM] Initially start the registry in read-only mode.
Disable registry hive writes, until the IO subsystem is initialized and disk access is enabled (when the SM signals so after AUTOCHK).
This commit is contained in:
@@ -24,7 +24,11 @@ PEPROCESS CmpSystemProcess;
|
||||
PVOID CmpRegistryLockCallerCaller, CmpRegistryLockCaller;
|
||||
BOOLEAN CmpFlushOnLockRelease;
|
||||
BOOLEAN CmpSpecialBootCondition;
|
||||
BOOLEAN CmpNoWrite;
|
||||
|
||||
/* Disable registry hive writes, until the IO subsystem is initialized
|
||||
* and disk access is enabled (when the SM signals so after AUTOCHK) */
|
||||
BOOLEAN CmpNoWrite = TRUE;
|
||||
|
||||
BOOLEAN CmpWasSetupBoot;
|
||||
BOOLEAN CmpProfileLoaded;
|
||||
BOOLEAN CmpNoVolatileCreates;
|
||||
@@ -1469,9 +1473,10 @@ CmpInitializeHiveList(VOID)
|
||||
ULONG i;
|
||||
USHORT RegStart;
|
||||
PSECURITY_DESCRIPTOR SecurityDescriptor;
|
||||
|
||||
PAGED_CODE();
|
||||
|
||||
/* Allow writing for now */
|
||||
/* Reenable hive writes now */
|
||||
CmpNoWrite = FALSE;
|
||||
|
||||
/* Build the file name and registry name strings */
|
||||
|
||||
Reference in New Issue
Block a user