aboutsummaryrefslogtreecommitdiff
path: root/nss/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-17 11:44:34 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-22 19:38:36 +0530
commit1c37b8022e8763fedbb3f79c02e05c6acfe5a215 (patch)
tree6eb6224a8354c5ff5e2550a0151d181e06ba2267 /nss/Makefile
parent9df157b4ed52108495de9f8bc77ef922034e3b66 (diff)
downloadglibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.zip
glibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.tar.gz
glibc-1c37b8022e8763fedbb3f79c02e05c6acfe5a215.tar.bz2
Simplify allocations and fix merge and continue actions [BZ #28931]
Allocations for address tuples is currently a bit confusing because of the pointer chasing through PAT, making it hard to observe the sequence in which allocations have been made. Narrow scope of the pointer chasing through PAT so that it is only used where necessary. This also tightens actions behaviour with the hosts database in getaddrinfo to comply with the manual text. The "continue" action discards previous results and the "merge" action results in an immedate lookup failure. Consequently, chaining of allocations across modules is no longer necessary, thus opening up cleanup opportunities. A test has been added that checks some combinations to ensure that they work correctly. Resolves: BZ #28931 Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'nss/Makefile')
-rw-r--r--nss/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile
index 42a5953..d8b06b4 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -76,6 +76,7 @@ tests-container := \
tst-nss-db-endgrent \
tst-nss-db-endpwent \
tst-nss-files-hosts-long \
+ tst-nss-gai-actions \
tst-nss-test3 \
tst-reload1 \
tst-reload2 \