about summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-15 11:39:01 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-15 11:39:01 +0100
commit7a9368a1174cb15b9f1d6342e0e10dd90dae238d (patch)
tree635f3107419650143dd7139c12c01f9d43756bc3 /malloc/Makefile
parentbe3a79a3cc8d8111811a52b0fe243b6f4dd03844 (diff)
downloadglibc-7a9368a1174cb15b9f1d6342e0e10dd90dae238d.tar.gz
glibc-7a9368a1174cb15b9f1d6342e0e10dd90dae238d.tar.xz
glibc-7a9368a1174cb15b9f1d6342e0e10dd90dae238d.zip
malloc: Add missing arena lock in malloc_info [BZ #22408]
Obtain the size information while the arena lock is acquired, and only
print it later.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 7ae3d825b9..17936fc04d 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -35,6 +35,7 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
 	 tst-interpose-thread \
 	 tst-alloc_buffer \
 	 tst-malloc-tcache-leak \
+	 tst-malloc_info \
 
 tests-static := \
 	 tst-interpose-static-nothread \
@@ -246,3 +247,4 @@ $(objpfx)tst-dynarray-fail-mem.out: $(objpfx)tst-dynarray-fail.out
 	$(evaluate-test)
 
 $(objpfx)tst-malloc-tcache-leak: $(shared-thread-library)
+$(objpfx)tst-malloc_info: $(shared-thread-library)