Changeset 263705 in webkit


Ignore:
Timestamp:
Jun 29, 2020 3:55:51 PM (4 years ago)
Author:
Chris Dumez
Message:

Unreviewed, reverting r262004.
<rdar://problem/64540215>

Revert r262004 as it is not OK to have a data vault in
TMPDIR.

Reverted changeset:

"[WK2] WebKit abandons compiled sandbox profiles"
https://bugs.webkit.org/show_bug.cgi?id=212177
https://trac.webkit.org/changeset/262004

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r263700 r263705  
     12020-06-29  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, reverting r262004.
     4        <rdar://problem/64540215>
     5
     6        Revert r262004 as it is not OK to have a data vault in
     7        TMPDIR.
     8
     9        Reverted changeset:
     10
     11        "[WK2] WebKit abandons compiled sandbox profiles"
     12        https://bugs.webkit.org/show_bug.cgi?id=212177
     13        https://trac.webkit.org/changeset/262004
     14
    1152020-06-29  Tetsuharu Ohzeki  <tetsuharu.ohzeki@gmail.com>
    216
  • trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

    r263479 r263705  
    257257{
    258258    char temp[PATH_MAX];
    259     // We save the profiles in the user tempory directory so that they get cleaned on reboot
    260     // or if they are not accessed in 3 days. This avoids accumulating profiles whenever we change
    261     // our sandbox rules or webkit cache directories (rdar://problem/54613619).
    262     size_t length = confstr(_CS_DARWIN_USER_TEMP_DIR, temp, sizeof(temp));
     259    size_t length = confstr(_CS_DARWIN_USER_CACHE_DIR, temp, sizeof(temp));
    263260    if (!length) {
    264261        WTFLogAlways("%s: Could not retrieve user temporary directory path: %s\n", getprogname(), strerror(errno));
Note: See TracChangeset for help on using the changeset viewer.