Changeset 262586 in webkit


Ignore:
Timestamp:
Jun 4, 2020 4:56:16 PM (4 years ago)
Author:
Brent Fulgham
Message:

Reduce telemetry and report generation for WebContent Process sandbox
https://bugs.webkit.org/show_bug.cgi?id=212779
<rdar://problem/63769879>

Reviewed by Per Arne Vollan.

This patch cleans up a set of telemetry and reports generated during normal
WebKit operation. Now that we understand the uses of these XPC services, we
can reduce the logging traffic.

This is important to do now, since generating the telemetry and reports has
a non-zero power cost.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r262585 r262586  
     12020-06-04  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Reduce telemetry and report generation for WebContent Process sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=212779
     5        <rdar://problem/63769879>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        This patch cleans up a set of telemetry and reports generated during normal
     10        WebKit operation. Now that we understand the uses of these XPC services, we
     11        can reduce the logging traffic.
     12
     13        This is important to do now, since generating the telemetry and reports has
     14        a non-zero power cost.
     15
     16        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     17        * WebProcess/com.apple.WebProcess.sb.in:
     18
    1192020-06-04  Jiewen Tan  <jiewen_tan@apple.com>
    220
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r262566 r262586  
    763763    (home-literal
    764764        "/Library/Preferences/com.apple.Accessibility.plist"
     765        "/Library/Preferences/com.apple.AdLib.plist"
    765766        "/Library/Preferences/com.apple.EmojiPreferences.plist"
    766767        "/Library/Preferences/com.apple.InputModePreferences.plist"
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r262396 r262586  
    163163        "hw.cpufamily" ;; <rdar://problem/58416475>
    164164        "hw.cputype"
     165        "hw.logicalcpu"
    165166        "hw.machine"
    166167        "hw.memsize"
     
    647648       (global-name "com.apple.webinspector"))
    648649
    649 (allow mach-lookup
    650 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
    651     (with report) (with telemetry)
    652 #endif
    653     (global-name "com.apple.awdd")
    654     (global-name "com.apple.cookied")
     650;; Still actively in use
     651(allow mach-lookup
     652    (global-name "com.apple.coreservices.launchservicesd")
    655653    (global-name "com.apple.diagnosticd")
    656654    (global-name "com.apple.iconservices")
    657655    (global-name "com.apple.iconservices.store")
     656    (global-name "com.apple.powerlog.plxpclogger.xpc")
     657    (global-name "com.apple.tccd.system")
     658    (global-name "com.apple.trustd.agent")
     659)
     660
     661(allow mach-lookup
     662#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
     663    (with report) (with telemetry)
     664#endif
     665    (global-name "com.apple.awdd")
     666    (global-name "com.apple.cookied")
    658667    (global-name "com.apple.mobileassetd")
    659     (global-name "com.apple.powerlog.plxpclogger.xpc")
    660668)
    661669
     
    686694#endif
    687695    (global-name "com.apple.PowerManagement.control")
    688     (global-name "com.apple.coreservices.launchservicesd")
    689     (global-name "com.apple.trustd.agent")
    690696)
    691697
     
    696702#endif
    697703    (global-name "com.apple.lsd.mapdb")
    698 )
    699 
    700 (allow mach-lookup
    701 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
    702     (with telemetry)
    703 #endif
    704     (global-name "com.apple.tccd.system")
    705704)
    706705
Note: See TracChangeset for help on using the changeset viewer.