Title: [288520] branches/safari-613-branch/Source/WebKit
Revision
288520
Author
[email protected]
Date
2022-01-24 17:56:18 -0800 (Mon, 24 Jan 2022)

Log Message

Cherry-pick r288269. rdar://problem/86943871

    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:

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

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebKit/ChangeLog (288519 => 288520)


--- branches/safari-613-branch/Source/WebKit/ChangeLog	2022-01-25 01:56:15 UTC (rev 288519)
+++ branches/safari-613-branch/Source/WebKit/ChangeLog	2022-01-25 01:56:18 UTC (rev 288520)
@@ -1,5 +1,40 @@
 2022-01-24  Alan Coon  <[email protected]>
 
+        Cherry-pick r288269. rdar://problem/86943871
+
+    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:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-24  Alan Coon  <[email protected]>
+
         Cherry-pick r288238. rdar://problem/87272534
 
     WebsiteDataStore.cpp uses switch statements for WebKit::ProcessAccessType enum that fall through ASSERT_NOT_REACHED()

Modified: branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb (288519 => 288520)


--- branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2022-01-25 01:56:15 UTC (rev 288519)
+++ branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb	2022-01-25 01:56:18 UTC (rev 288520)
@@ -337,7 +337,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: branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb (288519 => 288520)


--- branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb	2022-01-25 01:56:15 UTC (rev 288519)
+++ branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb	2022-01-25 01:56:18 UTC (rev 288520)
@@ -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