aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-07-29 12:09:51 -0400
committerBill Nottingham <notting@redhat.com>2008-07-29 12:09:51 -0400
commit1c27e9e64ba2bec2868da849e86b227b56f03257 (patch)
treeea44fdd5f33cb5769efdd92aad5f10594bbb4803 /sysconfig
parent327cfaeab96ffbec4145648de16d58346d4b3f9a (diff)
downloadinitscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.gz
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.bz2
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.xz
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.zip
Rename the mcheck stuff to a more generic 'debug' framework.
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/debug (renamed from sysconfig/mcheck)8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysconfig/mcheck b/sysconfig/debug
index 94f35bd7..f0c05aae 100644
--- a/sysconfig/mcheck
+++ b/sysconfig/debug
@@ -1,9 +1,13 @@
-
# MALLOC_CHECK_: should the system (libc) malloc check for memory errors?
# Used values are:
# unset: do not check
# 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
+MALLOC_CHECK_=1
+
+# MALLOC_PERTURB_: initialize cleared memory to the specified value
+MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
+# Perform extra sanity checking in the gslice allocator
+G_SLICE=debug-blocks