don't request write access in NtReadVirtualMemory, this should fix the listdlls.exe issues
Modified: trunk/reactos/ntoskrnl/mm/virtual.c
--- trunk/reactos/ntoskrnl/mm/virtual.c 2005-04-26 07:11:02 UTC (rev 14812) +++ trunk/reactos/ntoskrnl/mm/virtual.c 2005-04-26 09:40:30 UTC (rev 14813) @@ -504,7 +504,7 @@
Buffer,NumberOfBytesToRead); Status = ObReferenceObjectByHandle(ProcessHandle,
- PROCESS_VM_WRITE,
+ PROCESS_VM_READ,
NULL, PreviousMode, (PVOID*)(&Process),