mirror of
https://github.com/reactos/reactos.git
synced 2024-06-19 19:28:22 +00: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:
parent
76f1da5631
commit
793ee786cd
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue