Changeset 254366 in webkit


Ignore:
Timestamp:
Jan 10, 2020 2:21:43 PM (4 years ago)
Author:
Brent Fulgham
Message:

[iOS] Remove 'com.apple.powerlog.plxpclogger.xpc' from the WebContent process sandbox
https://bugs.webkit.org/show_bug.cgi?id=206086
<rdar://problem/57195681>

Reviewed by Per Arne Vollan.

Source/WebKit:

Telemetry and testing have confirmed that we no longer need a mach connection to the
'com.apple.powerlog.plxpclogger.xpc' service. We should remove it from the WebContent process sandbox.

Test: fast/sandbox/ios/sandbox-mach-lookup.html

  • Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

LayoutTests:

  • fast/sandbox/ios/sandbox-mach-lookup-expected.txt:
  • fast/sandbox/ios/sandbox-mach-lookup.html:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r254365 r254366  
     12020-01-10  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [iOS] Remove 'com.apple.powerlog.plxpclogger.xpc' from the WebContent process sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=206086
     5        <rdar://problem/57195681>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        * fast/sandbox/ios/sandbox-mach-lookup-expected.txt:
     10        * fast/sandbox/ios/sandbox-mach-lookup.html:
     11
    1122020-01-10  Brent Fulgham  <bfulgham@apple.com>
    213
  • trunk/LayoutTests/fast/sandbox/ios/sandbox-mach-lookup-expected.txt

    r254365 r254366  
    1414PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.nesessionmanager.content-filter") is false
    1515PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.pluginkit.pkd") is false
     16PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.powerlog.plxpclogger.xpc") is false
    1617PASS internals.hasSandboxMachLookupAccessToGlobalName("com.apple.WebKit.WebContent", "com.apple.system.logger") is false
    1718
  • trunk/LayoutTests/fast/sandbox/ios/sandbox-mach-lookup.html

    r254365 r254366  
    1717    shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.nesessionmanager.content-filter\")");
    1818    shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.pluginkit.pkd\")");
     19    shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.powerlog.plxpclogger.xpc\")");
    1920    shouldBeFalse("internals.hasSandboxMachLookupAccessToGlobalName(\"com.apple.WebKit.WebContent\", \"com.apple.system.logger\")");
    2021}
  • trunk/Source/WebKit/ChangeLog

    r254365 r254366  
     12020-01-10  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [iOS] Remove 'com.apple.powerlog.plxpclogger.xpc' from the WebContent process sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=206086
     5        <rdar://problem/57195681>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        Telemetry and testing have confirmed that we no longer need a mach connection to the
     10        'com.apple.powerlog.plxpclogger.xpc' service. We should remove it from the WebContent process sandbox.
     11
     12        Test: fast/sandbox/ios/sandbox-mach-lookup.html
     13
     14        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     15
    1162020-01-10  Brent Fulgham  <bfulgham@apple.com>
    217
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r254365 r254366  
    742742(allow file-read*
    743743    (home-subpath "/Library/Caches/com.apple.keyboards"))
    744 
    745 ;; Power logging
    746 (allow mach-lookup (with report) (with telemetry)
    747     (global-name "com.apple.powerlog.plxpclogger.xpc")) ;;  <rdar://problem/36442803>
    748744
    749745(mobile-preferences-read
Note: See TracChangeset for help on using the changeset viewer.