Title: [277218] trunk/Source/WebKit
- Revision
- 277218
- Author
- [email protected]
- Date
- 2021-05-07 18:04:02 -0700 (Fri, 07 May 2021)
Log Message
[iOS] [GPU] Silence warning about com.apple.audio.AudioComponentRegistrar in the WebContent process
https://bugs.webkit.org/show_bug.cgi?id=225547
<rdar://problem/77334436>
Reviewed by Per Arne Vollan.
We block access to various media things (like 'com.apple.audio.AudioComponentRegistrar') when the GPU Process is being used.
Some AudioToolbox code continues to try to connect even though we are not activating relevant parts of the audio subsystem.
AudioToolbox doesn't care about this blocked connection when running in this mode, but they have not had a chance to modify
the framework to avoid attempting to connect.
To avoid spurious logging and telemetry, silence the sandbox violation when the GPU Process is active.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (277217 => 277218)
--- trunk/Source/WebKit/ChangeLog 2021-05-08 00:38:58 UTC (rev 277217)
+++ trunk/Source/WebKit/ChangeLog 2021-05-08 01:04:02 UTC (rev 277218)
@@ -1,5 +1,22 @@
2021-05-07 Brent Fulgham <[email protected]>
+ [iOS] [GPU] Silence warning about com.apple.audio.AudioComponentRegistrar in the WebContent process
+ https://bugs.webkit.org/show_bug.cgi?id=225547
+ <rdar://problem/77334436>
+
+ Reviewed by Per Arne Vollan.
+
+ We block access to various media things (like 'com.apple.audio.AudioComponentRegistrar') when the GPU Process is being used.
+ Some AudioToolbox code continues to try to connect even though we are not activating relevant parts of the audio subsystem.
+ AudioToolbox doesn't care about this blocked connection when running in this mode, but they have not had a chance to modify
+ the framework to avoid attempting to connect.
+
+ To avoid spurious logging and telemetry, silence the sandbox violation when the GPU Process is active.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
+2021-05-07 Brent Fulgham <[email protected]>
+
[macOS] [GPU] Process is missing access to IOMobileFramebufferUserClient on Apple Silicon
https://bugs.webkit.org/show_bug.cgi?id=225545
<rdar://problem/77591664>
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (277217 => 277218)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-05-08 00:38:58 UTC (rev 277217)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2021-05-08 01:04:02 UTC (rev 277218)
@@ -1142,6 +1142,16 @@
;;; FIXME(207716): End services to remove.
)))
+;; Silence warnings about these connections if we have decided not to extend access to them:
+(deny mach-lookup (with no-report)
+ (require-all
+ (require-not (extension "com.apple.webkit.extension.mach"))
+ (global-name
+ "com.apple.audio.AudioComponentRegistrar"
+ )
+ )
+)
+
(allow mach-lookup
(require-all
(extension "com.apple.webkit.extension.mach")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes