mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[NTOSKRNL] Save ProtectionMode value on boot
This commit is contained in:
@@ -141,7 +141,7 @@ INIT_SECTION CM_SYSTEM_CONTROL_VECTOR CmControlVector[] =
|
||||
{
|
||||
L"Session Manager",
|
||||
L"ProtectionMode",
|
||||
&DummyData,
|
||||
&ObpProtectionMode,
|
||||
NULL,
|
||||
NULL
|
||||
},
|
||||
|
||||
@@ -619,6 +619,7 @@ extern UNICODE_STRING ObpDosDevicesShortName;
|
||||
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
||||
extern ULONG ObpUnsecureGlobalNamesLength;
|
||||
extern ULONG ObpObjectSecurityMode;
|
||||
extern ULONG ObpProtectionMode;
|
||||
|
||||
//
|
||||
// Inlined Functions
|
||||
|
||||
@@ -53,6 +53,7 @@ PsInitializeQuotaSystem(VOID);
|
||||
ULONG ObpInitializationPhase;
|
||||
|
||||
ULONG ObpObjectSecurityMode = 0;
|
||||
ULONG ObpProtectionMode = 0;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user