removing print rules commit 3 draft
authorHaik Aftandilian <haftandilian@mozilla.com>
Mon, 29 Aug 2016 16:22:19 -0700
changeset 408291 dcfd628cf97b6628cc5856e5cca1315d4ed16c93
parent 408290 acdc92a5170c8aa4f0002b9d253796c77c47bd38
child 408292 e83c55fcff8eee6bdff9a53394cc51f0213fdce9
push id28194
push userhaftandilian@mozilla.com
push dateThu, 01 Sep 2016 01:01:43 +0000
milestone51.0a1
removing print rules commit 3 MozReview-Commit-ID: 7TuGcIN8Gte
security/sandbox/mac/Sandbox.mm
--- a/security/sandbox/mac/Sandbox.mm
+++ b/security/sandbox/mac/Sandbox.mm
@@ -403,18 +403,16 @@ static const char contentSandboxRules[] 
   "         (global-name \"com.apple.ImageCaptureExtension2.presence\"))\n"
   "  (allow-shared-preferences-read \"com.apple.finder\")\n"
   "  (allow-shared-preferences-read \"com.apple.LaunchServices\")\n"
   "  (allow-shared-preferences-read \".GlobalPreferences\")\n"
   "\n"
   "; print preview\n"
   "  (if (> macosMinorVersion 9)\n"
   "      (allow lsopen))\n"
-  "  (allow file-write* file-issue-extension (var-folders2-regex \"/\"))\n"
-  "  (allow file-read-xattr (literal \"/Applications/Preview.app\"))\n"
   "  (allow mach-task-name)\n"
   "  (allow mach-register)\n"
   "\n"
   "; accelerated graphics\n"
   "  (allow-shared-preferences-read \"com.apple.opengl\")\n"
   "  (allow-shared-preferences-read \"com.nvidia.OpenGL\")\n"
   "  (allow mach-lookup\n"
   "      (global-name \"com.apple.cvmsServ\"))\n"