Changeset 259474 in webkit


Ignore:
Timestamp:
Apr 3, 2020 10:55:09 AM (4 years ago)
Author:
Brent Fulgham
Message:

[macOS] Update sandbox rules for correct sanitizer paths in current OS releases
https://bugs.webkit.org/show_bug.cgi?id=209818
<rdar://problem/58422996>

Unreviewed follow-up based on feedback from the sanitizer team.

The change in r259317 left the original, incorrect, 'literal' form of the path, rather
than the correct 'subpath' form. This corrects that issue.

  • NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
  • WebProcess/com.apple.WebProcess.sb.in:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r259470 r259474  
     12020-04-03  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [macOS] Update sandbox rules for correct sanitizer paths in current OS releases
     4        https://bugs.webkit.org/show_bug.cgi?id=209818
     5        <rdar://problem/58422996>
     6
     7        Unreviewed follow-up based on feedback from the sanitizer team.
     8
     9        The change in r259317 left the original, incorrect, 'literal' form of the path, rather
     10        than the correct 'subpath' form. This corrects that issue.
     11
     12        * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:
     13        * WebProcess/com.apple.WebProcess.sb.in:
     14
    1152020-04-03  Brent Fulgham  <bfulgham@apple.com>
    216
  • trunk/Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in

    r259317 r259474  
    4545       (subpath "/System/Library/PrivateFrameworks")
    4646       (subpath "/usr/lib")
    47        (literal "/usr/local/lib/sanitizers") ;; FIXME(209820)
     47       (subpath "/usr/local/lib/sanitizers") ;; FIXME(209820)
    4848       (subpath "/usr/appleinternal/lib/sanitizers"))
    4949
     
    8888
    8989(allow file-read*
    90        (literal "/usr/local/lib/sanitizers") ;; FIXME(209820)
     90       (subpath "/usr/local/lib/sanitizers") ;; FIXME(209820)
    9191       (subpath "/usr/appleinternal/lib/sanitizers"))
    9292
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r259470 r259474  
    5959    (subpath "/System/Library/PrivateFrameworks")
    6060    (subpath "/usr/lib")
    61     (literal "/usr/local/lib/sanitizers") ;; FIXME(209820)
     61    (subpath "/usr/local/lib/sanitizers") ;; FIXME(209820)
    6262    (subpath "/usr/appleinternal/lib/sanitizers"))
    6363
Note: See TracChangeset for help on using the changeset viewer.