Bug 223943

Summary: [macOS] Reduce logging for uninteresting sandbox violations
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225197
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Brent Fulgham
Reported 2021-03-30 11:41:59 PDT
During testing, we have found a few IOKit properties needed by the macOS Network Process, and a handful of items needed when running in recovery mode. We should unblock these items to allow proper function and to reduce telemetry for items that we don't need to learn more about.
Attachments
Patch (3.11 KB, patch)
2021-03-30 11:47 PDT, Brent Fulgham
no flags
Patch (3.14 KB, patch)
2021-03-30 11:50 PDT, Brent Fulgham
no flags
Patch for landing (3.10 KB, patch)
2021-03-30 14:28 PDT, Brent Fulgham
no flags
Radar WebKit Bug Importer
Comment 1 2021-03-30 11:45:27 PDT
Brent Fulgham
Comment 2 2021-03-30 11:47:57 PDT
Brent Fulgham
Comment 3 2021-03-30 11:50:36 PDT
Per Arne Vollan
Comment 4 2021-03-30 14:16:22 PDT
Comment on attachment 424670 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424670&action=review R=me. > Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:305 > + (global-name "com.apple.DiskArbitration.diskarbitrationd") I think it would be good if we could avoid adding this. One option is to filter with uid == 0.
Brent Fulgham
Comment 5 2021-03-30 14:26:37 PDT
Comment on attachment 424670 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424670&action=review >> Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:305 >> + (global-name "com.apple.DiskArbitration.diskarbitrationd") > > I think it would be good if we could avoid adding this. One option is to filter with uid == 0. I'll add it to the uid==0 case, but I think it actually makes sense for Network to interact with disk.
Brent Fulgham
Comment 6 2021-03-30 14:28:36 PDT
Created attachment 424698 [details] Patch for landing
EWS
Comment 7 2021-03-30 15:25:35 PDT
Committed r275242: <https://commits.webkit.org/r275242> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424698 [details].
Note You need to log in before you can comment on or make changes to this bug.