summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer.sb
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 22:34:36 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 22:34:36 +0000
commit005afbdc6836ecd6b3a09ab76b00221201830210 (patch)
tree7eff5c853891823556f0989250d9a35ac0f1c6bd /chrome/renderer/renderer.sb
parentfa683ca624871d1643245d2b1a343e4102bf5730 (diff)
downloadchromium_src-005afbdc6836ecd6b3a09ab76b00221201830210.zip
chromium_src-005afbdc6836ecd6b3a09ab76b00221201830210.tar.gz
chromium_src-005afbdc6836ecd6b3a09ab76b00221201830210.tar.bz2
Use 10.5/10.6-compatible Sandbox Syntax
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
Diffstat (limited to 'chrome/renderer/renderer.sb')
-rw-r--r--chrome/renderer/renderer.sb3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/renderer/renderer.sb b/chrome/renderer/renderer.sb
index c43a8ed..42ca75d 100644
--- a/chrome/renderer/renderer.sb
+++ b/chrome/renderer/renderer.sb
@@ -7,8 +7,7 @@
(deny default)
; Allow sending signals to self - http://crbug.com/20370
-; ;10.5_ONLY is substitued for a blank string at runtime as needed.
-;10.5_ONLY (allow %signal-self)
+(allow signal (target self))
; Needed for full-page-zoomed controls - http://crbug.com/11325
(allow sysctl-read)