Bug 172465 - [WK2][iOS] Add a mach-lookup exception for 'com.apple.lsd.mapdb' to Network sandbox
Summary: [WK2][iOS] Add a mach-lookup exception for 'com.apple.lsd.mapdb' to Network s...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
Keywords: InRadar
Depends on:
Reported: 2017-05-22 13:04 PDT by Brent Fulgham
Modified: 2017-05-25 14:32 PDT (History)
6 users (show)

See Also:

Patch (1.31 KB, patch)
2017-05-25 13:48 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 2017-05-22 13:04:27 PDT
Some core system frameworks were refactored in iOS 9. Although the various system sandboxes were updated, the WebKit sandbox was missed, resulting in spurious SandboxViolation errors. We should allow this communication channel.
Comment 1 Radar WebKit Bug Importer 2017-05-22 13:04:48 PDT
Comment 2 Brent Fulgham 2017-05-25 13:26:02 PDT
The network process needs access to the UTI information cached in com.apple.lsd.mapdb. We hit sandbox violations for these requests frequently in NetworkProcess, which is a needless performance bottleneck.
Comment 3 Brent Fulgham 2017-05-25 13:45:50 PDT
The macOS sandbox was already updated in <http://trac.webkit.org/changeset/216941>.
Comment 4 Brent Fulgham 2017-05-25 13:48:07 PDT
Created attachment 311284 [details]
Comment 5 WebKit Commit Bot 2017-05-25 14:32:01 PDT
Comment on attachment 311284 [details]

Clearing flags on attachment: 311284

Committed r217450: <http://trac.webkit.org/changeset/217450>
Comment 6 WebKit Commit Bot 2017-05-25 14:32:03 PDT
All reviewed patches have been landed.  Closing bug.