Title: [253785] trunk/Source/WebKit
- Revision
- 253785
- Author
- [email protected]
- Date
- 2019-12-19 13:27:59 -0800 (Thu, 19 Dec 2019)
Log Message
Add telemetry to macOS WebContent sandbox
https://bugs.webkit.org/show_bug.cgi?id=205464
<rdar://problem/58087833>
Reviewed by Per Arne Vollan.
Add telemetry to various mach lookups, like we did for iOS.
No new tests. No change in behavior.
* WebProcess/com.apple.WebProcess.sb.in:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (253784 => 253785)
--- trunk/Source/WebKit/ChangeLog 2019-12-19 21:20:33 UTC (rev 253784)
+++ trunk/Source/WebKit/ChangeLog 2019-12-19 21:27:59 UTC (rev 253785)
@@ -1,3 +1,17 @@
+2019-12-19 Brent Fulgham <[email protected]>
+
+ Add telemetry to macOS WebContent sandbox
+ https://bugs.webkit.org/show_bug.cgi?id=205464
+ <rdar://problem/58087833>
+
+ Reviewed by Per Arne Vollan.
+
+ Add telemetry to various mach lookups, like we did for iOS.
+
+ No new tests. No change in behavior.
+
+ * WebProcess/com.apple.WebProcess.sb.in:
+
2019-12-19 Per Arne Vollan <[email protected]>
REGRESSION (r253530): Incorrect colors in Dark Mode
Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (253784 => 253785)
--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in 2019-12-19 21:20:33 UTC (rev 253784)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in 2019-12-19 21:27:59 UTC (rev 253785)
@@ -396,11 +396,17 @@
(xpc-service-name "com.apple.audio.SandboxHelper")
(xpc-service-name "com.apple.coremedia.videodecoder")
(xpc-service-name "com.apple.coremedia.videoencoder")
- (xpc-service-name-regex #"\.apple-extension-service$")
(xpc-service-name "com.apple.hiservices-xpcservice")
(xpc-service-name "com.apple.print.normalizerd")
)
+(allow mach-lookup
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+ (with report) (with telemetry)
+#endif
+ (xpc-service-name-regex #"\.apple-extension-service$")
+)
+
;; Utility functions for home directory relative path filters
(define (home-regex home-relative-regex)
(regex (string-append "^" (regex-quote (param "HOME_DIR")) home-relative-regex)))
@@ -607,24 +613,17 @@
#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101400
(global-name "com.apple.FontObjectsServer")
#endif
- (global-name "com.apple.PowerManagement.control")
(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.cfprefsd.daemon")
(global-name "com.apple.cmio.registerassistantservice") ;; Needed by CoreMedia for plugin drivers
- (global-name "com.apple.coreservices.launchservicesd")
(global-name "com.apple.fonts")
(global-name "com.apple.mediaremoted.xpc")
(global-name "com.apple.logd")
(global-name "com.apple.logd.events")
- (global-name "com.apple.lsd.mapdb")
(global-name "com.apple.lskdd") ;; <rdar://problem/49123855>
- (global-name "com.apple.tccd")
- (global-name "com.apple.tccd.system")
- (global-name "com.apple.trustd.agent")
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(MACCATALYST)
(global-name "com.apple.CARenderServer") ; Needed for [CAContext remoteContextWithOptions]
#else
@@ -632,6 +631,19 @@
#endif
)
+(allow mach-lookup
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+ (with report) (with telemetry)
+#endif
+ (global-name "com.apple.PowerManagement.control")
+ (global-name "com.apple.cfprefsd.daemon")
+ (global-name "com.apple.coreservices.launchservicesd")
+ (global-name "com.apple.lsd.mapdb")
+ (global-name "com.apple.tccd")
+ (global-name "com.apple.tccd.system")
+ (global-name "com.apple.trustd.agent")
+)
+
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 || PLATFORM(MACCATALYST)
;; <rdar://problem/47268166>
(allow mach-lookup (xpc-service-name "com.apple.MTLCompilerService"))
@@ -691,6 +703,9 @@
;; Network Extensions / VPN helper.
(allow mach-lookup
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+ (with report) (with telemetry)
+#endif
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 || PLATFORM(MACCATALYST)
(global-name "com.apple.nesessionmanager.content-filter") ;; <rdar://problem/48442387>
#else
@@ -701,8 +716,11 @@
#if PLATFORM(MAC)
;; FIXME should be removed when <rdar://problem/9347205> + related radar in Safari is fixed
(allow mach-lookup
- (global-name "com.apple.system.notification_center"))
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+ (with report) (with telemetry)
#endif
+ (global-name "com.apple.system.notification_center"))
+#endif
(if (defined? 'vnode-type)
(deny file-write-create (vnode-type SYMLINK)))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes