Bug 1508277 - Crash in mozilla::gl::SurfaceFactory_IOSurface::CreateShared. r=Alex_Gaynor, a=RyanVM
authorHaik Aftandilian <haftandilian@mozilla.com>
Mon, 31 Dec 2018 17:23:35 +0000
changeset 509270 2f7653477756a0d4ecac6296d98b09c846d594a5
parent 509269 fea77d171e0f3de696f7525018a1da062aab22e5
child 509271 c0660dad5c7eebbdace7667db4b1f24098dadcc3
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAlex_Gaynor, RyanVM
bugs1508277
milestone65.0
Bug 1508277 - Crash in mozilla::gl::SurfaceFactory_IOSurface::CreateShared. r=Alex_Gaynor, a=RyanVM Allow access to device-id and vendor-id IOKit properties needed for AppleIntelHD3000GraphicsGLDriver. Fixes a crash in the AppleIntelHD3000GraphicsGLDriver userland driver which is used in some 2011-era Macs. Differential Revision: https://phabricator.services.mozilla.com/D15528
security/sandbox/mac/SandboxPolicies.h
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -226,16 +226,18 @@ static const char contentSandboxRules[] 
 
   (allow iokit-open
      (iokit-user-client-class "IOHIDParamUserClient"))
 
   ; Only supported on macOS 10.10+
   (if (defined? 'iokit-get-properties)
     (allow iokit-get-properties
       (iokit-property "board-id")
+      (iokit-property "vendor-id")
+      (iokit-property "device-id")
       (iokit-property "IODVDBundleName")
       (iokit-property "IOGLBundleName")
       (iokit-property "IOGVACodec")
       (iokit-property "IOGVAHEVCDecode")
       (iokit-property "IOGVAHEVCEncode")
       (iokit-property "IOPCITunnelled")
       (iokit-property "IOVARendererID")
       (iokit-property "MetalPluginName")