Title: [255173] trunk/Source/WebKit
Revision
255173
Author
[email protected]
Date
2020-01-27 13:50:51 -0800 (Mon, 27 Jan 2020)

Log Message

Remove last bits of location services rules
https://bugs.webkit.org/show_bug.cgi?id=206023
<rdar://problem/58452505>

Reviewed by Per Arne Vollan.

Remove the user preferences that were allowed by the sandbox back when location services
were used in the process.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (255172 => 255173)


--- trunk/Source/WebKit/ChangeLog	2020-01-27 21:49:19 UTC (rev 255172)
+++ trunk/Source/WebKit/ChangeLog	2020-01-27 21:50:51 UTC (rev 255173)
@@ -1,3 +1,17 @@
+2020-01-27  Brent Fulgham  <[email protected]>
+
+        Remove last bits of location services rules
+        https://bugs.webkit.org/show_bug.cgi?id=206023
+        <rdar://problem/58452505>
+
+        Reviewed by Per Arne Vollan.
+
+        Remove the user preferences that were allowed by the sandbox back when location services
+        were used in the process.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:
+
 2020-01-27  Said Abou-Hallawa  <[email protected]>
 
         Throttling requestAnimationFrame should be controlled by RenderingUpdateScheduler

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (255172 => 255173)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-01-27 21:49:19 UTC (rev 255172)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-01-27 21:50:51 UTC (rev 255173)
@@ -31,7 +31,6 @@
 ;;;
 
 (import "util.sb")
-(import "carrier-bundle-allowed.sb")
 
 (define-once (allow-read-and-issue-generic-extensions . filters)
     (allow file-read*
@@ -111,13 +110,6 @@
      (allow iokit-open
             (iokit-user-client-class "AppleKeyStoreUserClient")))
 
-(define-once (location-services)
-    (allow-carrier-bundle) ;; <rdar://problem/21192365>
-    (mobile-preferences-read
-        "com.apple.AppSupport"
-        "com.apple.GEO"
-        "com.apple.locationd"))
-
 (define-once (play-audio)
     (allow mach-lookup
            (global-name "com.apple.audio.AURemoteIOServer"))
@@ -770,8 +762,6 @@
 ; <rdar://problem/7595408> , <rdar://problem/7643881>
 (opengl)
 
-(location-services)
-
 ; CRCopyRestrictionsDictionary periodically tries to CFPreferencesAppSynchronize com.apple.springboard.plist
 ; which will attempt to create the plist if it doesn't exist -- from any application.  Only SpringBoard is
 ; allowed to write its plist; ignore all others, they don't know what they are doing.

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


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-01-27 21:49:19 UTC (rev 255172)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-01-27 21:50:51 UTC (rev 255173)
@@ -31,7 +31,6 @@
 ;;;
 
 (import "util.sb")
-(import "carrier-bundle-allowed.sb")
 
 (define-once (allow-read-and-issue-generic-extensions . filters)
     (allow file-read*
@@ -125,13 +124,6 @@
         (iokit-user-client-class "AppleKeyStoreUserClient")  ;; Needed by NSURLCache
 ))
 
-(define-once (location-services)
-    (allow-carrier-bundle) ;; <rdar://problem/21192365>
-    (mobile-preferences-read
-        "com.apple.AppSupport"
-        "com.apple.GEO"
-        "com.apple.locationd"))
-
 (define-once (play-audio)
     (allow mach-lookup
            (global-name "com.apple.audio.AURemoteIOServer"))
@@ -773,8 +765,6 @@
 ; <rdar://problem/7595408> , <rdar://problem/7643881>
 (opengl)
 
-(location-services)
-
 ; CRCopyRestrictionsDictionary periodically tries to CFPreferencesAppSynchronize com.apple.springboard.plist
 ; which will attempt to create the plist if it doesn't exist -- from any application.  Only SpringBoard is
 ; allowed to write its plist; ignore all others, they don't know what they are doing.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to