Allow WebContent process access to some drawing-related IOKit properties
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Jan 2019 03:40:11 +0000 (03:40 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Jan 2019 03:40:11 +0000 (03:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193086
<rdar://problem/46568088>

Reviewed by Eric Carlson.

Add one missing IOKit property, and revise the regexp used for another.

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

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

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

index 9f61e56..e6a0845 100644 (file)
@@ -1,3 +1,15 @@
+2019-01-11  Brent Fulgham  <bfulgham@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.
+
+        Add one missing IOKit property, and revise the regexp used for another.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-01-11  John Wilander  <wilander@apple.com>
 
         Compile out Web API Statistics Collection
index 6b3dce2..aa7dcf4 100644 (file)
     (iokit-property "IOGLESDefaultUseMetal")
     (iokit-property-regex #"IOGVA(BGRAEnc|Codec|EncoderRestricted|Scaler)")
     (iokit-property "IOClassNameOverride")
+    (iokit-property "IOPlatformUUID")
     (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-regex #"(canvas-height|canvas-width)")
     (iokit-property "class-code")
     (iokit-property "color-accuracy-index")
     (iokit-property "device-id")