Title: [266216] trunk/Source/WebKit
Revision
266216
Author
pvol...@apple.com
Date
2020-08-26 18:58:31 -0700 (Wed, 26 Aug 2020)

Log Message

[macOS] Stop logging sandbox violations of com.apple.CoreDisplay.Notification
https://bugs.webkit.org/show_bug.cgi?id=215869

Reviewed by Darin Adler.

On macOS, stop logging mach-lookup sandbox violations of com.apple.CoreDisplay.Notification for performance reasons.

No new tests, since there is no change in behavior. The service was already being denied in the sandbox.

* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (266215 => 266216)


--- trunk/Source/WebKit/ChangeLog	2020-08-27 01:55:08 UTC (rev 266215)
+++ trunk/Source/WebKit/ChangeLog	2020-08-27 01:58:31 UTC (rev 266216)
@@ -1,3 +1,16 @@
+2020-08-26  Per Arne Vollan  <pvol...@apple.com>
+
+        [macOS] Stop logging sandbox violations of com.apple.CoreDisplay.Notification
+        https://bugs.webkit.org/show_bug.cgi?id=215869
+
+        Reviewed by Darin Adler.
+
+        On macOS, stop logging mach-lookup sandbox violations of com.apple.CoreDisplay.Notification for performance reasons.
+
+        No new tests, since there is no change in behavior. The service was already being denied in the sandbox.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2020-08-26  Kate Cheney  <katherine_che...@apple.com>
 
         Resource Load Statistics data summary does not report data which is held up in the web content process.

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (266215 => 266216)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-08-27 01:55:08 UTC (rev 266215)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-08-27 01:58:31 UTC (rev 266216)
@@ -765,6 +765,11 @@
     (global-name "com.apple.windowserver.active"))
 #endif
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
+(deny mach-lookup (with no-log)
+    (global-name "com.apple.CoreDisplay.Notification))
+#endif
+
 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 110000
 ;; Needed to support encrypted media playback <rdar://problem/40038478>
 (allow mach-lookup
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to