Title: [196939] trunk/Source/WebKit2
Revision
196939
Author
[email protected]
Date
2016-02-22 09:50:35 -0800 (Mon, 22 Feb 2016)

Log Message

[WK2][Mac] Allow processes to set "fast-dev-casheable" bit
https://bugs.webkit.org/show_bug.cgi?id=154503
<rdar://problem/22920815>

Reviewed by Alexey Proskuryakov.

Update the various sandbox profiles with a declaration that using the
system-fctl to touch the "hot file" flag (to support caching operations)
is allowed.

* DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in: Add sandbox permission.
* Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb: Ditto.
* WebProcess/com.apple.WebProcess.sb.in: Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196938 => 196939)


--- trunk/Source/WebKit2/ChangeLog	2016-02-22 17:34:37 UTC (rev 196938)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-22 17:50:35 UTC (rev 196939)
@@ -1,3 +1,19 @@
+2016-02-21  Brent Fulgham  <[email protected]>
+
+        [WK2][Mac] Allow processes to set "fast-dev-casheable" bit
+        https://bugs.webkit.org/show_bug.cgi?id=154503
+        <rdar://problem/22920815>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Update the various sandbox profiles with a declaration that using the
+        system-fctl to touch the "hot file" flag (to support caching operations)
+        is allowed.
+
+        * DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in: Add sandbox permission.
+        * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb: Ditto.
+        * WebProcess/com.apple.WebProcess.sb.in: Ditto.
+
 2016-02-22  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r196891.

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


--- trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in	2016-02-22 17:34:37 UTC (rev 196938)
+++ trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in	2016-02-22 17:50:35 UTC (rev 196939)
@@ -51,6 +51,7 @@
     ;; On-disk WebKit2 framework location, to account for debug installations
     ;; outside of /System/Library/Frameworks
     (subpath (param "WEBKIT2_FRAMEWORK_DIR")))
+(allow system-fsctl (fsctl-command (_IO "h" 47)))
 
 ;; Sandbox extensions
 (define (apply-read-and-issue-extension op path-filter)

Modified: trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb (196938 => 196939)


--- trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb	2016-02-22 17:34:37 UTC (rev 196938)
+++ trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb	2016-02-22 17:50:35 UTC (rev 196939)
@@ -203,6 +203,7 @@
 (allow file*
     ;; FIXME: This should be removed when <rdar://problem/10479685> is fixed.
     (home-library-subpath "/Keychains"))
+(allow system-fsctl (fsctl-command (_IO "h" 47)))
 
 ;; IOKit user clients
 (allow iokit-open

Modified: trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in (196938 => 196939)


--- trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2016-02-22 17:34:37 UTC (rev 196938)
+++ trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2016-02-22 17:50:35 UTC (rev 196939)
@@ -229,6 +229,7 @@
     (literal "/dev/autofs_nowait")) ; Used by CF to circumvent automount triggers
 (allow ipc-posix-shm
     (ipc-posix-name-regex #"^CFPBS:")) ; <rdar://problem/13757475>
+(allow system-fsctl (fsctl-command (_IO "h" 47)))
 
 ;; Graphics
 (system-graphics)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to