RESOLVED FIXED 228773
[macOS] Update message filters
https://bugs.webkit.org/show_bug.cgi?id=228773
Summary [macOS] Update message filters
Per Arne Vollan
Reported 2021-08-04 07:45:43 PDT
Update message filters with enforcement on macOS based on telemetry.
Attachments
Patch (2.44 KB, patch)
2021-08-04 07:48 PDT, Per Arne Vollan
no flags
Radar WebKit Bug Importer
Comment 1 2021-08-04 07:46:11 PDT
Per Arne Vollan
Comment 2 2021-08-04 07:48:55 PDT
Brent Fulgham
Comment 3 2021-08-04 09:51:35 PDT
Comment on attachment 434903 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434903&action=review > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:273 > + (allow (with telemetry-backtrace) iokit-external-method Do we really want telemetry-backtrace on these two methods?
Per Arne Vollan
Comment 4 2021-08-04 10:41:46 PDT
(In reply to Brent Fulgham from comment #3) > Comment on attachment 434903 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=434903&action=review > > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:273 > > + (allow (with telemetry-backtrace) iokit-external-method > > Do we really want telemetry-backtrace on these two methods? Yes, I believe so. They are not expected to be frequently used. Thanks for reviewing!
Brent Fulgham
Comment 5 2021-08-04 10:55:03 PDT
Comment on attachment 434903 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434903&action=review r=me > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:269 > + (deny (with telemetry) (with message "IOMobileFramebufferUserClient") So we deny (with telemetry) pretty much all uses of iokit-async-external-method, and iokit-external-trap ... >>> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:273 >>> + (allow (with telemetry-backtrace) iokit-external-method >> >> Do we really want telemetry-backtrace on these two methods? > > Yes, I believe so. They are not expected to be frequently used. > > Thanks for reviewing! ... and allow with backtrace iokit-external-method for these two methods. That means everything else is denied without telemetry, right? If so, I think this seems right.
Per Arne Vollan
Comment 6 2021-08-04 11:19:39 PDT
(In reply to Brent Fulgham from comment #5) > Comment on attachment 434903 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=434903&action=review > > r=me > > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:269 > > + (deny (with telemetry) (with message "IOMobileFramebufferUserClient") > > So we deny (with telemetry) pretty much all uses of > iokit-async-external-method, and iokit-external-trap ... > > >>> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:273 > >>> + (allow (with telemetry-backtrace) iokit-external-method > >> > >> Do we really want telemetry-backtrace on these two methods? > > > > Yes, I believe so. They are not expected to be frequently used. > > > > Thanks for reviewing! > > ... and allow with backtrace iokit-external-method for these two methods. > > That means everything else is denied without telemetry, right? > > If so, I think this seems right. Actually, I think we are keeping telemetry without backtraces for the denied items, in order to be able to see if they are being used. Thanks for reviewing!
EWS
Comment 7 2021-08-04 11:28:56 PDT
Committed r280644 (240255@main): <https://commits.webkit.org/240255@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434903 [details].
Note You need to log in before you can comment on or make changes to this bug.