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

Changeset 288269 in webkit


Ignore:
Timestamp:
Jan 19, 2022, 8:09:15 PM (5 years ago)
Author:
Brent Fulgham
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:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r288241 r288269  
     12022-01-19  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Grant access to GlobalPreferences and GlobalPreferences_m uniformly
     4        https://bugs.webkit.org/show_bug.cgi?id=235387
     5        <rdar://problem/86943871>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        We should allow access to GlobalPreferences_m.plist in the places where we currently
     10        allow GlobalPreferences.plist. We are inconsistent about this in our sandboxes, and
     11        telemetry shows that we need to provide access.
     12
     13        * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:
     14        * Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb:
     15
    1162022-01-19  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb

    r287990 r288269  
    339339    (allow user-preference-read (preference-domain "kCFPreferencesAnyApplication"))
    340340    (allow file-read*
    341         (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist"))
     341           (front-user-home-literal "/Library/Preferences/.GlobalPreferences.plist")
     342           (front-user-home-literal "/Library/Preferences/.GlobalPreferences_m.plist"))
    342343
    343344    (allow file-read*
  • trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebAuthn.sb

    r285412 r288269  
    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.