Bug 256992 - [Cocoa] Allow additional Socket Option powers in Network Process
Summary: [Cocoa] Allow additional Socket Option powers in Network Process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-18 15:19 PDT by Brent Fulgham
Modified: 2023-05-19 14:13 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.