mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +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"Session Manager",
|
||||||
L"ProtectionMode",
|
L"ProtectionMode",
|
||||||
&DummyData,
|
&ObpProtectionMode,
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
|
|
@ -619,6 +619,7 @@ extern UNICODE_STRING ObpDosDevicesShortName;
|
||||||
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
||||||
extern ULONG ObpUnsecureGlobalNamesLength;
|
extern ULONG ObpUnsecureGlobalNamesLength;
|
||||||
extern ULONG ObpObjectSecurityMode;
|
extern ULONG ObpObjectSecurityMode;
|
||||||
|
extern ULONG ObpProtectionMode;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Inlined Functions
|
// Inlined Functions
|
||||||
|
|
|
@ -53,6 +53,7 @@ PsInitializeQuotaSystem(VOID);
|
||||||
ULONG ObpInitializationPhase;
|
ULONG ObpInitializationPhase;
|
||||||
|
|
||||||
ULONG ObpObjectSecurityMode = 0;
|
ULONG ObpObjectSecurityMode = 0;
|
||||||
|
ULONG ObpProtectionMode = 0;
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS *********************************************************/
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue