[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:
Cameron Gutman 2012-02-25 22:27:27 +00:00
parent 04e46d06af
commit fb942b740a

View file

@ -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,