Title: [239580] trunk/Source/WebKit
Revision
239580
Author
bfulg...@apple.com
Date
2019-01-02 15:50:22 -0800 (Wed, 02 Jan 2019)

Log Message

Allow WebContent process access to some drawing-related IOKit properties
https://bugs.webkit.org/show_bug.cgi?id=193086
<rdar://problem/46568088>

Reviewed by Eric Carlson.

Update the iOS WebContent process sandbox to allow access to some IOKit properties
that are needed for drawing and media playback operations.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
* WebProcess/com.apple.WebKit.WebContent.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (239579 => 239580)


--- trunk/Source/WebKit/ChangeLog	2019-01-02 23:41:56 UTC (rev 239579)
+++ trunk/Source/WebKit/ChangeLog	2019-01-02 23:50:22 UTC (rev 239580)
@@ -1,5 +1,19 @@
 2019-01-02  Brent Fulgham  <bfulg...@apple.com>
 
+        Allow WebContent process access to some drawing-related IOKit properties
+        https://bugs.webkit.org/show_bug.cgi?id=193086
+        <rdar://problem/46568088>
+
+        Reviewed by Eric Carlson.
+
+        Update the iOS WebContent process sandbox to allow access to some IOKit properties
+        that are needed for drawing and media playback operations.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+        * WebProcess/com.apple.WebKit.WebContent.sb.in:
+
+2019-01-02  Brent Fulgham  <bfulg...@apple.com>
+
         Remove unused logging service 
         https://bugs.webkit.org/show_bug.cgi?id=193081
         <rdar://problem/40414815>

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (239579 => 239580)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-01-02 23:41:56 UTC (rev 239579)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2019-01-02 23:50:22 UTC (rev 239580)
@@ -330,11 +330,16 @@
     (iokit-property "HEVCSupported")
     (iokit-property-regex #"^IOGL(|ES(|Metal))BundleName")
     (iokit-property "IOGLESDefaultUseMetal")
+    (iokit-property-regex #"IOGVA(BGRAEnc|Codec|EncoderRestricted|Scaler)")
     (iokit-property "IOClassNameOverride")
     (iokit-property "IOSurfaceAcceleratorCapabilitiesDict")
     (iokit-property-regex #"^MetalPlugin(Name|ClassName)")
     (iokit-property "Protocol Characteristics")
     (iokit-property "artwork-device-subtype")
+    (iokit-property-regex #"^canvas-(height|width)")
+    (iokit-property "class-code")
+    (iokit-property "color-accuracy-index")
+    (iokit-property "device-id")
     (iokit-property "device-perf-memory-class")
     (iokit-property "emu")
     (iokit-property "hdcp-hoover-protocol")
@@ -341,6 +346,7 @@
     (iokit-property "iommu-present")
     (iokit-property "product-id")
     (iokit-property "software-behavior")
+    (iokit-property "vendor-id")
 )
 
 ;; Read-only preferences and data

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (239579 => 239580)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2019-01-02 23:41:56 UTC (rev 239579)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2019-01-02 23:50:22 UTC (rev 239580)
@@ -288,6 +288,7 @@
     (iokit-property "NVArch")
     (iokit-property-regex #"^NVC(AP|LASS)")
     (iokit-property-regex #"^NVDA,(Features|NVPresentment-version|accel-loaded|invalid-config|mm-version)")
+    (iokit-property "NVDA,Enable-A2R10G10B10Format")
     (iokit-property-regex #"^NVDA(Type|initgl_created)")
     (iokit-property "NVRAMProperty")
     (iokit-property "NXSystemInfo")
@@ -323,7 +324,9 @@
     (iokit-property "boot-gamma-restored")
     (iokit-property "built-in")
     (iokit-property "cail_properties")
+    (iokit-property-regex #"^canvas-(height|width)")
     (iokit-property "class-code")
+    (iokit-property "color-accuracy-index")
     (iokit-property "compatible")
     (iokit-property "connector-type")
     (iokit-property-regex #"^(device|revision|subsystem-vendor|touch-size)-id")
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to