Source/WebKit2/ChangeLog

 12016-02-20 Brent Fulgham <bfulgham@apple.com>
 2
 3 [WK2][Mac] Allow processes to set "fast-dev-casheable" bit
 4 https://bugs.webkit.org/show_bug.cgi?id=154503
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Update the various sandbox profiles with a declaration that using the
 9 system-fctl to touch the "hot file" flag (to support caching operations)
 10 is allowed.
 11
 12 * Resources/PlugInSandboxProfiles/com.apple.QuickTime Plugin.plugin.sb:
 13 * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
 14 * Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:
 15 * Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb:
 16 * Resources/PlugInSandboxProfiles/com.oracle.java.JavaAppletPlugin.sb:
 17 * WebProcess/com.apple.WebProcess.sb.in:
 18
1192016-02-20 Olivier Blin <olivier.blin@softathome.com>
220
321 [cmake] Use ICU include dirs in WebKit2 and WebKitTestRunner
196865

Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.QuickTime Plugin.plugin.sb

2727(allow file-read* file-write*
2828 (home-library-subpath "/Caches/QuickTime")
2929 (home-library-preferences-literal "/QuickTime Preferences"))
 30(allow system-fsctl (fsctl-command (_IO "h" 47)))
3031
3132(allow network-bind (local ip))
196846

Source/WebKit2/Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb

203203(allow file*
204204 ;; FIXME: This should be removed when <rdar://problem/10479685> is fixed.
205205 (home-library-subpath "/Keychains"))
 206(allow system-fsctl (fsctl-command (_IO "h" 47)))
206207
207208;; IOKit user clients
208209(allow iokit-open
196846

Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb

6060 (literal "/Library/Application Support/Macromedia/FlashAuthor.cfg")
6161 (subpath "/Library/Application Support/Macromedia/FlashPlayerTrust"))
6262
 63(allow system-fsctl (fsctl-command (_IO "h" 47)))
 64
6365(allow network-bind (local ip))
 66(allow system-fsctl (fsctl-command (_IO "h" 47)))
6467
196846

Source/WebKit2/Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb

5050(allow ipc-posix-shm*
5151 (ipc-posix-name-regex #"^CoreCLR_"))
5252
 53(allow system-fsctl (fsctl-command (_IO "h" 47)))
 54
5355(allow network-bind (local ip))
5456
5557(webkit-powerbox)
196846

Source/WebKit2/Resources/PlugInSandboxProfiles/com.oracle.java.JavaAppletPlugin.sb

7474(deny file-write* (with no-log) (subpath "/Library/Application Support/Oracle"))
7575(deny file-write* (with no-log) (subpath (param "WEBKIT2_FRAMEWORK_DIR")))
7676
 77(allow system-fsctl (fsctl-command (_IO "h" 47)))
 78
7779(deny job-creation (with no-log))
196846

Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in

229229 (literal "/dev/autofs_nowait")) ; Used by CF to circumvent automount triggers
230230(allow ipc-posix-shm
231231 (ipc-posix-name-regex #"^CFPBS:")) ; <rdar://problem/13757475>
 232(allow system-fsctl (fsctl-command (_IO "h" 47)))
232233
233234;; Graphics
234235(system-graphics)
196846