| Summary: | [macOS] Deny mach-lookup access to "com.apple.lsd.mapdb" in sandbox | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||||||||||||
| Component: | WebKit Misc. | Assignee: | Per Arne Vollan <pvollan> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, darin, webkit-bug-importer | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Bug Depends on: | 209861 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Per Arne Vollan
2020-03-31 09:17:51 PDT
Created attachment 395048 [details]
Patch
Created attachment 395060 [details]
Patch
Created attachment 395079 [details]
Patch
Comment on attachment 395079 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395079&action=review > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:276 > + // Map Launch Services database WebKit coding style asks for a "." here. > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:360 > +#if HAVE(CSCHECKFIXDISABLE) > + // _CSCheckFixDisable() needs to be called before checking in with Launch Services. > + _CSCheckFixDisable(); > +#endif Why does’t this belong inside the launchServicesCheckIn function? Created attachment 395080 [details]
Patch
(In reply to Darin Adler from comment #5) > Comment on attachment 395079 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395079&action=review > > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:276 > > + // Map Launch Services database > > WebKit coding style asks for a "." here. > Will fix. > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:360 > > +#if HAVE(CSCHECKFIXDISABLE) > > + // _CSCheckFixDisable() needs to be called before checking in with Launch Services. > > + _CSCheckFixDisable(); > > +#endif > > Why does’t this belong inside the launchServicesCheckIn function? That is a very good point. This would mean all other WebKit processes would get this, but I think that is only a good thing. I will update the patch. Thanks for reviewing! Created attachment 395084 [details]
Patch
Committed r259328: <https://trac.webkit.org/changeset/259328> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395084 [details]. Re-opened since this is blocked by bug 209861 Created attachment 395207 [details]
Patch
Committed r259366: <https://trac.webkit.org/changeset/259366> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395207 [details]. |