This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/16939] revert malloc hook deprecation or provide an alternative
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 30 Jan 2017 10:36:31 +0000
- Subject: [Bug malloc/16939] revert malloc hook deprecation or provide an alternative
- Auto-submitted: auto-generated
- References: <bug-16939-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16939
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |adhemerval.zanella at linaro dot o
| |rg
Resolution|--- |WONTFIX
--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
For 2.25 GLIBC has fixed some issues (BZ#17730, BZ#20432, BZ#20432) to support
and simplify both dynamic and malloc interposition. There is no need to known
glibc internal symbols neither interpose them to actually interpose the malloc
on both glibc and loader (check malloc/tst-interpose-* tests).
It is, however, non compatible solutions and some old releases do not support
these fixes (I have backported them to my own branchs, linaro/2.21/master and
linaro/2.23/master, so you might check what is required to interpose them).
We can backport them to old releases branches so static allocation is correctly
supported, however malloc hooks will not be reverted since they are, as you
correctly pointed out, a deficient API with many issues and current approach
solves these issues.
--
You are receiving this mail because:
You are on the CC list for the bug.