Bug 1525086 - Part 3b - Start the RDD sandbox earlier r=Alex_Gaynor
commit9eeac5a5a238ecc91808c80aaa7d73180ae19a50
authorHaik Aftandilian <haftandilian@mozilla.com>
Thu, 28 Mar 2019 02:25:50 +0000 (28 02:25 +0000)
committerHaik Aftandilian <haftandilian@mozilla.com>
Thu, 28 Mar 2019 02:25:50 +0000 (28 02:25 +0000)
treede2ab86433b40ff394771a3698d40dd6641acaac
parentae8b138790ce10c8301fd24b932a4f6639823e8c
Bug 1525086 - Part 3b - Start the RDD sandbox earlier r=Alex_Gaynor

Start the RDD process earlier by changing RDDProcessHost to pass the necessary command line arguments for enabling the sandbox.

Per lsmp output on 10.14.3, starting the RDD process sandbox removes access to WindowServer, coreservicesd, lsd and distnoted.

Add a pref (defaulting to on) to control enabling starting the RDD process earlier.

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

--HG--
extra : moz-landing-system : lando
browser/app/profile/firefox.js
dom/media/ipc/PRDD.ipdl
dom/media/ipc/RDDChild.cpp
dom/media/ipc/RDDChild.h
dom/media/ipc/RDDParent.cpp
dom/media/ipc/RDDParent.h
dom/media/ipc/RDDProcessHost.cpp
dom/media/ipc/RDDProcessHost.h
ipc/glue/GeckoChildProcessHost.cpp