Bug 236087 - [iOS][WP] Add access to required syscalls
Summary: [iOS][WP] Add access to required syscalls
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: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-03 09:31 PST by Per Arne Vollan
Modified: 2022-02-03 13:24 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.45 KB, patch)
2022-02-03 09:33 PST, 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-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].