Open file with FILE_SHARE_READ in LdrLoadModule
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 21 May 2005 15:49:48 +0000 (15:49 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 21 May 2005 15:49:48 +0000 (15:49 +0000)
svn path=/trunk/; revision=15458

reactos/ntoskrnl/ldr/loader.c

index 60be300..3979dc1 100644 (file)
@@ -309,7 +309,7 @@ LdrLoadModule(
         GENERIC_READ,
         &ObjectAttributes,
         &IoStatusBlock,
-        0,
+        FILE_SHARE_READ,
         FILE_SYNCHRONOUS_IO_NONALERT);
     CHECKPOINT;
     if (!NT_SUCCESS(Status))