Bug 1508277 - Crash in mozilla::gl::SurfaceFactory_IOSurface::CreateShared r=Alex_Gaynor
authorHaik Aftandilian <haftandilian@mozilla.com>
Mon, 31 Dec 2018 17:23:35 +0000
changeset 509303 51fa00bbe97e6553e67d8d85ae12e5cf98b4ba8b
parent 509302 27730939a1386619acfe4feb31e205977bde878a
child 509304 d96e39ed615b40b9b1ccb661f72b29c81b34fe34
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersAlex_Gaynor
bugs1508277
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508277 - Crash in mozilla::gl::SurfaceFactory_IOSurface::CreateShared r=Alex_Gaynor 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")