mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOS:KDBG] Add some missing OBJ_KERNEL_HANDLE
CORE-10207
This commit is contained in:
parent
4fc9467815
commit
b910409a4a
2 changed files with 6 additions and 2 deletions
|
@ -3798,7 +3798,11 @@ KdbpCliInit(VOID)
|
|||
|
||||
/* Initialize the object attributes */
|
||||
RtlInitUnicodeString(&FileName, L"\\SystemRoot\\System32\\drivers\\etc\\KDBinit");
|
||||
InitializeObjectAttributes(&ObjectAttributes, &FileName, 0, NULL, NULL);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&FileName,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Open the file */
|
||||
Status = ZwOpenFile(&hFile, FILE_READ_DATA | SYNCHRONIZE,
|
||||
|
|
|
@ -385,7 +385,7 @@ KdbpSymLoadModuleSymbols(
|
|||
/* Open the file */
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
FileName,
|
||||
0,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue