diff options
Diffstat (limited to 'mcheck.sh')
-rw-r--r-- | mcheck.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcheck.sh b/mcheck.sh new file mode 100644 index 00000000..35f076cf --- /dev/null +++ b/mcheck.sh @@ -0,0 +1,7 @@ + +if [ -f /etc/sysconfig/mcheck ]; then + . /etc/sysconfig/mcheck + if [ -n "$MALLOC_CHECK_" ]; then + export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) + fi +fi |