Title: [198977] trunk/Source/WebKit2
- Revision
- 198977
- Author
- [email protected]
- Date
- 2016-04-02 15:04:47 -0700 (Sat, 02 Apr 2016)
Log Message
REGRESSION (r198933): Web Inspector and inspected page hang in local builds
https://bugs.webkit.org/show_bug.cgi?id=156138
<rdar://problem/25507724>
Reviewed by Alexey Proskuryakov.
Similar to the sandbox policy for WebProcess and NetworkProcess, grant a Database process
read-only filesystem access and mach lookup capability to various Security framework files
and SecurityServer, respectively.
* DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (198976 => 198977)
--- trunk/Source/WebKit2/ChangeLog 2016-04-02 21:16:01 UTC (rev 198976)
+++ trunk/Source/WebKit2/ChangeLog 2016-04-02 22:04:47 UTC (rev 198977)
@@ -1,5 +1,19 @@
2016-04-02 Daniel Bates <[email protected]>
+ REGRESSION (r198933): Web Inspector and inspected page hang in local builds
+ https://bugs.webkit.org/show_bug.cgi?id=156138
+ <rdar://problem/25507724>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Similar to the sandbox policy for WebProcess and NetworkProcess, grant a Database process
+ read-only filesystem access and mach lookup capability to various Security framework files
+ and SecurityServer, respectively.
+
+ * DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in:
+
+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)
Modified: trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in (198976 => 198977)
--- trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in 2016-04-02 21:16:01 UTC (rev 198976)
+++ trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in 2016-04-02 22:04:47 UTC (rev 198977)
@@ -37,10 +37,20 @@
(define (home-literal home-relative-literal)
(literal (string-append (param "HOME_DIR") home-relative-literal)))
-;; For code signing verification
+;; Security framework
+(allow mach-lookup
+ (global-name "com.apple.SecurityServer"))
+(allow file-read*
+ (subpath "/private/var/db/mds")
+ (literal "/private/var/db/DetachedSignatures")
+ (literal "/Library/Preferences/com.apple.security.plist")
+ (literal "/Library/Preferences/com.apple.security.revocation.plist")
+ (home-literal "/Library/Preferences/com.apple.security.plist")
+ (home-literal "/Library/Preferences/com.apple.security.revocation.plist"))
+(allow ipc-posix-shm-read* ipc-posix-shm-write-data
+ (ipc-posix-name "com.apple.AppleDatabaseChanged"))
(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"))))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes