Author: pschweitzer
Date: Sun Dec 28 12:57:58 2014
New Revision: 65857
URL:
http://svn.reactos.org/svn/reactos?rev=65857&view=rev
Log:
[NTOSKRNL]
Acquire IopSecurityResource exclusive when required. Spotted by Thomas.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/file.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/file.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/file.c [iso-8859-1] Sun Dec 28 12:57:58 2014
@@ -1405,7 +1405,7 @@
}
KeEnterCriticalRegion();
- ExAcquireResourceSharedLite(&IopSecurityResource, TRUE);
+ ExAcquireResourceExclusiveLite(&IopSecurityResource, TRUE);
/* Check if someone changed it in our back */
if (DeviceObject->SecurityDescriptor == OldSecurityDescriptor)
{