Commit 92cf3d19 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Don't set noexec protection on builtin dlls, some broken apps clear the execute permission.

parent 13a279ef
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment