aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/debug
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-09-25 01:22:01 -0400
committerBill Nottingham <notting@redhat.com>2012-09-25 01:23:06 -0400
commit725fed444994d01ecbfed449e547f84f4b9725ac (patch)
tree013e0dba114b0b16c1cec71c76796ecb6e4b8abc /sysconfig/debug
parent822960adcd4113ecbc2215a31372820dffa3874a (diff)
downloadinitscripts-725fed444994d01ecbfed449e547f84f4b9725ac.tar
initscripts-725fed444994d01ecbfed449e547f84f4b9725ac.tar.gz
initscripts-725fed444994d01ecbfed449e547f84f4b9725ac.tar.bz2
initscripts-725fed444994d01ecbfed449e547f84f4b9725ac.tar.xz
initscripts-725fed444994d01ecbfed449e547f84f4b9725ac.zip
MALLOC_CHECK_ is not thread safe. Don't enable it by default even in debug mode. (#853175)
Diffstat (limited to 'sysconfig/debug')
-rw-r--r--sysconfig/debug3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/debug b/sysconfig/debug
index 3a251fd4..4ae4e7b5 100644
--- a/sysconfig/debug
+++ b/sysconfig/debug
@@ -4,7 +4,8 @@
# 0: silently ignore errors
# 1: print diagnostics on stderr when an error is detected
# 2: call abort when an error is detected
-export MALLOC_CHECK_=1
+# Note: MALLOC_CHECK_ is not thread safe, enable at your own risk.
+# export MALLOC_CHECK_=1
# MALLOC_PERTURB_: initialize cleared memory to the specified value
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))