Closed Bug 1460426 Opened 6 years ago Closed 6 years ago

Add PROCESS_MITIGATION_IMAGE_LOAD_POLICY to bootstrap process

Categories

(Firefox :: General, enhancement, P1)

Unspecified
Windows
enhancement

Tracking

()

RESOLVED FIXED
Firefox 62
Tracking Status
firefox62 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8974539 [details] [diff] [review]
Add PROCESS_MITIGATION_IMAGE_LOAD_POLICY to bootstrap process

Review of attachment 8974539 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/app/LauncherProcessWin.cpp
@@ +40,5 @@
> +#if !defined(PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON)
> +# define PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON (0x00000001ui64 << 60)
> +#endif // !defined(PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON)
> +
> +#if (_WIN32_WINNT < 0x0602)

I think the configure script requires at least the Win8.1 SDK before it lets you build; are these here for like MinGW or am I missing something?
Attachment #8974539 - Flags: review?(mhowell) → review+
(In reply to Matt Howell [:mhowell] from comment #2)
> Comment on attachment 8974539 [details] [diff] [review]
> Add PROCESS_MITIGATION_IMAGE_LOAD_POLICY to bootstrap process
> 
> I think the configure script requires at least the Win8.1 SDK before it lets
> you build; are these here for like MinGW or am I missing something?

Yes, I think we do require a newer SDK, however I don't think we have actually bumped _WIN32_WINNT. My local build's mozilla-config.h is showing that _WIN32_WINNT is being defined as 0x0601.
(Which I suppose makes sense in the context of the fact that we minimally support Windows 7, thus ensuring that developers don't use carelessly use unsupported APIs on that version... at least I think that's the rationale.)
Yeah, that makes sense to me. That's all I was wondering about, everything looks good here.
https://hg.mozilla.org/mozilla-central/rev/cd4a34b7568b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: