| Summary: | Silence preference write sandbox violations in the WebContent process | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||||||
| Component: | WebKit Misc. | Assignee: | Per Arne Vollan <pvollan> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bfulgham, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Per Arne Vollan
2020-03-31 06:56:38 PDT
Created attachment 395033 [details]
Patch
Created attachment 395040 [details]
Patch
Comment on attachment 395040 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395040&action=review > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:878 > + (home-prefix "/Library/Preferences/") You might need to use: (define (home-prefix home-relative-prefix) (prefix (string-append (param "HOME") home-relative-prefix))) Created attachment 395051 [details]
Patch
(In reply to Brent Fulgham from comment #4) > Comment on attachment 395040 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395040&action=review > > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:878 > > + (home-prefix "/Library/Preferences/") > > You might need to use: > > (define (home-prefix home-relative-prefix) > (prefix (string-append (param "HOME") home-relative-prefix))) I tried using 'home-subpath' in the latest patch, will that also be correct? Thanks for reviewing! Comment on attachment 395051 [details]
Patch
r=me
Comment on attachment 395051 [details]
Patch
Thanks for reviewing!
Committed r259297: <https://trac.webkit.org/changeset/259297> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395051 [details]. |