0
Files
src/content/browser/gpu.sb
jeremy@chromium.org 7b7fc63697 Mac: Fix WebGL in OS X 10.7 + misc. Sandbox cleanup
* Allow IOKit access in 10.7.
* Rename 10.6_ONLY to 10.6_OR_ABOVE and add a 10.7 version.
* Fix path for common.sb in one place we missed the chrome->content move.

BUG=75343
TEST=See bug


Review URL: http://codereview.chromium.org/7060002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86410 0039d316-1c4b-4281-b951-d872f2087c98
2011-05-24 09:06:40 +00:00

24 lines
1.1 KiB
Plaintext

;;
;; Copyright (c) 2011 The Chromium Authors. All rights reserved.
;; Use of this source code is governed by a BSD-style license that can be
;; found in the LICENSE file.
;;
; *** The contents of content/common/common.sb are implicitly included here. ***
; Allow communication between the GPU process and the UI server.
(allow mach-lookup (global-name "com.apple.tsm.uiserver"))
(allow file-read-metadata (literal "/"))
; Needed for WebGL on OS X 10.7 - crbug.com/75343
;10.7_OR_ABOVE (allow iokit-open
;10.7_OR_ABOVE (iokit-connection "IOAccelerator")
;10.7_OR_ABOVE (iokit-user-client-class "IOAccelerationUserClient")
;10.7_OR_ABOVE (iokit-user-client-class "IOFramebufferSharedUserClient")
;10.7_OR_ABOVE (iokit-user-client-class "AppleGraphicsControlClient")
;10.7_OR_ABOVE (iokit-user-client-class "AGPMClient")
;10.7_OR_ABOVE (iokit-user-client-class "IOHIDParamUserClient")
;10.7_OR_ABOVE (iokit-user-client-class "RootDomainUserClient")
;10.7_OR_ABOVE (iokit-user-client-class "IOSurfaceRootUserClient")
;10.7_OR_ABOVE (iokit-user-client-class "IOSurfaceSendRight"))