gecko-dev/mozglue
Nika Layzell d0b6b794db Bug 1908725 - Part 5: Add additional validation for early-startup command line checks, r=ipc-reviewers,mccr8
This patch adjusts the various places where we initialize content
processes to call SetGeckoProcessType as early as possible, and be more
consistent. After this change we should only ever set GeckoProcessType
and GeckoChildID once per-process (with the exception of the fork server
process).

In addition to this validation, some more checks around the fork server
were added, such as to prevent forking another forkserver, or forking a
non-content process.

As part of this change, there was some refactoring/cleanup done, such as
removing plugin-container.cpp and content_process_main, as compared to
the other duplicated code between the two call-sites, the duplication
was relatively small, and inlining it helped make things more readable.

Differential Revision: https://phabricator.services.mozilla.com/D218471
2024-08-07 20:39:41 +00:00
..
android Bug 1908725 - Part 5: Add additional validation for early-startup command line checks, r=ipc-reviewers,mccr8 2024-08-07 20:39:41 +00:00
baseprofiler Bug 1911403 - fix typo in source code -> r=nalexander,profiler-reviewers,jandem,masayuki,canaltinova 2024-08-07 05:35:02 +00:00
build Bug 1894073 - Suppress TSan false positive during an edge case in process launch. r=decoder,ipc-reviewers,nika 2024-06-18 13:47:52 +00:00
interposers Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium 2024-05-15 20:29:07 +00:00
linker Bug 1898382 - Remove Android < 5.0 specific code from the linker. r=gsvelto 2024-05-23 06:48:36 +00:00
misc Bug 1908725 - Part 5: Add additional validation for early-startup command line checks, r=ipc-reviewers,mccr8 2024-08-07 20:39:41 +00:00
static Bug 1909558 - Handle the deprecation of std::panic::PanicInfo. r=emilio 2024-07-24 07:07:27 +00:00
tests Bug 1902138 - part2 : add a new marker type for video sink rendering. r=media-playback-reviewers,profiler-reviewers,padenot,canaltinova 2024-06-13 17:18:28 +00:00
moz.build Bug 1874348 - Extra cleanup after bug 1694481 r=firefox-build-system-reviewers,ahochheiden 2024-01-15 22:24:56 +00:00