Title: [252211] trunk/Source/WebKit
- Revision
- 252211
- Author
- [email protected]
- Date
- 2019-11-07 15:20:01 -0800 (Thu, 07 Nov 2019)
Log Message
[iOS] Add logging and telemetry to more mach lookup rules
https://bugs.webkit.org/show_bug.cgi?id=203978
Reviewed by Brent Fulgham.
Add logging and telemetry to help determine if mach lookup of these services can be denied in the WebContent process.
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (252210 => 252211)
--- trunk/Source/WebKit/ChangeLog 2019-11-07 23:16:39 UTC (rev 252210)
+++ trunk/Source/WebKit/ChangeLog 2019-11-07 23:20:01 UTC (rev 252211)
@@ -1,3 +1,14 @@
+2019-11-07 Per Arne Vollan <[email protected]>
+
+ [iOS] Add logging and telemetry to more mach lookup rules
+ https://bugs.webkit.org/show_bug.cgi?id=203978
+
+ Reviewed by Brent Fulgham.
+
+ Add logging and telemetry to help determine if mach lookup of these services can be denied in the WebContent process.
+
+ * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
2019-11-07 Alex Christensen <[email protected]>
Re-enable NSURLSession isolation after r252116
Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (252210 => 252211)
--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-11-07 23:16:39 UTC (rev 252210)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb 2019-11-07 23:20:01 UTC (rev 252211)
@@ -122,7 +122,8 @@
(define-once (play-audio)
(allow mach-lookup
- (global-name "com.apple.audio.AURemoteIOServer")
+ (global-name "com.apple.audio.AURemoteIOServer"))
+ (allow mach-lookup (with report) (with telemetry)
(xpc-service-name "com.apple.audio.toolbox.reporting.service")))
(define-once (play-media . filters)
@@ -201,6 +202,8 @@
"com.apple.mobileipod")
(allow mach-lookup
(global-name "com.apple.mediaremoted.xpc"))
+ (allow mach-lookup (with report) (with telemetry)
+ (xpc-service-name "com.apple.MediaPlayer.RemotePlayerService"))
)
(define-once (media-capture-support)
@@ -627,7 +630,8 @@
(allow ipc-posix-shm-read*
(ipc-posix-name-prefix "apple.cfprefs."))
-(allow mach-lookup
+(allow mach-lookup (with report) (with telemetry)
+ (global-name "com.apple.lsd.open")
(global-name "com.apple.lsd.mapdb"))
;; <rdar://problem/12413942>
@@ -643,6 +647,9 @@
(deny ipc-posix-sem-create ipc-posix-sem-post ipc-posix-sem-unlink ipc-posix-sem-wait)
(allow ipc-posix-sem-open))
+(allow mach-lookup (with report) (with telemetry)
+ (global-name "com.apple.runningboard"))
+
(allow system-sched
(require-entitlement "com.apple.private.kernel.override-cpumon"))
@@ -653,6 +660,9 @@
(allow sysctl-read sysctl-write
(sysctl-name "vm.footprint_suspend")))
+(allow mach-lookup (with report) (with telemetry)
+ (global-name "com.apple.system.logger"))
+
(allow file-read-metadata network-outbound
(literal "/private/var/run/syslog"))
@@ -661,6 +671,9 @@
(allow ipc-posix-shm-read*
(ipc-posix-name "apple.shm.notification_center"))
+(allow mach-lookup (with report) (with telemetry)
+ (global-name "com.apple.diagnosticd"))
+
(logd-diagnostic-client)
(managed-configuration-read-public)
@@ -717,7 +730,7 @@
(speech-synthesis-and-voiceover)
-(allow mach-lookup
+(allow mach-lookup (with report) (with telemetry)
(global-name "com.apple.audio.AudioComponentRegistrar"))
;; Permit reading assets via MobileAsset framework.
@@ -761,7 +774,7 @@
;; <rdar://problem/7344719&26323449> LaunchServices app icons
(allow file-read*
(well-known-system-group-container-subpath "/systemgroup.com.apple.lsd.iconscache"))
-(allow mach-lookup
+(allow mach-lookup (with report) (with telemetry)
(xpc-service-name "com.apple.iconservices")
(global-name "com.apple.iconservices"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes