Title: [257264] trunk/Source/WebKit
Revision
257264
Author
pvol...@apple.com
Date
2020-02-24 15:18:59 -0800 (Mon, 24 Feb 2020)

Log Message

[iOS] Use one telemetry decoration for each sandbox rule
https://bugs.webkit.org/show_bug.cgi?id=207897

Reviewed by Brent Fulgham.

Currently, we are using the decorations '(with telemetry)' and '(with telemetry-backtrace)' for some sandbox rules
in the WebContent process' sandbox. Only one of the two decorations should be used.

No new tests, no behavior change.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (257263 => 257264)


--- trunk/Source/WebKit/ChangeLog	2020-02-24 23:15:15 UTC (rev 257263)
+++ trunk/Source/WebKit/ChangeLog	2020-02-24 23:18:59 UTC (rev 257264)
@@ -1,3 +1,17 @@
+2020-02-24  Per Arne Vollan  <pvol...@apple.com>
+
+        [iOS] Use one telemetry decoration for each sandbox rule
+        https://bugs.webkit.org/show_bug.cgi?id=207897
+
+        Reviewed by Brent Fulgham.
+
+        Currently, we are using the decorations '(with telemetry)' and '(with telemetry-backtrace)' for some sandbox rules
+        in the WebContent process' sandbox. Only one of the two decorations should be used.
+
+        No new tests, no behavior change.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2020-02-24  Chris Dumez  <cdu...@apple.com>
 
         Temporarily disable in-process cookie cache as it seems to be causing hangs on iOS

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (257263 => 257264)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-02-24 23:15:15 UTC (rev 257263)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-02-24 23:18:59 UTC (rev 257264)
@@ -115,7 +115,7 @@
         (allow file-read* asset-access-filter)
         (if (memq 'with-media-playback options)
             (play-media asset-access-filter))
-        (allow mach-lookup (with telemetry-backtrace) (with telemetry)
+        (allow mach-lookup (with telemetry-backtrace)
                (global-name "com.apple.mobileassetd" "com.apple.mobileassetd.v2"))
         (mobile-preferences-read "com.apple.MobileAsset")))
 
@@ -353,7 +353,7 @@
         "com.apple.mt"
         "com.apple.preferences.sounds")
 
-    (allow mach-lookup (with telemetry-backtrace) (with telemetry)
+    (allow mach-lookup (with telemetry-backtrace)
         (global-name "com.apple.frontboard.systemappservices")                 ; -[UIViewServiceInterface _createProcessAssertion] -> SBSProcessIDForDisplayIdentifier()
     )
 
@@ -544,7 +544,7 @@
 (allow ipc-posix-shm-read*
        (ipc-posix-name-prefix "apple.cfprefs."))
  
-(allow mach-lookup (with telemetry-backtrace) (with telemetry)
+(allow mach-lookup (with telemetry-backtrace)
     (global-name "com.apple.lsd.open")
     (global-name "com.apple.lsd.mapdb"))
 
@@ -669,7 +669,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 (with telemetry-backtrace) (with telemetry)
+(allow mach-lookup (with telemetry-backtrace)
     (xpc-service-name "com.apple.iconservices")
     (global-name "com.apple.iconservices"))
 
@@ -828,7 +828,7 @@
 (allow mach-lookup (with report) (with telemetry)
        (global-name "com.apple.webinspector"))
 
-(allow mach-lookup (with telemetry-backtrace) (with telemetry)
+(allow mach-lookup (with telemetry-backtrace)
     (global-name "com.apple.PowerManagement.control"))
 
 (deny file-write-create (vnode-type SYMLINK))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to