summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer.sb
Commit message (Collapse)AuthorAgeFilesLines
* Tighten down OS X sandbox a bit.jeremy@chromium.org2010-03-071-5/+5
| | | | | | | | | | BUG=None TEST=Browsing to popular websites on OS X 10.5 & 10.6 should continue to work. Be sure to test on both 10.5 and 10.6 Review URL: http://codereview.chromium.org/660444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40867 0039d316-1c4b-4281-b951-d872f2087c98
* Some fixes to the OS X Sandbox:jeremy@chromium.org2009-10-091-5/+7
| | | | | | | | | | | | | | * Added a command line option to enable verbose logging in the Sandbox. This will be useful when we start looking at the information in ChromeBot. * Modified the code that splices the homedir path into the Sandbox file. This code is now only used on 10.6 and no longer uses a regex. * Moved sandbox code out into a sandbox_mac file. * Changed 10.6 seed release references -> 10.6 . BUG=21483 TEST=Browser should launch and display NTP correctly on OS X 10.5 & 10.6 Review URL: http://codereview.chromium.org/242165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28541 0039d316-1c4b-4281-b951-d872f2087c98
* Use 10.5/10.6-compatible Sandbox Syntaxjeremy@chromium.org2009-08-281-2/+1
| | | | | | | | | | | | | Turns out there's a way to allow sending signals to yourself that works on both 10.5 & 10.6 so use that... Remove temporary hack to only enable syntax on Leopard. BUG=20370 TEST=On both 10.5 & 10.6 - Follow repro steps for crash in 20366, browser process should show sad tabs rather than crash. Review URL: http://codereview.chromium.org/180028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24820 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash-on-launch on Snow Leopardjeremy@chromium.org2009-08-281-1/+2
| | | | | | | | | | | | | | The signal-self syntax needed to fix bug 20370 doesn't work on Leopard and causes the Sandbox to barf so renderers don't star tup. We introduce a ;10.5_ONLY keyword to the sandbox that is substituted at runtime (the line with the rule is effectively uncommented). This allows us to use leopard or snow-leapard-only sandbox syntax BUG=20516 TEST=Chrome should no longer crash on launch under SL. Review URL: http://codereview.chromium.org/183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24777 0039d316-1c4b-4281-b951-d872f2087c98
* Poke a hole in the Sandbox for sending signals to self.jeremy@chromium.org2009-08-271-0/+3
| | | | | | | | | | | Solves some very nasty behavior when renderers crash in a certain situation. BUG=20370 TEST=Follow repro steps for crash in 20366, browser process should show sad tabs rather than crash. Review URL: http://codereview.chromium.org/173593 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24674 0039d316-1c4b-4281-b951-d872f2087c98
* Some tweaks to the OS X Sandbox:jeremy@chromium.org2009-08-211-6/+12
| | | | | | | | | | | | | | * Fix 10.6 bug where garbled text was displayed due to insuccesful font loading. * Tightened down the Sandbox a bit, instead of allowing access to /System/Library limit it to certain subdirectories. * Remove unused warmup code now that we allow sysctl-read. BUG=11269 BUG=b/1853366 TEST=On 10.6, copy Arial.ttf from /System/Library/Fonts to ~/Library/Fonts , Launch Chrome. Text on NTP should be displayed normally and not garbled. Review URL: http://codereview.chromium.org/174254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24030 0039d316-1c4b-4281-b951-d872f2087c98
* Allow sysctl-read in the mac sandbox, making drawing of zoomed controls more ↵thakis@chromium.org2009-06-041-0/+4
| | | | | | | | | | | reliable. TEST=Zoom a page with multiple form controls, check that they don't become invisible when zoomed. BUG=11325 Review URL: http://codereview.chromium.org/119151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17645 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for 10.6jeremy@chromium.org2009-05-051-0/+3
| | | | | | | | | | | | | * Workaround for rdar://6857649 - NSGradient fails when using LAB Colorspace * Update sandbox config file for 10.6 BUG=11265 TEST=Open Chrome on 10.6, it should have tabs and the tab title should reflect the title of the page that's currently loaded. Review URL: http://codereview.chromium.org/109032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15328 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Sandbox on SnowLeopard.jeremy@chromium.org2009-04-161-3/+9
| | | | | | | | | | 1. Punch holes in Sandbox config to accomodate changes in the Font Server. 2. Add warmup for CGImageSourceGetStatus(). 3. Misc cleanup for rendererMainPlatformDelegate::PlatformInitialize() function. Review URL: http://codereview.chromium.org/67232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13882 0039d316-1c4b-4281-b951-d872f2087c98
* mac renderer sandbox cleanup:thomasvl@chromium.org2009-02-171-0/+15
- rename the mac platform delegate to be .mm so we can use cocoa in it. - added the sandbox profile jeremy figured out. - add the profile file to the project build. - during renderer startup, check the process type and use our custom profile or the pure compute profile based on if we're a renderer or a unittest. Review URL: http://codereview.chromium.org/21419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9895 0039d316-1c4b-4281-b951-d872f2087c98