Blame SOURCES/glibc-rh615090.patch

b9ba6d
2010-07-27  Andreas Schwab  <schwab@redhat.com>
b9ba6d
b9ba6d
	* manual/memory.texi (Malloc Tunable Parameters): Document
b9ba6d
	M_PERTURB.
b9ba6d
b9ba6d
Index: glibc-2.12-2-gc4ccff1/manual/memory.texi
b9ba6d
===================================================================
b9ba6d
--- glibc-2.12-2-gc4ccff1.orig/manual/memory.texi
b9ba6d
+++ glibc-2.12-2-gc4ccff1/manual/memory.texi
b9ba6d
@@ -702,6 +702,11 @@ be allocated via @code{mmap}.
b9ba6d
 @item M_MMAP_MAX
b9ba6d
 The maximum number of chunks to allocate with @code{mmap}.  Setting this
b9ba6d
 to zero disables all use of @code{mmap}.
b9ba6d
+@item M_PERTURB
b9ba6d
+If non-zero, memory blocks are filled with values depending on some
b9ba6d
+low order bits of this parameter when they are allocated (except when
b9ba6d
+allocated by @code{calloc}) and freed.  This can be used to debug the
b9ba6d
+use of uninitialized or freed heap memory.
b9ba6d
 @end table
b9ba6d
 
b9ba6d
 @end deftypefun