Commit e9bc48e9 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Force executing IL-only binaries on the native machine.

parent 1f351153
......@@ -1954,6 +1954,8 @@ static RTL_USER_PROCESS_PARAMETERS *build_initial_params(void)
if (!status)
{
if (main_image_info.ImageCharacteristics & IMAGE_FILE_DLL) status = STATUS_INVALID_IMAGE_FORMAT;
if (main_image_info.ImageFlags & IMAGE_FLAGS_ComPlusNativeReady)
main_image_info.Machine = native_machine;
if (main_image_info.Machine != current_machine) status = STATUS_INVALID_IMAGE_FORMAT;
}
......
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