Bug 236087

Summary: [iOS][WP] Add access to required syscalls
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, gavin.p, ggaren, mazander, 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-02-03 09:31:07 PST
Add access to required syscalls which are rarely used. This is based on recent telemetry.
Comment 1 Radar WebKit Bug Importer 2022-02-03 09:31:42 PST
<rdar://problem/88439656>
Comment 2 Per Arne Vollan 2022-02-03 09:33:04 PST
Created attachment 450785 [details]
Patch
Comment 3 Brent Fulgham 2022-02-03 13:07:06 PST
Comment on attachment 450785 [details]
Patch

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

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1324
> +        SYS_iopolicysys

Can you put a radar here just so we can remember why it was needed?

> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1328
> +        SYS_work_interval_ctl))

Ditto.
Comment 4 Per Arne Vollan 2022-02-03 13:18:17 PST
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 450785 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=450785&action=review
> 
> > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1324
> > +        SYS_iopolicysys
> 
> Can you put a radar here just so we can remember why it was needed?
> 
> > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1328
> > +        SYS_work_interval_ctl))
> 
> Ditto.

This is only seen in telemetry, so there are no radars, currently.

Thanks for reviewing!
Comment 5 EWS 2022-02-03 13:24:30 PST
Committed r289072 (246778@main): <https://commits.webkit.org/246778@main>

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