[iOS] Fix iokit-get-properties sandbox violation in the WebContent process
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Apr 2019 22:39:11 +0000 (22:39 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Apr 2019 22:39:11 +0000 (22:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196500
<rdar://problem/49497788>

Reviewed by Brent Fulgham.

Attempting to get the iokit properties 'product-description', 'artwork-display-gamut' and
'artwork-scale-factor' is causing sandbox violations.

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

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

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

index 6d6525b..92cb74f 100644 (file)
@@ -1,3 +1,16 @@
+2019-04-02  Per Arne Vollan  <pvollan@apple.com>
+
+        [iOS] Fix iokit-get-properties sandbox violation in the WebContent process
+        https://bugs.webkit.org/show_bug.cgi?id=196500
+        <rdar://problem/49497788>
+
+        Reviewed by Brent Fulgham.
+
+        Attempting to get the iokit properties 'product-description', 'artwork-display-gamut' and
+        'artwork-scale-factor' is causing sandbox violations.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-04-02  Chris Dumez  <cdumez@apple.com>
 
         [WK2] Add support for Window's beforeprint / afterprint events
index aec293d..cad5a14 100644 (file)
     (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