[webkit-changes] [WebKit/WebKit] 89cc82: [Cocoa] Allow additional Socket Option powers in N...

Brent Fulgham noreply at github.com
Fri May 19 14:13:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 89cc82d5b08e9a51e582e13390667fd022b8c317
      https://github.com/WebKit/WebKit/commit/89cc82d5b08e9a51e582e13390667fd022b8c317
  Author: Brent Fulgham <bfulgham at apple.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in

  Log Message:
  -----------
  [Cocoa] Allow additional Socket Option powers in Network Process
https://bugs.webkit.org/show_bug.cgi?id=256992
<rdar://problem/109534729>

Reviewed by Per Arne Vollan.

Update the Network sandboxes to permit socket options that have been hit during telemetry collection:

    allow socket-option-set level:SOL_SOCKET name:SO_MARK_KNOWN_TRACKER
    allow socket-option-get level:SOL_SOCKET name:SO_SNDBUF
    allow socket-option-set level:SOL_SOCKET name:SO_SNDLOWAT

We should add these permissions to avoid generating telemetry and reports for things that are needed
during normal WebKit operations.

* Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb.in:

Canonical link: https://commits.webkit.org/264275@main




More information about the webkit-changes mailing list