From fb942b740a47c14bd0fc66912de3c402e9c4addb Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 25 Feb 2012 22:27:27 +0000 Subject: [PATCH] [NTOSKRNL] - Set the SYNCHRONIZE flag in desired access when opening a registry hive for synchronous I/O svn path=/trunk/; revision=55871 --- reactos/ntoskrnl/config/cminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/config/cminit.c b/reactos/ntoskrnl/config/cminit.c index e0fc312454a..9efde0fe054 100644 --- a/reactos/ntoskrnl/config/cminit.c +++ b/reactos/ntoskrnl/config/cminit.c @@ -334,7 +334,7 @@ CmpOpenHiveFiles(IN PCUNICODE_STRING BaseName, /* Now create the file */ Status = ZwCreateFile(Primary, - DesiredAccess, + DesiredAccess | SYNCHRONIZE, &ObjectAttributes, &IoStatusBlock, NULL,