Title: [149427] trunk/Source/WebKit2
- Revision
- 149427
- Author
- [email protected]
- Date
- 2013-04-30 23:08:54 -0700 (Tue, 30 Apr 2013)
Log Message
ipc-posix-shm backwards compatibility
https://bugs.webkit.org/show_bug.cgi?id=115448
<rdar://problem/13743037>
Patch by Simon Cooper <[email protected]> on 2013-04-30
Reviewed by Alexey Proskuryakov.
Add compatibility for older ipc-posix-shm operations, but prefer the
newer names when writing profiles.
* Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (149426 => 149427)
--- trunk/Source/WebKit2/ChangeLog 2013-05-01 05:49:57 UTC (rev 149426)
+++ trunk/Source/WebKit2/ChangeLog 2013-05-01 06:08:54 UTC (rev 149427)
@@ -1,3 +1,16 @@
+2013-04-30 Simon Cooper <[email protected]>
+
+ ipc-posix-shm backwards compatibility
+ https://bugs.webkit.org/show_bug.cgi?id=115448
+ <rdar://problem/13743037>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Add compatibility for older ipc-posix-shm operations, but prefer the
+ newer names when writing profiles.
+
+ * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
+
2013-04-30 Philippe Normand <[email protected]>
Unreviewed, GTK build fix after r149416.
Modified: trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb (149426 => 149427)
--- trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb 2013-05-01 05:49:57 UTC (rev 149426)
+++ trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb 2013-05-01 06:08:54 UTC (rev 149427)
@@ -246,12 +246,18 @@
(define (webkit-imagecapture)
(allow appleevent-send (appleevent-destination "com.apple.imagecaptureextension2")))
+(if (not (defined? 'ipc-posix-shm*))
+ (define ipc-posix-shm* ipc-posix-shm))
+
(allow ipc-posix-shm*
(ipc-posix-name-regex #"^AudioIO")
(ipc-posix-name-regex #"^CFPBS:")
(ipc-posix-name "_CS_GSHMEMLOCK")
(ipc-posix-name "_CS_DSHMEMLOCK"))
+(if (not (defined? 'ipc-posix-shm-read*))
+ (define ipc-posix-shm-read* ipc-posix-shm))
+
(allow ipc-posix-shm-read*
(ipc-posix-name "apple.shm.notification_center"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes