mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOSKRNL] Save ProtectionMode value on boot
This commit is contained in:
parent
611e6d7d0e
commit
1c4e44592c
3 changed files with 3 additions and 1 deletions
|
@ -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 *********************************************************/
|
||||
|
||||
|
|
Loading…
Reference in a new issue