Changeset 257264 in webkit


Ignore:
Timestamp:
Feb 24, 2020 3:18:59 PM (4 years ago)
Author:
pvollan@apple.com
Message:

[iOS] Use one telemetry decoration for each sandbox rule
https://bugs.webkit.org/show_bug.cgi?id=207897

Reviewed by Brent Fulgham.

Currently, we are using the decorations '(with telemetry)' and '(with telemetry-backtrace)' for some sandbox rules
in the WebContent process' sandbox. Only one of the two decorations should be used.

No new tests, no behavior change.

  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r257254 r257264  
     12020-02-24  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [iOS] Use one telemetry decoration for each sandbox rule
     4        https://bugs.webkit.org/show_bug.cgi?id=207897
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Currently, we are using the decorations '(with telemetry)' and '(with telemetry-backtrace)' for some sandbox rules
     9        in the WebContent process' sandbox. Only one of the two decorations should be used.
     10
     11        No new tests, no behavior change.
     12
     13        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     14
    1152020-02-24  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r257151 r257264  
    116116        (if (memq 'with-media-playback options)
    117117            (play-media asset-access-filter))
    118         (allow mach-lookup (with telemetry-backtrace) (with telemetry)
     118        (allow mach-lookup (with telemetry-backtrace)
    119119               (global-name "com.apple.mobileassetd" "com.apple.mobileassetd.v2"))
    120120        (mobile-preferences-read "com.apple.MobileAsset")))
     
    354354        "com.apple.preferences.sounds")
    355355
    356     (allow mach-lookup (with telemetry-backtrace) (with telemetry)
     356    (allow mach-lookup (with telemetry-backtrace)
    357357        (global-name "com.apple.frontboard.systemappservices")                 ; -[UIViewServiceInterface _createProcessAssertion] -> SBSProcessIDForDisplayIdentifier()
    358358    )
     
    545545       (ipc-posix-name-prefix "apple.cfprefs."))
    546546 
    547 (allow mach-lookup (with telemetry-backtrace) (with telemetry)
     547(allow mach-lookup (with telemetry-backtrace)
    548548    (global-name "com.apple.lsd.open")
    549549    (global-name "com.apple.lsd.mapdb"))
     
    670670(allow file-read*
    671671    (well-known-system-group-container-subpath "/systemgroup.com.apple.lsd.iconscache"))
    672 (allow mach-lookup (with telemetry-backtrace) (with telemetry)
     672(allow mach-lookup (with telemetry-backtrace)
    673673    (xpc-service-name "com.apple.iconservices")
    674674    (global-name "com.apple.iconservices"))
     
    829829       (global-name "com.apple.webinspector"))
    830830
    831 (allow mach-lookup (with telemetry-backtrace) (with telemetry)
     831(allow mach-lookup (with telemetry-backtrace)
    832832    (global-name "com.apple.PowerManagement.control"))
    833833
Note: See TracChangeset for help on using the changeset viewer.