projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e46d0
)
[NTOSKRNL]
author
Cameron Gutman
<aicommander@gmail.com>
Sat, 25 Feb 2012 22:27:27 +0000
(22:27 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Sat, 25 Feb 2012 22:27:27 +0000
(22:27 +0000)
- 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
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/config/cminit.c
b/reactos/ntoskrnl/config/cminit.c
index
e0fc312
..
9efde0f
100644
(file)
--- 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,