Title: [271333] trunk/Source
Revision
271333
Author
[email protected]
Date
2021-01-08 16:03:32 -0800 (Fri, 08 Jan 2021)

Log Message

Unreviewed, reverting r271331.
https://bugs.webkit.org/show_bug.cgi?id=220487

Wasn't ready for review.

Reverted changeset:

"[macOS] Reset user directory suffix before getting sandbox
directory"
https://bugs.webkit.org/show_bug.cgi?id=220358
https://trac.webkit.org/changeset/271331

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (271332 => 271333)


--- trunk/Source/WebCore/PAL/ChangeLog	2021-01-09 00:00:58 UTC (rev 271332)
+++ trunk/Source/WebCore/PAL/ChangeLog	2021-01-09 00:03:32 UTC (rev 271333)
@@ -1,3 +1,17 @@
+2021-01-08  Commit Queue  <[email protected]>
+
+        Unreviewed, reverting r271331.
+        https://bugs.webkit.org/show_bug.cgi?id=220487
+
+        Wasn't ready for review.
+
+        Reverted changeset:
+
+        "[macOS] Reset user directory suffix before getting sandbox
+        directory"
+        https://bugs.webkit.org/show_bug.cgi?id=220358
+        https://trac.webkit.org/changeset/271331
+
 2021-01-08  Per Arne Vollan  <[email protected]>
 
         [macOS] Reset user directory suffix before getting sandbox directory

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreServicesSPI.h (271332 => 271333)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreServicesSPI.h	2021-01-09 00:00:58 UTC (rev 271332)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreServicesSPI.h	2021-01-09 00:03:32 UTC (rev 271333)
@@ -25,12 +25,6 @@
 
 #pragma once
 
-extern "C" {
+extern "C" void _CSCheckFixDisable();
+extern "C" CFArrayRef _UTCopyDeclaredTypeIdentifiers(void);
 
-void _CSCheckFixDisable();
-CFArrayRef _UTCopyDeclaredTypeIdentifiers(void);
-
-char *_get_user_dir_suffix();
-bool _set_user_dir_suffix(const char *user_dir_suffix);
-
-}

Modified: trunk/Source/WebKit/ChangeLog (271332 => 271333)


--- trunk/Source/WebKit/ChangeLog	2021-01-09 00:00:58 UTC (rev 271332)
+++ trunk/Source/WebKit/ChangeLog	2021-01-09 00:03:32 UTC (rev 271333)
@@ -1,3 +1,17 @@
+2021-01-08  Commit Queue  <[email protected]>
+
+        Unreviewed, reverting r271331.
+        https://bugs.webkit.org/show_bug.cgi?id=220487
+
+        Wasn't ready for review.
+
+        Reverted changeset:
+
+        "[macOS] Reset user directory suffix before getting sandbox
+        directory"
+        https://bugs.webkit.org/show_bug.cgi?id=220358
+        https://trac.webkit.org/changeset/271331
+
 2021-01-08  Per Arne Vollan  <[email protected]>
 
         [macOS] Reset user directory suffix before getting sandbox directory

Modified: trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm (271332 => 271333)


--- trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2021-01-09 00:00:58 UTC (rev 271332)
+++ trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2021-01-09 00:03:32 UTC (rev 271333)
@@ -699,13 +699,7 @@
 #if USE(CACHE_COMPILED_SANDBOX)
     // This must be called before initializeSandboxParameters so that the path does not include the user directory suffix.
     // We don't want the user directory suffix because we want all processes of the same type to use the same cache directory.
-    // If the user directory suffix is not empty, reset it and restore when finished.
-    char* suffix = _get_user_dir_suffix();
-    if (suffix)
-        _set_user_dir_suffix(nullptr);
     String dataVaultParentDirectory { sandboxDataVaultParentDirectory() };
-    if (suffix)
-        _set_user_dir_suffix(suffix);
 #else
     String dataVaultParentDirectory;
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to