2011-04-18 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 22:32:39 +0000 (22:32 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Apr 2011 22:32:39 +0000 (22:32 +0000)
        Reviewed by Dan Bernstein.

        sandbox violation for ~/Library/Dictionaries
        https://bugs.webkit.org/show_bug.cgi?id=58841
        <rdar://problem/9294770>

        * WebProcess/com.apple.WebProcess.sb: Add to sandbox profile.
        No obvious harm from allowing this, though it's not 100% clear
        why it's needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84193 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index 4093ae117b1bf1e70d728f7f68ea2d52053c9831..9a2ecc73bba043177a6690f0ab57efd15174a451 100644 (file)
@@ -1,3 +1,15 @@
+2011-04-18  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Dan Bernstein.
+
+        sandbox violation for ~/Library/Dictionaries
+        https://bugs.webkit.org/show_bug.cgi?id=58841
+        <rdar://problem/9294770>
+
+        * WebProcess/com.apple.WebProcess.sb: Add to sandbox profile.
+        No obvious harm from allowing this, though it's not 100% clear
+        why it's needed.
+
 2011-04-18  Anders Carlsson  <andersca@apple.com>
 
         Try to fix the Windows build.
index 73b3c107f97702ca29cb55accefda1bf10808328..f4958d566b2a87688ff3b3950e5ff34324dcc539 100644 (file)
@@ -67,6 +67,8 @@
     ;; FIXME: This should be removed when <rdar://problem/9276430> is fixed.
     (literal (string-append (param "HOME_DIR") "/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2"))
 
+    (subpath (string-append (param "HOME_DIR") "/Library/Dictionaries"))
+
     ;; Extensions from UIProcess
     (extension)
 )