Updated ntdll-NtQueryVirtualMemory patchset

This commit is contained in:
Alistair Leslie-Hughes 2018-02-20 20:11:48 +11:00
parent 341fc2c260
commit aecae62db4

View File

@ -1,7 +1,7 @@
From d8981a09da0f1c117f6888c0388b8b5c9ca44292 Mon Sep 17 00:00:00 2001
From 0f9b976bc57a6a43a74a60d97df82b469d8266fb Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 28 May 2017 09:04:10 +0200
Subject: server: Store full path for ntdll/kernel32 dll.
Subject: [PATCH] server: Store full path for ntdll/kernel32 dll.
---
dlls/ntdll/loader.c | 8 ++++++++
@ -10,12 +10,12 @@ Subject: server: Store full path for ntdll/kernel32 dll.
3 files changed, 37 insertions(+)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 9ba29ac7eac..4cb33f4f33f 100644
index 6f4f249..0b2bd4d 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -3931,6 +3931,14 @@ void CDECL __wine_init_windows_dir( const WCHAR *windir, const WCHAR *sysdir )
RtlInitUnicodeString( &mod->FullDllName, buffer );
RtlInitUnicodeString( &mod->BaseDllName, p );
@@ -3157,6 +3157,14 @@ static void MODULE_DecRefCount( WINE_MODREF *wm )
wm->ldr.Flags &= ~LDR_UNLOAD_IN_PROGRESS;
}
+
+ /* do the same for the wineserver dll list */
@ -27,9 +27,9 @@ index 9ba29ac7eac..4cb33f4f33f 100644
+ SERVER_END_REQ;
}
/******************************************************************
diff --git a/server/process.c b/server/process.c
index b4657edd650..089e77a38ee 100644
index 8c40f25..1941082 100644
--- a/server/process.c
+++ b/server/process.c
@@ -49,6 +49,8 @@
@ -41,7 +41,7 @@ index b4657edd650..089e77a38ee 100644
/* process structure */
static struct list process_list = LIST_INIT(process_list);
@@ -1625,6 +1627,27 @@ DECL_HANDLER(load_dll)
@@ -1617,6 +1619,27 @@ DECL_HANDLER(load_dll)
}
}
@ -70,10 +70,10 @@ index b4657edd650..089e77a38ee 100644
DECL_HANDLER(unload_dll)
{
diff --git a/server/protocol.def b/server/protocol.def
index af18bc83031..0bcff7b2b25 100644
index 8dfc2ae..372a1a8 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -970,6 +970,12 @@ struct rawinput_device
@@ -965,6 +965,12 @@ struct rawinput_device
@END
@ -87,5 +87,5 @@ index af18bc83031..0bcff7b2b25 100644
@REQ(unload_dll)
mod_handle_t base; /* base address */
--
2.14.1
1.9.1