Title: [267421] trunk/Source/WebKit
Revision
267421
Author
[email protected]
Date
2020-09-22 11:03:15 -0700 (Tue, 22 Sep 2020)

Log Message

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

Reviewed by Brent Fulgham.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (267420 => 267421)


--- trunk/Source/WebKit/ChangeLog	2020-09-22 18:00:35 UTC (rev 267420)
+++ trunk/Source/WebKit/ChangeLog	2020-09-22 18:03:15 UTC (rev 267421)
@@ -1,3 +1,12 @@
+2020-09-22  Per Arne Vollan  <[email protected]>
+
+        [macOS] Start collecting telemetry from a set of XPC services
+        <https://bugs.webkit.org/show_bug.cgi?id=216797>
+
+        Reviewed by Brent Fulgham.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2020-09-22  Youenn Fablet  <[email protected]>
 
         Implement a default prompt for getUserMedia

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-09-22 18:00:35 UTC (rev 267420)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-09-22 18:03:15 UTC (rev 267421)
@@ -454,12 +454,6 @@
                             "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
@@ -707,44 +701,13 @@
 (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
@@ -752,13 +715,6 @@
 #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
@@ -803,7 +759,6 @@
 
 ;; 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
@@ -980,6 +935,36 @@
 #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