diff options
author | Andreas Schwab <schwab@redhat.com> | 2010-07-26 15:28:15 +0200 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2010-11-09 01:46:02 +0100 |
commit | de8b6f612a76c7432cb42f153c8b87391b57ced0 (patch) | |
tree | e9ee5746b7ef86964a00d4073afd2e061746496d | |
parent | 5881b3d98138cdcfdc1d816dc1a2b8ec5d84659d (diff) | |
download | glibc-de8b6f612a76c7432cb42f153c8b87391b57ced0.tar.gz glibc-de8b6f612a76c7432cb42f153c8b87391b57ced0.tar.xz glibc-de8b6f612a76c7432cb42f153c8b87391b57ced0.zip |
Document M_PERTURB
(cherry picked from commit deb9cabbf475da0b65d7acdb364987c4a15b4214)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | manual/memory.texi | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5ade17fbdf..ab5d2feae0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-27 Andreas Schwab <schwab@redhat.com> + + * manual/memory.texi (Malloc Tunable Parameters): Document + M_PERTURB. + 2010-07-26 Roland McGrath <roland@redhat.com> [BZ #11840] diff --git a/manual/memory.texi b/manual/memory.texi index 59ea1ee342..db63c3313b 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -702,6 +702,11 @@ be allocated via @code{mmap}. @item M_MMAP_MAX The maximum number of chunks to allocate with @code{mmap}. Setting this to zero disables all use of @code{mmap}. +@item M_PERTURB +If non-zero, memory blocks are filled with values depending on some +low order bits of this parameter when they are allocated (except when +allocated by @code{calloc}) and freed. This can be used to debug the +use of uninitialized or freed heap memory. @end table @end deftypefun |