Changeset 245360 in webkit


Ignore:
Timestamp:
May 15, 2019 3:27:09 PM (5 years ago)
Author:
Brent Fulgham
Message:

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:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r245343 r245360  
     12019-05-15  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Revise sandbox to allow IOKit properties needed by Metal and LaunchServices
     4        https://bugs.webkit.org/show_bug.cgi?id=197924
     5        <rdar://problem/50823976>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        Update sandbox to allow access to some IOKit properties to avoid sandbox violations that could
     10        lower performance or increase launch times:
     11
     12        * WebProcess/com.apple.WebProcess.sb.in:
     13
    1142019-05-15  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r245322 r245360  
    212212    (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)")
    213213    (iokit-property-regex #"^ATY,(cbits|fb_(linebytes|offset|size)|intrev)")
     214    (iokit-property "ATY,DeviceName") ;; Needed by Metal compilers
     215    (iokit-property "ATY,FamilyName") ;; Ditto
    214216    (iokit-property "AVCSupported")
    215217    (iokit-property "BacklightHandle")
     
    354356    (iokit-property "dpm")
    355357    (iokit-property "errordb") ;; Needed for OpenGL on older hardware
     358    (iokit-property "filevault-image") ;; Needed by LaunchServices
    356359    (iokit-property "graphic-options")
    357360    (iokit-property "hda-gfx")
     
    359362    (iokit-property "iofb_version")
    360363    (iokit-property "image-encrypted")
     364    (iokit-property "image-path") ;; Needed by LaunchServices
    361365    (iokit-property "locationID") ;; Needed for Audio support on older hardware
    362366    (iokit-property "model")
     
    364368    (iokit-property "name")
    365369    (iokit-property "nv-stats")
     370    (iokit-property "od-server-name") ;; Needed by LaunchServices
    366371    (iokit-property-regex #"^parser-(options|type)")
    367372    (iokit-property-regex #"^pci(-aspm-default|debug)")
Note: See TracChangeset for help on using the changeset viewer.