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

This commit is contained in:
Alexandre Julliard 2008-11-17 15:56:54 +01:00
parent 13a279ef0a
commit 92cf3d1900
1 changed files with 1 additions and 1 deletions

View File

@ -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 */