ntdll: make shared user data access work

Robert Reif reif at earthlink.net
Sat Aug 5 20:18:23 CDT 2006


-------------- next part --------------
diff -p -u -r1.66 thread.c
--- dlls/ntdll/thread.c	26 Jul 2006 14:01:20 -0000	1.66
+++ dlls/ntdll/thread.c	6 Aug 2006 01:15:43 -0000
@@ -215,7 +215,7 @@ HANDLE thread_init(void)
 
     addr = (void *)0x7ffe0000;
     size = 0x10000;
-    NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE, PAGE_READONLY );
+    NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE | MEM_COMMIT, PAGE_READONLY);
 
     /* allocate and initialize the PEB */
 


More information about the wine-patches mailing list