Bug 240080

Summary: [iOS][GPUP] Grant read access to font directory
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, gavin.p, ggaren, mazander, mmaxfield, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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].