Title: [245385] branches/safari-608.1.24-branch/Source/WebKit
Revision
245385
Author
[email protected]
Date
2019-05-15 22:43:34 -0700 (Wed, 15 May 2019)

Log Message

Cherry-pick r245360. rdar://problem/50823976

    Revise sandbox to allow IOKit properties needed by Metal and LaunchServices
    https://bugs.webkit.org/show_bug.cgi?id=197924
    <rdar://problem/50823976>

    Reviewed by Per Arne Vollan.

    Update sandbox to allow access to some IOKit properties to avoid sandbox violations that could
    lower performance or increase launch times:

    * WebProcess/com.apple.WebProcess.sb.in:

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

Modified Paths

Diff

Modified: branches/safari-608.1.24-branch/Source/WebKit/ChangeLog (245384 => 245385)


--- branches/safari-608.1.24-branch/Source/WebKit/ChangeLog	2019-05-16 05:43:31 UTC (rev 245384)
+++ branches/safari-608.1.24-branch/Source/WebKit/ChangeLog	2019-05-16 05:43:34 UTC (rev 245385)
@@ -1,5 +1,35 @@
 2019-05-15  Kocsen Chung  <[email protected]>
 
+        Cherry-pick r245360. rdar://problem/50823976
+
+    Revise sandbox to allow IOKit properties needed by Metal and LaunchServices
+    https://bugs.webkit.org/show_bug.cgi?id=197924
+    <rdar://problem/50823976>
+    
+    Reviewed by Per Arne Vollan.
+    
+    Update sandbox to allow access to some IOKit properties to avoid sandbox violations that could
+    lower performance or increase launch times:
+    
+    * WebProcess/com.apple.WebProcess.sb.in:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-05-15  Brent Fulgham  <[email protected]>
+
+            Revise sandbox to allow IOKit properties needed by Metal and LaunchServices
+            https://bugs.webkit.org/show_bug.cgi?id=197924
+            <rdar://problem/50823976>
+
+            Reviewed by Per Arne Vollan.
+
+            Update sandbox to allow access to some IOKit properties to avoid sandbox violations that could
+            lower performance or increase launch times:
+
+            * WebProcess/com.apple.WebProcess.sb.in:
+
+2019-05-15  Kocsen Chung  <[email protected]>
+
         Cherry-pick r245334. rdar://problem/50234105
 
     [WK2][iOS] UIProcess may get killed because it is taking too long to release its background task after expiration

Modified: branches/safari-608.1.24-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (245384 => 245385)


--- branches/safari-608.1.24-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2019-05-16 05:43:31 UTC (rev 245384)
+++ branches/safari-608.1.24-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2019-05-16 05:43:34 UTC (rev 245385)
@@ -211,6 +211,8 @@
     (iokit-property-regex #"Apple(GVAKeyDoesNotExist|IntelMEVABundleName)")
     (iokit-property-regex #"^AAPL,(DisplayPipe|OpenCLdisabled|IOGraphics_LER(|_RegTag_1|_RegTag_0|_Busy_2)|alias-policy|boot-display|display-alias|mux-switch-state|ndrv-dev|primary-display|slot-name)")
     (iokit-property-regex #"^ATY,(cbits|fb_(linebytes|offset|size)|intrev)")
+    (iokit-property "ATY,DeviceName") ;; Needed by Metal compilers
+    (iokit-property "ATY,FamilyName") ;; Ditto
     (iokit-property "AVCSupported")
     (iokit-property "BacklightHandle")
     (iokit-property "BlockSize")
@@ -353,16 +355,19 @@
     (iokit-property "device_type")
     (iokit-property "dpm")
     (iokit-property "errordb") ;; Needed for OpenGL on older hardware
+    (iokit-property "filevault-image") ;; Needed by LaunchServices
     (iokit-property "graphic-options")
     (iokit-property "hda-gfx")
     (iokit-property-regex #"^id(Product|Vendor)")
     (iokit-property "iofb_version")
     (iokit-property "image-encrypted")
+    (iokit-property "image-path") ;; Needed by LaunchServices
     (iokit-property "locationID") ;; Needed for Audio support on older hardware
     (iokit-property "model")
     (iokit-property "mt-device-id")
     (iokit-property "name")
     (iokit-property "nv-stats")
+    (iokit-property "od-server-name") ;; Needed by LaunchServices
     (iokit-property-regex #"^parser-(options|type)")
     (iokit-property-regex #"^pci(-aspm-default|debug)")
     (iokit-property "port-number")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to