Changeset 163109 in webkit


Ignore:
Timestamp:
Jan 30, 2014 1:30:29 PM (10 years ago)
Author:
dino@apple.com
Message:

Allow the OpenGL Profiler to get through the sandbox
https://bugs.webkit.org/show_bug.cgi?id=127877
<rdar://problem/14817250>
<rdar://problem/14271180>

Reviewed by Alexey Proskuryakov.

Open up the sandbox for WebProcess and PluginProcess so
that OpenGL.framework can create a mach port for communication
with the OpenGL Profiler.

  • Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
  • WebProcess/com.apple.WebProcess.sb.in:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163108 r163109  
     12014-01-29  Dean Jackson  <dino@apple.com>
     2
     3        Allow the OpenGL Profiler to get through the sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=127877
     5        <rdar://problem/14817250>
     6        <rdar://problem/14271180>
     7
     8        Reviewed by Alexey Proskuryakov.
     9
     10        Open up the sandbox for WebProcess and PluginProcess so
     11        that OpenGL.framework can create a mach port for communication
     12        with the OpenGL Profiler.
     13
     14        * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
     15        * WebProcess/com.apple.WebProcess.sb.in:
     16
    1172014-01-30  Anders Carlsson  <andersca@apple.com>
    218
  • trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb

    r153070 r163109  
    229229(allow file* (subpath (param "NSURL_CACHE_DIR")))
    230230
     231;; Allow the OpenGL Profiler to attach.
     232(if (defined? 'mach-register)
     233    (allow mach-register (global-name-regex #"^_oglprof_attach_<[0-9]+>$")))
    231234
    232235;; Networking
  • trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in

    r160099 r163109  
    8383(read-write-and-issue-extensions (extension "com.apple.app-sandbox.read-write"))
    8484(allow mach-lookup (extension "com.apple.app-sandbox.mach")) ;; FIXME: Should be removed when <rdar://problem/13066206> is fixed.
     85
     86;; Allow the OpenGL Profiler to attach.
     87(if (defined? 'mach-register)
     88    (allow mach-register (global-name-regex #"^_oglprof_attach_<[0-9]+>$")))
    8589
    8690;; MediaAccessibility
Note: See TracChangeset for help on using the changeset viewer.