[iOS] Fix iokit-get-properties sandbox violations
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Apr 2019 22:50:04 +0000 (22:50 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Apr 2019 22:50:04 +0000 (22:50 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196782
<rdar://problem/49497720>

Reviewed by Brent Fulgham.

Add iokit properties to the WebContent sandbox on iOS.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244159 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

index 93b9c35..d88f460 100644 (file)
@@ -1,3 +1,15 @@
+2019-04-10  Per Arne Vollan  <pvollan@apple.com>
+
+        [iOS] Fix iokit-get-properties sandbox violations
+        https://bugs.webkit.org/show_bug.cgi?id=196782
+        <rdar://problem/49497720>
+
+        Reviewed by Brent Fulgham.
+
+        Add iokit properties to the WebContent sandbox on iOS.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-04-10  Tim Horton  <timothy_horton@apple.com>
 
         Add modern API for overriding the page's specified viewport configuration
index cad5a14..6be85d6 100644 (file)
     (iokit-property "IOSurfaceAcceleratorCapabilitiesDict")
     (iokit-property-regex #"^MetalPlugin(Name|ClassName)")
     (iokit-property "Protocol Characteristics")
+    (iokit-property "artwork-device-idiom") ;; <rdar://problem/49497720>
     (iokit-property "artwork-device-subtype")
+    (iokit-property "artwork-display-gamut") ;; <rdar://problem/49497788>
+    (iokit-property "artwork-dynamic-displaymode") ;; <rdar://problem/49497720>
+    (iokit-property "artwork-scale-factor") ;; <rdar://problem/49497788>
     (iokit-property-regex #"(canvas-height|canvas-width)")
     (iokit-property "class-code")
     (iokit-property "color-accuracy-index")
+    (iokit-property "compatible-device-fallback") ;; <rdar://problem/49497720>
     (iokit-property "device-id")
     (iokit-property "device-perf-memory-class")
     (iokit-property "emu")
+    (iokit-property "graphics-featureset-class") ;; <rdar://problem/49497720>
     (iokit-property "hdcp-hoover-protocol")
     (iokit-property "iommu-present")
+    (iokit-property "product-description") ;; <rdar://problem/49497788>
     (iokit-property "product-id")
     (iokit-property "software-behavior")
     (iokit-property "vendor-id")
     (iokit-property "ui-pip") ;; <rdar://problem/48867037>
-    (iokit-property "product-description") ;; <rdar://problem/49497788>
-    (iokit-property "artwork-display-gamut") ;; <rdar://problem/49497788>
-    (iokit-property "artwork-scale-factor") ;; <rdar://problem/49497788>
 )
 
 ;; Read-only preferences and data