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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Haik Aftandilian 2018-12-31 17:23:35 +00:00
Родитель 23806e75ca
Коммит 179fb3b0a4
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -231,6 +231,8 @@ static const char contentSandboxRules[] = R"SANDBOX_LITERAL(
(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")