gecko-dev/ipc
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
..
app 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
chromium Bug 1454819 - Simplify SharedMemory classes r=ipc-reviewers,nika 2024-08-06 18:16:08 +00:00
docs Bug 1908725 - Part 2: Make the ChildID available in the same places as OtherPid, r=ipc-reviewers,media-playback-reviewers,win-reviewers,alwu,rkraesig,gfx-reviewers,mccr8,nical 2024-08-07 20:39:39 +00:00
glue 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
gtest Bug 1454819 - Simplify SharedMemory classes r=ipc-reviewers,nika 2024-08-06 18:16:08 +00:00
ipdl Bug 1908725 - Part 2: Make the ChildID available in the same places as OtherPid, r=ipc-reviewers,media-playback-reviewers,win-reviewers,alwu,rkraesig,gfx-reviewers,mccr8,nical 2024-08-07 20:39:39 +00:00
mscom Bug 1901554 p1: Call CoTaskMemFree directly from combase.dll for MFTEncoder. r=padenot 2024-06-14 10:39:55 +00:00
testshell Bug 1895661 - Part 1: Move GC zeal functions to JS namespace and add separate constants for browser and shell frequency r=sfink 2024-05-13 16:31:20 +00:00
moz.build
pull-chromium.py