Title: [257615] trunk/Source/WebKit
Revision
257615
Author
bfulg...@apple.com
Date
2020-02-27 19:50:13 -0800 (Thu, 27 Feb 2020)

Log Message

[iOS] Remove logging for sysctl access to properties used by NSURLSession
https://bugs.webkit.org/show_bug.cgi?id=208346
<rdar://problem/59862967>

Reviewed by Alexey Proskuryakov.

Telemetry and logging indicate that two sysctl calls are needed by [NSURLSession sessionWithConfiguration].
We no longer need to log these well understood uses.

* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (257614 => 257615)


--- trunk/Source/WebKit/ChangeLog	2020-02-28 03:43:19 UTC (rev 257614)
+++ trunk/Source/WebKit/ChangeLog	2020-02-28 03:50:13 UTC (rev 257615)
@@ -1,3 +1,16 @@
+2020-02-27  Brent Fulgham  <bfulg...@apple.com>
+
+        [iOS] Remove logging for sysctl access to properties used by NSURLSession
+        https://bugs.webkit.org/show_bug.cgi?id=208346
+        <rdar://problem/59862967>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Telemetry and logging indicate that two sysctl calls are needed by [NSURLSession sessionWithConfiguration].
+        We no longer need to log these well understood uses.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+
 2020-02-27  Eric Carlson  <eric.carl...@apple.com>
 
         Support in-band generic cues when loading media in the GPU Process

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (257614 => 257615)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2020-02-28 03:43:19 UTC (rev 257614)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2020-02-28 03:50:13 UTC (rev 257615)
@@ -484,8 +484,6 @@
     (sysctl-name-prefix "kern.monotonicclock")
     (sysctl-name "kern.monotoniclock_offset_usecs")
     (sysctl-name "kern.ngroups")
-    (sysctl-name "kern.osrelease")
-    (sysctl-name "kern.ostype")
     (sysctl-name "kern.saved_ids")
     (sysctl-name "kern.usrstack")
     (sysctl-name "kern.usrstack64")
@@ -569,6 +567,8 @@
         "kern.maxfilesperproc"
         "kern.memorystatus_level"
         "kern.osproductversion" ;; Needed by CFNetwork (HSTS store and others)
+        "kern.ostype" ;; Needed by NSURLSession
+        "kern.osrelease" ;; Ditto.
         "kern.osvariant_status" ;; Needed for bundle loading
         "kern.osversion" ;; Needed by WebKit and ASL logging.
         "kern.secure_kernel" ;; Needed by XPC bundle resolution
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to