summaryrefslogtreecommitdiffstats
path: root/patches/source/glibc/profile.d/glibc.sh.new
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/glibc/profile.d/glibc.sh.new')
-rwxr-xr-xpatches/source/glibc/profile.d/glibc.sh.new8
1 files changed, 8 insertions, 0 deletions
diff --git a/patches/source/glibc/profile.d/glibc.sh.new b/patches/source/glibc/profile.d/glibc.sh.new
new file mode 100755
index 00000000..979f4879
--- /dev/null
+++ b/patches/source/glibc/profile.d/glibc.sh.new
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Set more relaxed (glibc-2.3.5 like) malloc() checking.
+#
+# This relaxes the default paranoia level so that it reports
+# bugs, but does not kill the questionable process. You can
+# get away with running broken programs with this setting,
+# but at a possible performance and security cost.
+#export MALLOC_CHECK_=1