Bug 225197

Summary: [iOS] 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=223943
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing none

Description Brent Fulgham 2021-04-29 10:42:15 PDT
Testing has shown a few user preference paths that need to be allowed on iOS. We previously allowed them on macOS in Bug 223943, and should have made the same change in iOS at that time.
Comment 1 Brent Fulgham 2021-04-29 10:42:55 PDT
 <rdar://problem/77321299>
Comment 2 Brent Fulgham 2021-04-29 10:44:55 PDT
Created attachment 427357 [details]
Patch
Comment 3 Per Arne Vollan 2021-04-29 10:52:10 PDT
Comment on attachment 427357 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=427357&action=review

R=me.

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:769
> +        "/Library/Preferences/.GlobalPreferences.plist"

I think this is already present in this sandbox.

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:885
> +        "/Library/Preferences/.GlobalPreferences.plist"

Ditto.
Comment 4 Brent Fulgham 2021-04-29 10:56:11 PDT
Created attachment 427359 [details]
Patch for landing
Comment 5 Brent Fulgham 2021-04-29 10:56:52 PDT
Created attachment 427360 [details]
Patch for landing
Comment 6 EWS 2021-04-29 11:59:14 PDT
Committed r276787 (237165@main): <https://commits.webkit.org/237165@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427360 [details].