Title: [198973] trunk/Source/WebKit2
Revision
198973
Author
[email protected]
Date
2016-04-02 12:34:14 -0700 (Sat, 02 Apr 2016)

Log Message

Another attempt to fix the Apple Internal Yosemite and El Capitan builds following
<http://trac.webkit.org/changeset/198933> (https://bugs.webkit.org/show_bug.cgi?id=155455)

Similar to the sandbox policy for WebProcess and NetworkProcess, grant a Database process
access to the passed user's cache directory and passed user's temporary directory so that
the Security framework can verify the code signature of the app that launched it when the
Database process is itself code signed.

* DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (198972 => 198973)


--- trunk/Source/WebKit2/ChangeLog	2016-04-02 16:34:03 UTC (rev 198972)
+++ trunk/Source/WebKit2/ChangeLog	2016-04-02 19:34:14 UTC (rev 198973)
@@ -1,3 +1,15 @@
+2016-04-02  Daniel Bates  <[email protected]>
+
+        Another attempt to fix the Apple Internal Yosemite and El Capitan builds following
+        <http://trac.webkit.org/changeset/198933> (https://bugs.webkit.org/show_bug.cgi?id=155455)
+
+        Similar to the sandbox policy for WebProcess and NetworkProcess, grant a Database process
+        access to the passed user's cache directory and passed user's temporary directory so that
+        the Security framework can verify the code signature of the app that launched it when the
+        Database process is itself code signed.
+
+        * DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in:
+
 2016-04-01  Daniel Bates  <[email protected]>
 
         Attempt to fix the Apple Internal Yosemite and El Capitan builds following

Modified: trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in (198972 => 198973)


--- trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in	2016-04-02 16:34:03 UTC (rev 198972)
+++ trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in	2016-04-02 19:34:14 UTC (rev 198973)
@@ -37,6 +37,13 @@
 (define (home-literal home-relative-literal)
     (literal (string-append (param "HOME_DIR") home-relative-literal)))
 
+;; For code signing verification
+(if (positive? (string-length (param "DARWIN_USER_CACHE_DIR")))
+    (allow file* (subpath (param "DARWIN_USER_CACHE_DIR"))))
+
+(if (positive? (string-length (param "DARWIN_USER_TEMP_DIR")))
+    (allow file* (subpath (param "DARWIN_USER_TEMP_DIR"))))
+
 ;; Read-only preferences and data
 (allow file-read*
     ;; Basic system paths
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to