mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:22:59 +00:00
[NTOSKRNL] Add support for the ObUnsecureGlobalNames registry key
This commit is contained in:
parent
f819c9c460
commit
b9423f07d9
3 changed files with 13 additions and 0 deletions
|
@ -586,6 +586,14 @@ INIT_FUNCTION CM_SYSTEM_CONTROL_VECTOR CmControlVector[] =
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
L"Session Manager\\Kernel",
|
||||||
|
L"ObUnsecureGlobalNames",
|
||||||
|
ObpUnsecureGlobalNamesBuffer,
|
||||||
|
&ObpUnsecureGlobalNamesLength,
|
||||||
|
NULL
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
L"Session Manager\\I/O System",
|
L"Session Manager\\I/O System",
|
||||||
L"CountOperations",
|
L"CountOperations",
|
||||||
|
|
|
@ -613,6 +613,8 @@ extern BOOLEAN IoCountOperations;
|
||||||
extern ALIGNEDNAME ObpDosDevicesShortNamePrefix;
|
extern ALIGNEDNAME ObpDosDevicesShortNamePrefix;
|
||||||
extern ALIGNEDNAME ObpDosDevicesShortNameRoot;
|
extern ALIGNEDNAME ObpDosDevicesShortNameRoot;
|
||||||
extern UNICODE_STRING ObpDosDevicesShortName;
|
extern UNICODE_STRING ObpDosDevicesShortName;
|
||||||
|
extern WCHAR ObpUnsecureGlobalNamesBuffer[128];
|
||||||
|
extern ULONG ObpUnsecureGlobalNamesLength;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Inlined Functions
|
// Inlined Functions
|
||||||
|
|
|
@ -29,6 +29,9 @@ UNICODE_STRING ObpDosDevicesShortName =
|
||||||
(PWSTR)&ObpDosDevicesShortNamePrefix
|
(PWSTR)&ObpDosDevicesShortNamePrefix
|
||||||
};
|
};
|
||||||
|
|
||||||
|
WCHAR ObpUnsecureGlobalNamesBuffer[128] = {0};
|
||||||
|
ULONG ObpUnsecureGlobalNamesLength = sizeof(ObpUnsecureGlobalNamesBuffer);
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS *********************************************************/
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue