Title: [288269] trunk/Source/WebKit
Revision
288269
Author
[email protected]
Date
2022-01-19 20:09:15 -0800 (Wed, 19 Jan 2022)

Log Message

Grant access to GlobalPreferences and GlobalPreferences_m uniformly
https://bugs.webkit.org/show_bug.cgi?id=235387
<rdar://problem/86943871>

Reviewed by Per Arne Vollan.

We should allow access to GlobalPreferences_m.plist in the places where we currently
allow GlobalPreferences.plist. We are inconsistent about this in our sandboxes, and
telemetry shows that we need to provide access.

* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
* Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (288268 => 288269)


--- trunk/Source/WebKit/ChangeLog	2022-01-20 04:03:12 UTC (rev 288268)
+++ trunk/Source/WebKit/ChangeLog	2022-01-20 04:09:15 UTC (rev 288269)
@@ -1,3 +1,18 @@
+2022-01-19  Brent Fulgham  <[email protected]>
+
+        Grant access to GlobalPreferences and GlobalPreferences_m uniformly
+        https://bugs.webkit.org/show_bug.cgi?id=235387
+        <rdar://problem/86943871>
+
+        Reviewed by Per Arne Vollan.
+
+        We should allow access to GlobalPreferences_m.plist in the places where we currently
+        allow GlobalPreferences.plist. We are inconsistent about this in our sandboxes, and
+        telemetry shows that we need to provide access.
+
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
+        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb:
+
 2022-01-19  Chris Dumez  <[email protected]>
 
         WebKit::nsTextAlignmentFromTextAlignment() falls through ASSERT_NOT_REACHED()

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (288268 => 288269)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2022-01-20 04:03:12 UTC (rev 288268)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2022-01-20 04:09:15 UTC (rev 288269)
@@ -338,7 +338,8 @@
 
     (allow user-preference-read (preference-domain "kCFPreferencesAnyApplication"))
     (allow file-read*
-        (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist"))
+           (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
+           (front-user-home-literal "/Library/Preferences/.GlobalPreferences_m.plist"))
 
     (allow file-read*
            (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist"))

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb (288268 => 288269)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb	2022-01-20 04:03:12 UTC (rev 288268)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb	2022-01-20 04:09:15 UTC (rev 288269)
@@ -191,11 +191,11 @@
 
     (allow user-preference-read (preference-domain "kCFPreferencesAnyApplication"))
     (allow file-read*
-        (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist"))
+           (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
+           (front-user-home-literal "/Library/Preferences/.GlobalPreferences_m.plist"))
     (allow managed-preference-read (preference-domain "kCFPreferencesAnyApplication"))
     
     (allow file-read*
-        (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
         (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist")
     )
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to