Bug 1431441 - Part 5 - Parameterize access to the windowserver in the Mac content...
commit70da96145075aa05e03e977ee02fa76e3f88e0cc
authorHaik Aftandilian <haftandilian@mozilla.com>
Tue, 2 Oct 2018 19:43:06 +0000 (2 19:43 +0000)
committerHaik Aftandilian <haftandilian@mozilla.com>
Tue, 2 Oct 2018 19:43:06 +0000 (2 19:43 +0000)
treea1c5895aa5b37ef023d16d8e21e536b2266a1f8d
parent7977abcd65c4fbb93bf939f49fb280c401165941
Bug 1431441 - Part 5 - Parameterize access to the windowserver in the Mac content sandbox policy r=Alex_Gaynor

Only allow access to "com.apple.windowserver.active" when the pref
"security.sandbox.content.mac.disconnect-windowserver" is set to true.

Depends on D6721

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

--HG--
extra : moz-landing-system : lando
dom/ipc/ContentChild.cpp
dom/ipc/ContentParent.cpp
security/sandbox/mac/Sandbox.h
security/sandbox/mac/Sandbox.mm
security/sandbox/mac/SandboxPolicies.h