[iOS] Update sandbox profile to use iconservices instead of lsdiconservice
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Jan 2019 19:05:59 +0000 (19:05 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Jan 2019 19:05:59 +0000 (19:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193115
<rdar://problem/44867379>

Reviewed by Eric Carlson.

Add access to the 'com.apple.iconservices' endpoint. We will remove access to
the older name ('com.apple.lsdiconservices') once existing clients have completed
the switch.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

index be8bc3c..e1197ef 100644 (file)
@@ -1,3 +1,17 @@
+2019-01-09  Brent Fulgham  <bfulgham@apple.com>
+
+        [iOS] Update sandbox profile to use iconservices instead of lsdiconservice
+        https://bugs.webkit.org/show_bug.cgi?id=193115
+        <rdar://problem/44867379>
+
+        Reviewed by Eric Carlson.
+
+        Add access to the 'com.apple.iconservices' endpoint. We will remove access to
+        the older name ('com.apple.lsdiconservices') once existing clients have completed
+        the switch.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2019-01-09  Antti Koivisto  <antti@apple.com>
 
         [PSON] Flash of blank content while transitioning from page A to page B.
index 135d74e..6b3dce2 100644 (file)
 (allow file-read*
     (well-known-system-group-container-subpath "/systemgroup.com.apple.lsd.iconscache"))
 (allow mach-lookup
-    (xpc-service-name "com.apple.lsdiconservice"))
+    (xpc-service-name "com.apple.lsdiconservice") ;; Remove this line after <rdar://problem/47151295> is fixed.
+    (xpc-service-name "com.apple.iconservice"))
 
 ;; Common mach services needed by UIKit.
 (allow mach-lookup