about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-13 09:58:37 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-13 09:58:37 +0200
commite72b98e6f858583a3ef904e27c6fbd932bdc86c8 (patch)
treeed93eaf93711b86e26627236e164b40ec72a757b /NEWS
parent48699da1c468543ade14777819bd1b4d652709de (diff)
downloadglibc-e72b98e6f858583a3ef904e27c6fbd932bdc86c8.tar.gz
glibc-e72b98e6f858583a3ef904e27c6fbd932bdc86c8.tar.xz
glibc-e72b98e6f858583a3ef904e27c6fbd932bdc86c8.zip
malloc: Deprecate more hook-related functionality
__morecore, __after_morecore_hook, and __default_morecore had not
been deprecated in commit 7d17596c198f11fa85cbcf9587443f262e63b616
("Mark malloc hook variables as deprecated"), probably by accident.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 92dcb77fef..f69d48a38f 100644
--- a/NEWS
+++ b/NEWS
@@ -142,6 +142,13 @@ Deprecated and removed features, and other changes affecting compatibility:
   storing RPC keys only supported the obsolete and insecure AUTH_DES
   flavor of secure RPC.)
 
+* The __morecore and __after_morecore_hook malloc hooks and the default
+  implementation __default_morecore have been deprecated.  Applications
+  should use malloc interposition to change malloc behavior, and mmap to
+  allocate anonymous memory.  A future version of glibc may require that
+  applications which use the malloc hooks must preload a special shared
+  object, to enable the hooks.
+
 Changes to build and runtime requirements:
 
 * powerpc64le requires GCC 7.4 or newer.  This is required for supporting