Title: [213665] trunk/Source/WebKit2
- Revision
- 213665
- Author
- [email protected]
- Date
- 2017-03-09 13:42:04 -0800 (Thu, 09 Mar 2017)
Log Message
[WK2][iOS] Extend WebProcess sandbox to support audio and video compression/decompression
https://bugs.webkit.org/show_bug.cgi?id=169431
<rdar://problem/30844650>
Reviewed by Youenn Fablet.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (213664 => 213665)
--- trunk/Source/WebKit2/ChangeLog 2017-03-09 21:39:50 UTC (rev 213664)
+++ trunk/Source/WebKit2/ChangeLog 2017-03-09 21:42:04 UTC (rev 213665)
@@ -1,3 +1,13 @@
+2017-03-09 Brent Fulgham <[email protected]>
+
+ [WK2][iOS] Extend WebProcess sandbox to support audio and video compression/decompression
+ https://bugs.webkit.org/show_bug.cgi?id=169431
+ <rdar://problem/30844650>
+
+ Reviewed by Youenn Fablet.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
2017-03-09 Wenson Hsieh <[email protected]>
[WK2] Add a UI delegate hook for custom handling of data interaction operations
Modified: trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (213664 => 213665)
--- trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2017-03-09 21:39:50 UTC (rev 213664)
+++ trunk/Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2017-03-09 21:42:04 UTC (rev 213665)
@@ -112,7 +112,8 @@
;; Media capture, microphone access
(with-filter (extension "com.apple.webkit.microphone")
- (allow device-microphone))
+ (allow device-microphone)
+ (allow mach-lookup (global-name "com.apple.coremedia.compressionsession")))
;; Media capture, camera access
(with-filter (extension "com.apple.webkit.camera")
@@ -121,7 +122,6 @@
(allow file-read* (subpath "/Library/CoreMediaIO/Plug-Ins/DAL"))
(allow mach-lookup (extension "com.apple.app-sandbox.mach"))
(allow mach-lookup
- (global-name "com.apple.coremedia.videoqueue")
(global-name "com.apple.cmio.AppleCameraAssistant")
;; Apple DAL assistants
(global-name "com.apple.cmio.VDCAssistant")
@@ -128,9 +128,16 @@
(global-name "com.apple.cmio.AVCAssistant")
(global-name "com.apple.cmio.IIDCVideoAssistant")
;; QuickTimeIIDCDigitizer assistant
- (global-name "com.apple.IIDCAssistant"))
+ (global-name "com.apple.IIDCAssistant")
+ (global-name "com.apple.coremedia.compressionsession"))
(allow iokit-open
;; QuickTimeUSBVDCDigitizer
(iokit-user-client-class "IOUSBDeviceUserClientV2")
(iokit-user-client-class "IOUSBInterfaceUserClientV2"))
(allow device-camera))
+
+;; Support incoming video connections
+(allow mach-lookup
+ (global-name "com.apple.audio.audiohald")
+ (global-name "com.apple.coremedia.decompressionsession")
+ (global-name "com.apple.coremedia.videoqueue"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes