This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/16939] revert malloc hook deprecation or provide an alternative


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]