gecko-dev/xpcom
Haik Aftandilian 0f858863b6 Bug 1498742 - Part 2 - Start the GMP sandbox earlier during process startup r=jya,cpearce
Change the Mac GMP process launch to include sandboxing params on the command line to allow the sandbox to be started earlier during GMP process launch. Content, extension, and RDD processes have already been changed to start the sandbox earlier.

Update GMPProcessParent to override GeckoChildProcessHost methods used to construct sandboxing parameters. Pass the plugin path as a sandbox parameter so that the sandbox rules can whitelist the plugin directory which is now read after the sandbox is enabled in the plugin process. On development builds, pass "testingReadPath" params so directories needed during automated tests can be whitelisted.

Update Mac sandboxing code to detect GMP sandbox params on the command line and enable the sandbox with additional arguments needed for early sandbox start.

Allow reverting to the old implementation by setting security.sandbox.gmp.mac.earlyinit to false.

Differential Revision: https://phabricator.services.mozilla.com/D34085

--HG--
extra : moz-landing-system : lando
2019-06-12 23:41:53 +00:00
..
base Bug 1498742 - Part 2 - Start the GMP sandbox earlier during process startup r=jya,cpearce 2019-06-12 23:41:53 +00:00
build Bug 1556993 - Ignore invalid handles in Mozilla{,Un}RegisterDebugHandle - r=erahm 2019-06-12 23:23:20 +00:00
components Bug 1122740 - remove useless null checks after allocating memory with |new| r=erahm 2019-06-04 04:43:11 +00:00
doc
ds Bug 1122740 - remove useless null checks after allocating memory with |new| r=erahm 2019-06-04 04:43:11 +00:00
glue Bug 1554380 - Fix some issues in mozilla::ReadAhead. r=aklotz 2019-05-29 10:13:28 +00:00
idl-parser Bug 1550770 - Error instead of implicitly converting XPCOM interfaces to builtinclass. r=nika 2019-05-14 17:39:14 +00:00
io Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer 2019-06-03 12:37:12 +00:00
libxpt/xptcall
reflect Bug 1556490 - Don't require JSContext* to get symbol name, r=mccr8 2019-06-06 14:57:29 +00:00
rust Backed out changeset a10cdf32fb5a (bug 1552549) for causing a spike in xpcshell failures. CLOSED TREE 2019-05-22 02:05:22 +03:00
string Bug 1543693 - Add missing nsReadableUtils wrappers for conversions between UTF-8 and Latin1 XPCOM string. r=froydnj 2019-04-12 17:49:11 +00:00
system Bug 1553540 - switch disk information collection in system info off the main thread, r=aklotz,chutten,jya,arai 2019-06-12 15:56:59 +00:00
tests Bug 1556829: Convert version numbers larger or smaller than the 32-bit limit to 0. r=froydnj 2019-06-04 13:23:04 -07:00
threads Bug 1554292 - Add simple telemetry probe to gather information about threads' wakeup frequency, r=erahm 2019-06-05 20:26:09 +00:00
windbgdlg Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-19 20:42:11 +09:00
xpidl
moz.build
xpcom-config.h.in Bug 1523851 - Remove the dynamic_cast<void*> test. r=froydnj 2019-01-30 14:25:33 +00:00
xpcom-private.h.in