Bug 240080 - [iOS][GPUP] Grant read access to font directory
Summary: [iOS][GPUP] Grant read access to font directory
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-04 13:49 PDT by Per Arne Vollan
Modified: 2022-05-04 15:04 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.14 KB, patch)
2022-05-04 13:52 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2022-05-04 13:49:37 PDT
Grant read access to font directory in the GPU process on iOS.
Comment 1 Per Arne Vollan 2022-05-04 13:49:59 PDT
<rdar://92045403>
Comment 2 Per Arne Vollan 2022-05-04 13:52:03 PDT
Created attachment 458824 [details]
Patch
Comment 3 Brent Fulgham 2022-05-04 13:54:21 PDT
Comment on attachment 458824 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=458824&action=review

r=me

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb.in:499
> +    (home-subpath "/Library/Fonts"))

Should we do this on macOS, too?
Comment 4 Per Arne Vollan 2022-05-04 14:01:33 PDT
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 458824 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=458824&action=review
> 
> r=me
> 
> > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb.in:499
> > +    (home-subpath "/Library/Fonts"))
> 
> Should we do this on macOS, too?

That is a good point. Looking at the macOS sandbox, it appears we already have granted this access.

Thanks for reviewing!
Comment 5 EWS 2022-05-04 15:04:50 PDT
Committed r293795 (250269@main): <https://commits.webkit.org/250269@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458824 [details].