You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-12-15 08:03:15 -08:00
ntdll-Virtual_Memory_Stack: Disable patchset, it has no effect when optimization is enabled.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 134f935483d49fad68e814d21a30f483f606d386 Mon Sep 17 00:00:00 2001
|
||||
From a903fc237899e6fd92f1604c33c12d12bfbad9ca Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Wed, 20 Aug 2014 19:21:18 +0200
|
||||
Subject: ntdll: Move NtProtectVirtualMemory and NtCreateSection to separate
|
||||
@@ -9,12 +9,12 @@ Subject: ntdll: Move NtProtectVirtualMemory and NtCreateSection to separate
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
|
||||
index 020a6c0..592d65f 100644
|
||||
index 4d4bc3b..4179dba 100644
|
||||
--- a/dlls/ntdll/virtual.c
|
||||
+++ b/dlls/ntdll/virtual.c
|
||||
@@ -170,6 +170,14 @@ static void virtual_unlock(void)
|
||||
else RtlLeaveCriticalSection( &csVirtual );
|
||||
}
|
||||
@@ -149,6 +149,14 @@ static void *preload_reserve_end;
|
||||
static BOOL use_locks;
|
||||
static BOOL force_exec_prot; /* whether to force PROT_EXEC on all PROT_READ mmaps */
|
||||
|
||||
+#if defined(__i386__)
|
||||
+NTSTATUS WINAPI NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T *size_ptr,
|
||||
@@ -24,9 +24,9 @@ index 020a6c0..592d65f 100644
|
||||
+ ULONG sec_flags, HANDLE file ) DECLSPEC_ALIGN(4096);
|
||||
+#endif
|
||||
+
|
||||
|
||||
/***********************************************************************
|
||||
* VIRTUAL_GetProtStr
|
||||
*/
|
||||
--
|
||||
2.5.1
|
||||
2.6.1
|
||||
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
Fixes: [33162] Ensure NtProtectVirtualMemory and NtCreateSection are on separate pages
|
||||
Depends: ntdll-Virtual_Memory_Stack
|
||||
Category: stable
|
||||
|
||||
Reference in New Issue
Block a user