⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 288520 in webkit


Ignore:
Timestamp:
Jan 24, 2022, 5:56:18 PM (5 years ago)
Author:
Russell Epstein
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

Location:
branches/safari-613-branch/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-613-branch/Source/WebKit/ChangeLog

    r288515 r288520  
     12022-01-24  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r288269. rdar://problem/86943871
     4
     5    Grant access to GlobalPreferences and GlobalPreferences_m uniformly
     6    https://bugs.webkit.org/show_bug.cgi?id=235387
     7    <rdar://problem/86943871>
     8   
     9    Reviewed by Per Arne Vollan.
     10   
     11    We should allow access to GlobalPreferences_m.plist in the places where we currently
     12    allow GlobalPreferences.plist. We are inconsistent about this in our sandboxes, and
     13    telemetry shows that we need to provide access.
     14   
     15    * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
     16    * Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb:
     17   
     18   
     19    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     20
     21    2022-01-19  Brent Fulgham  <bfulgham@apple.com>
     22
     23            Grant access to GlobalPreferences and GlobalPreferences_m uniformly
     24            https://bugs.webkit.org/show_bug.cgi?id=235387
     25            <rdar://problem/86943871>
     26
     27            Reviewed by Per Arne Vollan.
     28
     29            We should allow access to GlobalPreferences_m.plist in the places where we currently
     30            allow GlobalPreferences.plist. We are inconsistent about this in our sandboxes, and
     31            telemetry shows that we need to provide access.
     32
     33            * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
     34            * Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb:
     35
    1362022-01-24  Alan Coon  <alancoon@apple.com>
    237
  • branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb

    r286852 r288520  
    338338    (allow user-preference-read (preference-domain "kCFPreferencesAnyApplication"))
    339339    (allow file-read*
    340         (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist"))
     340           (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
     341           (front-user-home-literal "/Library/Preferences/.GlobalPreferences_m.plist"))
    341342
    342343    (allow file-read*
  • branches/safari-613-branch/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb

    r285412 r288520  
    192192    (allow user-preference-read (preference-domain "kCFPreferencesAnyApplication"))
    193193    (allow file-read*
    194         (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist"))
     194           (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
     195           (front-user-home-literal "/Library/Preferences/.GlobalPreferences_m.plist"))
    195196    (allow managed-preference-read (preference-domain "kCFPreferencesAnyApplication"))
    196197   
    197198    (allow file-read*
    198         (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
    199199        (literal "/private/var/Managed Preferences/mobile/.GlobalPreferences.plist")
    200200    )
Note: See TracChangeset for help on using the changeset viewer.