Bug 225197 - [iOS] Reduce logging for uninteresting sandbox violations
Summary: [iOS] Reduce logging for uninteresting sandbox violations
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: 2021-04-29 10:42 PDT by Brent Fulgham
Modified: 2021-04-29 11:59 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.67 KB, patch)
2021-04-29 10:44 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (1.91 KB, patch)
2021-04-29 10:56 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (1.83 KB, patch)
2021-04-29 10:56 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

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