mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[NTOSKRNL]
- Set the SYNCHRONIZE flag in desired access when opening a registry hive for synchronous I/O svn path=/trunk/; revision=55871
This commit is contained in:
parent
04e46d06af
commit
fb942b740a
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ CmpOpenHiveFiles(IN PCUNICODE_STRING BaseName,
|
||||||
|
|
||||||
/* Now create the file */
|
/* Now create the file */
|
||||||
Status = ZwCreateFile(Primary,
|
Status = ZwCreateFile(Primary,
|
||||||
DesiredAccess,
|
DesiredAccess | SYNCHRONIZE,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
&IoStatusBlock,
|
&IoStatusBlock,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in a new issue