mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[NTOSKRNL] Save ObjectSecurityMode value on boot
This commit is contained in:
parent
98638cc2df
commit
a33a69b3f4
|
@ -149,7 +149,7 @@ INIT_SECTION CM_SYSTEM_CONTROL_VECTOR CmControlVector[] =
|
||||||
{
|
{
|
||||||
L"Session Manager",
|
L"Session Manager",
|
||||||
L"ObjectSecurityMode",
|
L"ObjectSecurityMode",
|
||||||
&DummyData,
|
&ObpObjectSecurityMode,
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
|
|
@ -618,6 +618,7 @@ extern ALIGNEDNAME ObpDosDevicesShortNameRoot;
|
||||||
extern UNICODE_STRING ObpDosDevicesShortName;
|
extern UNICODE_STRING ObpDosDevicesShortName;
|
||||||
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
||||||
extern ULONG ObpUnsecureGlobalNamesLength;
|
extern ULONG ObpUnsecureGlobalNamesLength;
|
||||||
|
extern ULONG ObpObjectSecurityMode;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Inlined Functions
|
// Inlined Functions
|
||||||
|
|
|
@ -52,6 +52,8 @@ PsInitializeQuotaSystem(VOID);
|
||||||
|
|
||||||
ULONG ObpInitializationPhase;
|
ULONG ObpInitializationPhase;
|
||||||
|
|
||||||
|
ULONG ObpObjectSecurityMode = 0;
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS *********************************************************/
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|
Loading…
Reference in a new issue