Author: hpoussin
Date: Sun Aug 6 19:38:56 2006
New Revision: 23499
URL:
http://svn.reactos.org/svn/reactos?rev=23499&view=rev
Log:
Fix a few referencing bugs (Object type must be specified if AccessMode is UserMode)
Modified:
trunk/reactos/ntoskrnl/cm/regobj.c
Modified: trunk/reactos/ntoskrnl/cm/regobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cm/regobj.c?rev=2…
==============================================================================
--- trunk/reactos/ntoskrnl/cm/regobj.c (original)
+++ trunk/reactos/ntoskrnl/cm/regobj.c Sun Aug 6 19:38:56 2006
@@ -55,7 +55,7 @@
{
ObReferenceObjectByPointer(NameSpaceRoot,
DIRECTORY_TRAVERSE,
- NULL,
+ CmiKeyType,
ObjectCreateInfo->ProbeMode);
CurrentObject = NameSpaceRoot;
}
@@ -147,7 +147,7 @@
ObReferenceObjectByPointer(FoundObject,
STANDARD_RIGHTS_REQUIRED,
- NULL,
+ CmiKeyType,
UserMode);
if (End != NULL)
{
@@ -197,7 +197,7 @@
ObReferenceObjectByPointer(NextObject,
DIRECTORY_TRAVERSE,
- NULL,
+ CmiKeyType,
ObjectCreateInfo->ProbeMode);
}
@@ -789,7 +789,7 @@
ObReferenceObjectByPointer(ParentKey,
STANDARD_RIGHTS_REQUIRED,
- NULL,
+ CmiKeyType,
UserMode);
NewKey->ParentKey = ParentKey;
}