Title: [209133] trunk/Source/WebKit2
Revision
209133
Author
[email protected]
Date
2016-11-30 09:53:12 -0800 (Wed, 30 Nov 2016)

Log Message

Correct plugin sandbox after r208611
https://bugs.webkit.org/show_bug.cgi?id=165187
<rdar://problem/29431165>

Reviewed by Alex Christensen.

In r208611 I removed the 'else' clause of a Scheme conditional
that was needed to properly run plugins (such as Flash Player).

This change retains the relevant current sandbox content, while
still stripping out the old code that is no longer needed.

* PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209132 => 209133)


--- trunk/Source/WebKit2/ChangeLog	2016-11-30 17:38:00 UTC (rev 209132)
+++ trunk/Source/WebKit2/ChangeLog	2016-11-30 17:53:12 UTC (rev 209133)
@@ -1,3 +1,19 @@
+2016-11-30  Brent Fulgham  <[email protected]>
+
+        Correct plugin sandbox after r208611
+        https://bugs.webkit.org/show_bug.cgi?id=165187
+        <rdar://problem/29431165>
+
+        Reviewed by Alex Christensen.
+
+        In r208611 I removed the 'else' clause of a Scheme conditional
+        that was needed to properly run plugins (such as Flash Player).
+
+        This change retains the relevant current sandbox content, while
+        still stripping out the old code that is no longer needed.
+
+        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
+
 2016-11-29  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Database process should not initialize gtk

Modified: trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in (209132 => 209133)


--- trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2016-11-30 17:38:00 UTC (rev 209132)
+++ trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2016-11-30 17:53:12 UTC (rev 209133)
@@ -347,6 +347,22 @@
 (define (webkit-microphone)
     (allow device-microphone))
 
+(allow ipc-posix-shm*
+    (ipc-posix-name-regex #"^AudioIO")
+    (ipc-posix-name-regex #"^CFPBS:")
+    (ipc-posix-name "com.apple.ColorSync.Gen.lock")
+    (ipc-posix-name "com.apple.ColorSync.Disp.lock")
+    (ipc-posix-name "com.apple.ColorSync.Gray2.2")
+    (ipc-posix-name "com.apple.ColorSync.sRGB")
+    (ipc-posix-name "com.apple.ColorSync.GenGray")
+    (ipc-posix-name "com.apple.ColorSync.GenRGB")
+    (ipc-posix-name-regex #"^com\.apple\.cs\.")
+    (ipc-posix-name-regex #"^ls\."))
+(allow ipc-posix-shm-read*
+    (ipc-posix-name-regex #"^/tmp/com\.apple\.csseed\.")
+    (ipc-posix-name "FNetwork.defaultStorageSession")
+    (ipc-posix-name "apple.shm.notification_center"))
+
 ;; Silently block access to some resources
 (deny file-read* file-write* (with no-log)
     (subpath "/Network/Library")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to