RESOLVED FIXED 219740
[macOS] Create sandbox extension for AppleAVDUserClient when Media in GPU process is not enabled
https://bugs.webkit.org/show_bug.cgi?id=219740
Summary [macOS] Create sandbox extension for AppleAVDUserClient when Media in GPU pro...
Per Arne Vollan
Reported 2020-12-10 06:03:43 PST
Create sandbox extension for AppleAVDUserClient for WebContent process when Media in GPU process is not enabled on macOS.
Attachments
Patch (5.94 KB, patch)
2020-12-10 06:11 PST, Per Arne Vollan
ews-feeder: commit-queue-
Patch (5.96 KB, patch)
2020-12-10 06:22 PST, Per Arne Vollan
no flags
Patch (5.97 KB, patch)
2020-12-10 06:28 PST, Per Arne Vollan
bfulgham: review+
Patch (6.52 KB, patch)
2020-12-10 11:05 PST, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2020-12-10 06:04:01 PST
Per Arne Vollan
Comment 2 2020-12-10 06:11:22 PST
Per Arne Vollan
Comment 3 2020-12-10 06:22:22 PST
Per Arne Vollan
Comment 4 2020-12-10 06:28:43 PST
Brent Fulgham
Comment 5 2020-12-10 09:28:40 PST
Comment on attachment 415870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415870&action=review r=me. It's odd that this is apparently needed for Apple Silicon Macs, but isn't needed in the GPU Process. I'll bet that's a mistake. > Source/WebKit/UIProcess/WebPageProxy.cpp:7795 > +#if PLATFORM(MAC) && CPU(ARM64) Is this needed for Catalyst, too? Or does that get picked up by this rule, too? > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:934 > + (iokit-user-client-class "AppleAVDUserClient") Shouldn't this be listed in the GPU Process sandbox, too?
Per Arne Vollan
Comment 6 2020-12-10 11:05:33 PST
Per Arne Vollan
Comment 7 2020-12-10 11:08:15 PST
(In reply to Brent Fulgham from comment #5) > Comment on attachment 415870 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=415870&action=review > > r=me. It's odd that this is apparently needed for Apple Silicon Macs, but > isn't needed in the GPU Process. I'll bet that's a mistake. > > > Source/WebKit/UIProcess/WebPageProxy.cpp:7795 > > +#if PLATFORM(MAC) && CPU(ARM64) > > Is this needed for Catalyst, too? Or does that get picked up by this rule, > too? > I included Catalyst in the latest patch. > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:934 > > + (iokit-user-client-class "AppleAVDUserClient") > > Shouldn't this be listed in the GPU Process sandbox, too? That is a good point. I have added this in the patch for landing. Thanks for reviewing!
EWS
Comment 8 2020-12-10 14:31:54 PST
Committed r270657: <https://trac.webkit.org/changeset/270657> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415902 [details].
Note You need to log in before you can comment on or make changes to this bug.