public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/bug25112] WIP fix other rollback issues related to malloc
@ 2019-10-28 9:30 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2019-10-28 9:30 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c623ce625ede3ebd5fad9568512ecc3edcd1549
commit 9c623ce625ede3ebd5fad9568512ecc3edcd1549
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Oct 24 13:44:18 2019 +0200
WIP fix other rollback issues related to malloc
Diff:
---
elf/dl-open.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 656b4d2..51e62dd 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -201,6 +201,25 @@ add_to_global (struct link_map *new)
add_to_global_finish (new);
}
+/* Single-linked list of pending allocations for l_scope updates of
+ existing maps. The list elements also serve as the allocations to
+ use. */
+struct pending_scope
+{
+ struct link_map *map;
+ size_t objcts_to_add;
+ struct pending_scope *next;
+};
+
+/* Allocates a new l_scope array for MAP with COUNT elements. */
+static void
+allocate_pending_scope (struct pending_scope **head, struct link_map *map,
+ size_t to_add)
+{
+
+ return result;
+}
+
/* Search link maps in all namespaces for the DSO that contains the object at
address ADDR. Returns the pointer to the link map of the matching DSO, or
NULL if a match is not found. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-28 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 9:30 [glibc/fw/bug25112] WIP fix other rollback issues related to malloc Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).