Author: tkreuzer
Date: Wed May 14 20:27:18 2014
New Revision: 63300
URL: http://svn.reactos.org/svn/reactos?rev=63300&view=rev
Log:
[NTOSKRNL]
Fix NtReleaseMutant, which was expecting MUTANT_QUERY_STATE right on the mutant handle, which is not required, probably a copypasta. Fixes a test.
Modified:
trunk/reactos/ntoskrnl/ex/mutant.c
Modified: trunk/reactos/ntoskrnl/ex/mutant.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/mutant.c?rev=6…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/mutant.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/mutant.c [iso-8859-1] Wed May 14 20:27:18 2014
@@ -325,7 +325,7 @@
/* Open the Object */
Status = ObReferenceObjectByHandle(MutantHandle,
- MUTANT_QUERY_STATE,
+ 0, /* No access rights required */
ExMutantObjectType,
PreviousMode,
(PVOID*)&Mutant,