Telemetry and logging indicate that two sysctl calls are needed by [NSURLSession sessionWithConfiguration]. We should allow this access so that it can make appropriate decisions about the network stack for the current device: kern.ostype kern.osrelease
<rdar://problem/59862967>
Created attachment 391936 [details] Patch
Comment on attachment 391936 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391936&action=review > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:570 > + "kern.ostype" ;; Needed by NSURLSession I find these comments to not be very useful in the long term. Certainly such low level functionality is needed - or will be needed - by a lot of frameworks. So not sure what information a future reader will get from the fact that back in 2020, we first noticed it to be used by this particular one.
Comment on attachment 391936 [details] Patch Clearing flags on attachment: 391936 Committed r257615: <https://trac.webkit.org/changeset/257615>
All reviewed patches have been landed. Closing bug.