Bug 256992

Summary: [Cocoa] Allow additional Socket Option powers in Network Process
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Brent Fulgham 2023-05-18 15:19:09 PDT
I'm seeing a lot of telemetry from the Network Process sandbox for the following options:

Sandbox: com.apple.WebKit.Networking(2860) allow socket-option-set level:SOL_SOCKET name:SO_MARK_KNOWN_TRACKER
Sandbox: com.apple.WebKit.Networking(2860) allow socket-option-get level:SOL_SOCKET name:SO_SNDBUF
Sandbox: com.apple.WebKit.Networking(2860) allow socket-option-set level:SOL_SOCKET name:SO_SNDLOWAT

We should add these permissions to avoid generating telemetry and reports for things we don't care about.
Comment 1 Radar WebKit Bug Importer 2023-05-18 15:19:27 PDT
<rdar://problem/109534729>
Comment 2 Brent Fulgham 2023-05-18 15:23:15 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14041
Comment 3 EWS 2023-05-19 14:13:20 PDT
Committed 264275@main (89cc82d5b08e): <https://commits.webkit.org/264275@main>

Reviewed commits have been landed. Closing PR #14041 and removing active labels.