diff options
author | Peter Jones <pjones@redhat.com> | 2008-06-17 14:24:20 -0400 |
---|---|---|
committer | Peter Jones <pjones@pjones2.localdomain> | 2008-06-17 14:24:20 -0400 |
commit | 3874787a757c1160adef557fcf1ed489b4cb6584 (patch) | |
tree | b4fa783ce108562090c8e3c1c326833fe835047f /sysconfig | |
parent | 9210f82038c7804c43847c42f1049e5e7111477a (diff) | |
download | initscripts-3874787a757c1160adef557fcf1ed489b4cb6584.tar initscripts-3874787a757c1160adef557fcf1ed489b4cb6584.tar.gz initscripts-3874787a757c1160adef557fcf1ed489b4cb6584.tar.bz2 initscripts-3874787a757c1160adef557fcf1ed489b4cb6584.tar.xz initscripts-3874787a757c1160adef557fcf1ed489b4cb6584.zip |
Add code to set MALLOC_CHECK_ and MALLOC_PERTURB_ .
Add mcheck to rc.sysinit.
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/mcheck | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysconfig/mcheck b/sysconfig/mcheck new file mode 100644 index 00000000..94f35bd7 --- /dev/null +++ b/sysconfig/mcheck @@ -0,0 +1,9 @@ + +# 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 + |