⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271286 in webkit


Ignore:
Timestamp:
Jan 7, 2021, 11:12:09 PM (6 years ago)
Author:
pvollan@apple.com
Message:

[iOS] Silence diagnostics sandbox violations
https://bugs.webkit.org/show_bug.cgi?id=220414

Reviewed by Darin Adler.

For performance reasons, silence benign diagnostics sandbox violations in the WebContent process on iOS.
Additionally, remove logging for a sysctl in the Networking process' sandbox, since it is known to be used.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r271283 r271286  
     12021-01-07  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [iOS] Silence diagnostics sandbox violations
     4        https://bugs.webkit.org/show_bug.cgi?id=220414
     5
     6        Reviewed by Darin Adler.
     7
     8        For performance reasons, silence benign diagnostics sandbox violations in the WebContent process on iOS.
     9        Additionally, remove logging for a sysctl in the Networking process' sandbox, since it is known to be used.
     10
     11        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
     12        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
     13
    1142021-01-07  Kate Cheney  <katherine_cheney@apple.com>
    215
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb

    r269444 r271286  
    455455    (sysctl-name "hw.logicalcpu")
    456456    (sysctl-name "hw.logicalcpu_max")
    457     (sysctl-name "hw.memsize")
    458457    (sysctl-name "hw.pagesize")
    459458    (sysctl-name "hw.physicalcpu")
     
    548547        "hw.ncpu"
    549548        "hw.machine" ;; Needed by CFNetwork (CFURLProtocols)
     549        "hw.memsize"
    550550        "hw.model" ;; Needed for bundle loading
    551551        "hw.pagesize_compat" ;; Needed by bmalloc
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

    r271198 r271286  
    955955(media-accessibility-support)
    956956
    957 (deny mach-lookup (with no-log)
     957(deny mach-lookup (with no-report)
    958958    (global-name "com.apple.SystemConfiguration.configd")
    959959    (global-name "com.apple.aggregated")
     960    (global-name "com.apple.diagnosticd")
    960961    (global-name "com.apple.fontservicesd")
    961962)
Note: See TracChangeset for help on using the changeset viewer.