Changeset 262630 in webkit


Ignore:
Timestamp:
Jun 5, 2020, 10:36:24 AM (5 years ago)
Author:
Alan Coon
Message:

Cherry-pick r262586. rdar://problem/64034619

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:

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

Location:
branches/safari-610.1.15-branch/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610.1.15-branch/Source/WebKit/ChangeLog

    r262580 r262630  
     12020-06-05  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r262586. rdar://problem/64034619
     4
     5    Reduce telemetry and report generation for WebContent Process sandbox
     6    https://bugs.webkit.org/show_bug.cgi?id=212779
     7    <rdar://problem/63769879>
     8   
     9    Reviewed by Per Arne Vollan.
     10   
     11    This patch cleans up a set of telemetry and reports generated during normal
     12    WebKit operation. Now that we understand the uses of these XPC services, we
     13    can reduce the logging traffic.
     14   
     15    This is important to do now, since generating the telemetry and reports has
     16    a non-zero power cost.
     17   
     18    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     19    * WebProcess/com.apple.WebProcess.sb.in:
     20   
     21   
     22    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     23
     24    2020-06-04  Brent Fulgham  <bfulgham@apple.com>
     25
     26            Reduce telemetry and report generation for WebContent Process sandbox
     27            https://bugs.webkit.org/show_bug.cgi?id=212779
     28            <rdar://problem/63769879>
     29
     30            Reviewed by Per Arne Vollan.
     31
     32            This patch cleans up a set of telemetry and reports generated during normal
     33            WebKit operation. Now that we understand the uses of these XPC services, we
     34            can reduce the logging traffic.
     35
     36            This is important to do now, since generating the telemetry and reports has
     37            a non-zero power cost.
     38
     39            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     40            * WebProcess/com.apple.WebProcess.sb.in:
     41
    1422020-06-04  Alan Coon  <alancoon@apple.com>
    243
  • branches/safari-610.1.15-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r262579 r262630  
    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"
  • branches/safari-610.1.15-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r262446 r262630  
    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.