summaryrefslogtreecommitdiffstats
path: root/chrome/common/common.sb
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 16:13:05 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 16:13:05 +0000
commitf0a33f0ad244c7f29ea1997f59e4ada92e614cf0 (patch)
treef6ad248aeb92388a9c4679b523e3493d48648e03 /chrome/common/common.sb
parentece61cd5ce855b522a30aaacf9ca36b78583a353 (diff)
downloadchromium_src-f0a33f0ad244c7f29ea1997f59e4ada92e614cf0.zip
chromium_src-f0a33f0ad244c7f29ea1997f59e4ada92e614cf0.tar.gz
chromium_src-f0a33f0ad244c7f29ea1997f59e4ada92e614cf0.tar.bz2
[Mac] Disable all sandboxd logging unless running with --enable-sandbox-logging.
This prevents console spew. BUG=26621 TEST=Run Chrome and don't get messages in Console.app from sandboxd about Chrome Helper. Run with --enable-sandbox-logging and get them. Review URL: http://codereview.chromium.org/3155031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/common.sb')
-rw-r--r--chrome/common/common.sb11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/common/common.sb b/chrome/common/common.sb
index 71c73cf..f8d4f1c 100644
--- a/chrome/common/common.sb
+++ b/chrome/common/common.sb
@@ -3,10 +3,15 @@
;; Use of this source code is governed by a BSD-style license that can be
;; found in the LICENSE file.
;;
-; This configuration file isn't used on it's own, but instead implicity included
-; at the start of all other sandbox configuration files in Chrome.
+; This configuration file isn't used on it's own, but instead implicitly
+; included at the start of all other sandbox configuration files in Chrome.
(version 1)
-(deny default)
+
+; DISABLE_SANDBOX_DENIAL_LOGGING expands to syntax that turns off log message
+; printing on sandbox exceptions; this functionality only exists on 10.6. The
+; --enable-sandbox-logging flag or system versions <10.6 cause this flag to
+; expand to an empty string. http://crbug.com/26621
+(deny default DISABLE_SANDBOX_DENIAL_LOGGING)
; Support for programmatically enabling verbose debugging.
;ENABLE_LOGGING (debug deny)