This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/20432] malloc: Minimize interface required for interposition
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 26 May 2017 19:10:44 +0000
- Subject: [Bug malloc/20432] malloc: Minimize interface required for interposition
- Auto-submitted: auto-generated
- References: <bug-20432-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20432
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, ibm/2.24/master has been updated
via 2667457e45fda874afae5ebe3fe37bc74dbc7202 (commit)
via 6d03be1cb5836205e5d1b14da71ff5579b161267 (commit)
from 3af49a0209bef32ba03b78ea3b7256584964d981 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2667457e45fda874afae5ebe3fe37bc74dbc7202
commit 2667457e45fda874afae5ebe3fe37bc74dbc7202
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Aug 26 22:40:27 2016 +0200
malloc: Simplify static malloc interposition [BZ #20432]
Existing interposed mallocs do not define the glibc-internal
fork callbacks (and they should not), so statically interposed
mallocs lead to link failures because the strong reference from
fork pulls in glibc's malloc, resulting in multiple definitions
of malloc-related symbols.
(cherry picked from commit ef4f97648dc95849e417dd3e6328165de4c22185)
Conflicts:
nptl/tst-tls3-malloc.c
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6d03be1cb5836205e5d1b14da71ff5579b161267
commit 6d03be1cb5836205e5d1b14da71ff5579b161267
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Aug 2 17:01:02 2016 +0200
malloc: Run tests without calling mallopt [BZ #19469]
The compiled tests no longer refer to the mallopt symbol
from their main functions. (Some tests still call mallopt
explicitly, which is fine.)
(cherry picked from commit f690b56979dea81340a397c1b5e44827a6fb06e7)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 26 ++++
include/libc-symbols.h | 15 ++
malloc/Makefile | 14 ++
malloc/tst-interpose-aux-nothread.c | 20 +++
malloc/tst-interpose-aux-thread.c | 20 +++
malloc/tst-interpose-aux.c | 270 +++++++++++++++++++++++++++++++++++
malloc/tst-interpose-aux.h | 30 ++++
sysdeps/mach/hurd/fork.c | 6 +-
sysdeps/nptl/fork.c | 6 +-
test-skeleton.c | 2 +
10 files changed, 403 insertions(+), 6 deletions(-)
create mode 100644 malloc/tst-interpose-aux-nothread.c
create mode 100644 malloc/tst-interpose-aux-thread.c
create mode 100644 malloc/tst-interpose-aux.c
create mode 100644 malloc/tst-interpose-aux.h
--
You are receiving this mail because:
You are on the CC list for the bug.