Alexandre Julliard : ntdll: Don't set noexec protection on builtin dlls, some broken apps clear the execute permission.
Alexandre Julliard
julliard at winehq.org
Mon Nov 17 09:14:35 CST 2008
Module: wine
Branch: master
Commit: 92cf3d19000f8ad7c80e1f457e02def145d8517a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92cf3d19000f8ad7c80e1f457e02def145d8517a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Nov 17 15:56:54 2008 +0100
ntdll: Don't set noexec protection on builtin dlls, some broken apps clear the execute permission.
---
dlls/ntdll/loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 097f61a..fc7620d 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -1333,7 +1333,7 @@ static void load_builtin_callback( void *module, const char *filename )
return;
}
virtual_create_system_view( module, nt->OptionalHeader.SizeOfImage,
- VPROT_SYSTEM | VPROT_IMAGE | VPROT_NOEXEC | VPROT_COMMITTED |
+ VPROT_SYSTEM | VPROT_IMAGE | VPROT_COMMITTED |
VPROT_READ | VPROT_WRITECOPY | VPROT_EXEC );
/* create the MODREF */
More information about the wine-cvs
mailing list