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

Changeset 245247 in webkit


Ignore:
Timestamp:
May 13, 2019, 1:10:43 PM (7 years ago)
Author:
Alan Coon
Message:

Cherry-pick r245246. rdar://problem/50727815

Correct the sandbox to allow loading libraries from /Library/Apple
https://bugs.webkit.org/show_bug.cgi?id=197844

Reviewed by Per Arne Vollan.

Grant access to '/Library/Apple' as an appropriate place to load
system frameworks.

  • WebProcess/com.apple.WebProcess.sb.in:

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

Location:
branches/safari-608.1.24-branch/Source/WebKit
Files:
2 edited

Legend:

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

    r245231 r245247  
     12019-05-13  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r245246. rdar://problem/50727815
     4
     5    Correct the sandbox to allow loading libraries from /Library/Apple
     6    https://bugs.webkit.org/show_bug.cgi?id=197844
     7   
     8    Reviewed by Per Arne Vollan.
     9   
     10    Grant access to '/Library/Apple' as an appropriate place to load
     11    system frameworks.
     12   
     13    * WebProcess/com.apple.WebProcess.sb.in:
     14   
     15   
     16    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     17
     18    2019-05-13  Brent Fulgham  <bfulgham@apple.com>
     19
     20            Correct the sandbox to allow loading libraries from /Library/Apple
     21            https://bugs.webkit.org/show_bug.cgi?id=197844
     22
     23            Reviewed by Per Arne Vollan.
     24
     25            Grant access to '/Library/Apple' as an appropriate place to load
     26            system frameworks.
     27
     28            * WebProcess/com.apple.WebProcess.sb.in:
     29
    1302019-05-12  Babak Shafiei  <bshafiei@apple.com>
    231
  • branches/safari-608.1.24-branch/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r245041 r245247  
    4141    (require-all (file-mode #o0004)
    4242    (require-any (subpath "/Library/Filesystems/NetFSPlugins")
     43    (subpath "/Library/Apple/System")
    4344    (subpath "/Library/Preferences/Logging")      ; Logging Rethink
    4445    (subpath "/System")
     
    5354    (subpath "/AppleInternal/Library/Preferences/Logging")
    5455    (system-attribute apple-internal)))
     56
     57;;; Allow mapping of system frameworks + dylibs
     58(allow file-map-executable
     59    (subpath "/Library/Apple/System/Library/Frameworks")
     60    (subpath "/Library/Apple/System/Library/PrivateFrameworks")
     61    (subpath "/System/Library/Frameworks")
     62    (subpath "/System/Library/PrivateFrameworks")
     63    (subpath "/usr/lib")
     64    (literal "/usr/local/lib/sanitizers"))
    5565
    5666(allow file-read-metadata
Note: See TracChangeset for help on using the changeset viewer.