RESOLVED FIXED 231508
[iOS] Add syscall telemetry in the WebContent process' sandbox
https://bugs.webkit.org/show_bug.cgi?id=231508
Summary [iOS] Add syscall telemetry in the WebContent process' sandbox
Per Arne Vollan
Reported 2021-10-11 04:08:28 PDT
Add syscall telemetry in the WebContent process' sandbox to learn more about the context in which they are being used.
Attachments
Patch (16.40 KB, patch)
2021-10-11 14:19 PDT, Per Arne Vollan
no flags
Patch (19.17 KB, patch)
2021-10-11 14:47 PDT, Per Arne Vollan
no flags
Radar WebKit Bug Importer
Comment 1 2021-10-11 04:08:59 PDT
Per Arne Vollan
Comment 2 2021-10-11 14:17:21 PDT
Per Arne Vollan
Comment 3 2021-10-11 14:19:40 PDT
Per Arne Vollan
Comment 4 2021-10-11 14:47:28 PDT
Brent Fulgham
Comment 5 2021-10-11 15:37:28 PDT
Comment on attachment 440839 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440839&action=review r=me > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1508 > + (allow mach-message-send (with telemetry-backtrace) (kernel-mig-routine Do we need to add preprocessor macros (or a defined? check) for 'kernel-mig-routine'?
Per Arne Vollan
Comment 6 2021-10-12 03:59:16 PDT
(In reply to Brent Fulgham from comment #5) > Comment on attachment 440839 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=440839&action=review > > r=me > > > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:1508 > > + (allow mach-message-send (with telemetry-backtrace) (kernel-mig-routine > > Do we need to add preprocessor macros (or a defined? check) for > 'kernel-mig-routine'? This is inside '(when (defined? 'mach-kernel-endpoint)', so I think that will guard against compile issues on older systems. Thanks for reviewing!
EWS
Comment 7 2021-10-12 04:02:47 PDT
Committed r283978 (242824@main): <https://commits.webkit.org/242824@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440839 [details].
Note You need to log in before you can comment on or make changes to this bug.