Bug 172465

Summary: [WK2][iOS] Add a mach-lookup exception for 'com.apple.lsd.mapdb' to Network sandbox
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit2Assignee: Brent Fulgham <bfulgham>
Severity: Normal CC: achristensen, ap, bfulgham, commit-queue, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

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.