Title: [209814] trunk/Source/WebKit2
Revision
209814
Author
[email protected]
Date
2016-12-14 10:27:30 -0800 (Wed, 14 Dec 2016)

Log Message

Unreviewed test fix after r209806.

Plugin-common doesn't define 'home-subpath'. Instead it has 'home-library-subpath'. Switch to the correct
function. Also, 'home-library-subpath' adds '/Library' to the path, so revise the arguments so that we
do not generate paths like '/home/username/Library/Library/Keychains'.

* PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209813 => 209814)


--- trunk/Source/WebKit2/ChangeLog	2016-12-14 18:07:22 UTC (rev 209813)
+++ trunk/Source/WebKit2/ChangeLog	2016-12-14 18:27:30 UTC (rev 209814)
@@ -1,5 +1,15 @@
 2016-12-14  Brent Fulgham  <[email protected]>
 
+        Unreviewed test fix after r209806.
+
+        Plugin-common doesn't define 'home-subpath'. Instead it has 'home-library-subpath'. Switch to the correct
+        function. Also, 'home-library-subpath' adds '/Library' to the path, so revise the arguments so that we
+        do not generate paths like '/home/username/Library/Library/Keychains'.
+
+        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
+
+2016-12-14  Brent Fulgham  <[email protected]>
+
         Unreviewed test fix after r209779.
 
         The 'Keygen' element requires the ability to create new keys in '$HOME/Library/Keychains'. Remove the

Modified: trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in (209813 => 209814)


--- trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2016-12-14 18:07:22 UTC (rev 209813)
+++ trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in	2016-12-14 18:27:30 UTC (rev 209814)
@@ -198,12 +198,12 @@
 
 ;; Do permit creating per-user keychains
 (allow file-read* file-write*
-    (home-subpath "/Library/Keychains"))
+    (home-library-subpath "/Keychains"))
 
 ;; Except deny access to new-style iOS Keychain folders which are UUIDs.
 (deny file-read* file-write*
     (regex (string-append "/Library/Keychains/" (uuid-regex-string) "(/|$)"))
-    (home-library-regex (string-append "/Library/Keychains/" (uuid-regex-string) "(/|$)")))
+    (home-library-regex (string-append "/Keychains/" (uuid-regex-string) "(/|$)")))
 #endif
 
 ;; Security framework
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to