Summary: | [macOS] Add IOKIt message filtering | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||||||||
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | bfulgham, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Per Arne Vollan
2020-11-06 07:23:14 PST
Created attachment 413430 [details]
Patch
Created attachment 413463 [details]
Patch
Created attachment 413465 [details]
Patch
Comment on attachment 413465 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413465&action=review I had a few questions, but looks good. r=me > Source/WebKit/ChangeLog:9 > + Like on iOS, the WebContent process on macOS should have IOKit message filtering as well. No need for "as well" at the end (since you say "Like on iOS, ...") > Source/WebKit/ChangeLog:15 > + * WebProcess/com.apple.WebProcess.sb.in: Should we be making similar changes to the GPU Process sandbox? > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:-139 > - (iokit-registry-entry-class "AppleGraphicsControlClient") So we do NOT need AppleGraphicsControlClient? (In reply to Brent Fulgham from comment #5) > Comment on attachment 413465 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=413465&action=review > > I had a few questions, but looks good. r=me > > > Source/WebKit/ChangeLog:9 > > + Like on iOS, the WebContent process on macOS should have IOKit message filtering as well. > > No need for "as well" at the end (since you say "Like on iOS, ...") > Will fix! > > Source/WebKit/ChangeLog:15 > > + * WebProcess/com.apple.WebProcess.sb.in: > > Should we be making similar changes to the GPU Process sandbox? > That is a good point. Would you be OK with doing this in a separate patch? > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:-139 > > - (iokit-registry-entry-class "AppleGraphicsControlClient") > > So we do NOT need AppleGraphicsControlClient? Ah, good catch! Will fix. Thanks for reviewing! Created attachment 413472 [details]
Patch
Committed r269550: <https://trac.webkit.org/changeset/269550> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413472 [details]. |