projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb6067
)
[NTOSKRNL]
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 28 Dec 2014 12:57:58 +0000
(12:57 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 28 Dec 2014 12:57:58 +0000
(12:57 +0000)
Acquire IopSecurityResource exclusive when required. Spotted by Thomas.
svn path=/trunk/; revision=65857
reactos/ntoskrnl/io/iomgr/file.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/iomgr/file.c
b/reactos/ntoskrnl/io/iomgr/file.c
index
789f0dd
..
060a0fb
100644
(file)
--- a/
reactos/ntoskrnl/io/iomgr/file.c
+++ b/
reactos/ntoskrnl/io/iomgr/file.c
@@
-1405,7
+1405,7
@@
IopSetDeviceSecurityDescriptor(IN PDEVICE_OBJECT DeviceObject,
}
KeEnterCriticalRegion();
- ExAcquireResource
Shared
Lite(&IopSecurityResource, TRUE);
+ ExAcquireResource
Exclusive
Lite(&IopSecurityResource, TRUE);
/* Check if someone changed it in our back */
if (DeviceObject->SecurityDescriptor == OldSecurityDescriptor)
{