Title: [267455] trunk/Source/WebKit
Revision
267455
Author
[email protected]
Date
2020-09-22 19:37:54 -0700 (Tue, 22 Sep 2020)

Log Message

Unreviewed, reverting r267421.
https://bugs.webkit.org/show_bug.cgi?id=216864

Broke a test on macOS

Reverted changeset:

"[macOS] Start collecting telemetry from a set of XPC
services"
https://bugs.webkit.org/show_bug.cgi?id=216797
https://trac.webkit.org/changeset/267421

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (267454 => 267455)


--- trunk/Source/WebKit/ChangeLog	2020-09-23 01:57:35 UTC (rev 267454)
+++ trunk/Source/WebKit/ChangeLog	2020-09-23 02:37:54 UTC (rev 267455)
@@ -1,3 +1,17 @@
+2020-09-22  Commit Queue  <[email protected]>
+
+        Unreviewed, reverting r267421.
+        https://bugs.webkit.org/show_bug.cgi?id=216864
+
+        Broke a test on macOS
+
+        Reverted changeset:
+
+        "[macOS] Start collecting telemetry from a set of XPC
+        services"
+        https://bugs.webkit.org/show_bug.cgi?id=216797
+        https://trac.webkit.org/changeset/267421
+
 2020-09-22  Lauro Moura  <[email protected]>
 
         [GTK] REGRESSION(r267398): several hidpi tests are failing

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-09-23 01:57:35 UTC (rev 267454)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-09-23 02:37:54 UTC (rev 267455)
@@ -454,6 +454,12 @@
                             "display-scale"))))
 
 (deny mach-lookup (xpc-service-name-prefix ""))
+(allow mach-lookup
+    (xpc-service-name "com.apple.PerformanceAnalysis.animationperfd")
+    (xpc-service-name "com.apple.audio.SandboxHelper")
+    (xpc-service-name "com.apple.hiservices-xpcservice")
+    (xpc-service-name "com.apple.print.normalizerd")
+)
 
 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 110000
 (allow mach-lookup
@@ -701,13 +707,44 @@
 (allow ipc-posix-shm-read* ipc-posix-shm-write-data
     (ipc-posix-name-regex #"^AudioIO"))
 
+;; Remote Web Inspector
+(allow mach-lookup
+       (global-name "com.apple.webinspector"))
+
+;; Still actively in use
+(allow mach-lookup
+    (global-name "com.apple.coreservices.launchservicesd")
+    (global-name "com.apple.diagnosticd")
+    (global-name "com.apple.iconservices")
+    (global-name "com.apple.iconservices.store")
+    (global-name "com.apple.powerlog.plxpclogger.xpc")
+    (global-name "com.apple.tccd.system")
+    (global-name "com.apple.trustd.agent")
+)
+
+(allow mach-lookup
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+    (with report) (with telemetry)
+#endif
+    (global-name "com.apple.awdd")
+    (global-name "com.apple.cookied")
+    (global-name "com.apple.mobileassetd")
+)
+
 ;; Various services required by AppKit and other frameworks
 (allow mach-lookup
 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101400
        (global-name "com.apple.FontObjectsServer")
 #endif
+       (global-name "com.apple.SystemConfiguration.configd")
+       (global-name "com.apple.analyticsd")
+       (global-name "com.apple.assertiond.processassertionconnection")
+       (global-name "com.apple.audio.SystemSoundServer-OSX")
+       (global-name "com.apple.audio.audiohald")
+       (global-name "com.apple.fonts")
        (global-name "com.apple.logd")
        (global-name "com.apple.logd.events")
+       (global-name "com.apple.lskdd") ;; <rdar://problem/49123855>
 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(MACCATALYST)
        (global-name "com.apple.CARenderServer") ; Needed for [CAContext remoteContextWithOptions]
 #else
@@ -715,6 +752,13 @@
 #endif
 )
 
+(allow mach-lookup
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+    (with report) (with telemetry)
+#endif
+    (global-name "com.apple.PowerManagement.control")
+)
+
 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
 (deny mach-lookup (with telemetry-backtrace)
 #else
@@ -759,6 +803,7 @@
 
 ;; CoreFoundation. We don't import com.apple.corefoundation.sb, because it allows unnecessary access to pasteboard.
 (allow mach-lookup
+    (global-name-regex #"^com.apple.distributed_notifications")
 #if !HAVE(CSCHECKFIXDISABLE)
     (global-name "com.apple.CoreServices.coreservicesd")
 #endif
@@ -935,36 +980,6 @@
 #endif
 
 (allow mach-lookup
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
-    (with report) (with telemetry-backtrace)
-#endif
-    (xpc-service-name "com.apple.PerformanceAnalysis.animationperfd")
-    (xpc-service-name "com.apple.audio.SandboxHelper")
-    (xpc-service-name "com.apple.hiservices-xpcservice")
-    (xpc-service-name "com.apple.print.normalizerd")
-    (global-name "com.apple.webinspector")
-    (global-name "com.apple.coreservices.launchservicesd")
-    (global-name "com.apple.diagnosticd")
-    (global-name "com.apple.iconservices")
-    (global-name "com.apple.iconservices.store")
-    (global-name "com.apple.powerlog.plxpclogger.xpc")
-    (global-name "com.apple.tccd.system")
-    (global-name "com.apple.trustd.agent")
-    (global-name "com.apple.awdd")
-    (global-name "com.apple.cookied")
-    (global-name "com.apple.mobileassetd")
-    (global-name "com.apple.SystemConfiguration.configd")
-    (global-name "com.apple.analyticsd")
-    (global-name "com.apple.assertiond.processassertionconnection")
-    (global-name "com.apple.audio.SystemSoundServer-OSX")
-    (global-name "com.apple.audio.audiohald")
-    (global-name "com.apple.fonts")
-    (global-name "com.apple.lskdd") ;; <rdar://problem/49123855>
-    (global-name "com.apple.PowerManagement.control")
-    (global-name-regex #"^com.apple.distributed_notifications")
-)
-
-(allow mach-lookup
     (require-all
         (extension "com.apple.webkit.extension.mach")
         (global-name
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to