Title: [263705] trunk/Source/WebKit
Revision
263705
Author
cdu...@apple.com
Date
2020-06-29 15:55:51 -0700 (Mon, 29 Jun 2020)

Log 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

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (263704 => 263705)


--- trunk/Source/WebKit/ChangeLog	2020-06-29 22:50:05 UTC (rev 263704)
+++ trunk/Source/WebKit/ChangeLog	2020-06-29 22:55:51 UTC (rev 263705)
@@ -1,3 +1,17 @@
+2020-06-29  Chris Dumez  <cdu...@apple.com>
+
+        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
+
 2020-06-29  Tetsuharu Ohzeki  <tetsuharu.ohz...@gmail.com>
 
         Remove ENABLE_STREAMS_API compilation flag

Modified: trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm (263704 => 263705)


--- trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2020-06-29 22:50:05 UTC (rev 263704)
+++ trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2020-06-29 22:55:51 UTC (rev 263705)
@@ -256,10 +256,7 @@
 static String sandboxDataVaultParentDirectory()
 {
     char temp[PATH_MAX];
-    // We save the profiles in the user tempory directory so that they get cleaned on reboot
-    // or if they are not accessed in 3 days. This avoids accumulating profiles whenever we change
-    // our sandbox rules or webkit cache directories (rdar://problem/54613619).
-    size_t length = confstr(_CS_DARWIN_USER_TEMP_DIR, temp, sizeof(temp));
+    size_t length = confstr(_CS_DARWIN_USER_CACHE_DIR, temp, sizeof(temp));
     if (!length) {
         WTFLogAlways("%s: Could not retrieve user temporary directory path: %s\n", getprogname(), strerror(errno));
         exit(EX_NOPERM);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to