diff options
author | Arjun Shankar <arjun@redhat.com> | 2023-10-02 14:55:27 +0200 |
---|---|---|
committer | Arjun Shankar <arjun@redhat.com> | 2023-10-24 12:31:00 +0200 |
commit | 7f602256ab5b85db1dbfb5f40bd109c4b37b68c8 (patch) | |
tree | 88cf9fb3bc04eae6ae9ca3816fac75d78f691740 /nss/Makefile | |
parent | 1d74d2f042a405982661267394e16126db70dc5f (diff) | |
download | glibc-7f602256ab5b85db1dbfb5f40bd109c4b37b68c8.zip glibc-7f602256ab5b85db1dbfb5f40bd109c4b37b68c8.tar.gz glibc-7f602256ab5b85db1dbfb5f40bd109c4b37b68c8.tar.bz2 |
Move getaddrinfo from 'posix' into 'nss'
getaddrinfo is an entry point for nss functionality. This commit moves
it from 'sysdeps/posix' to 'nss', gets rid of the stub in 'posix', and
moves all associated tests as well.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/nss/Makefile b/nss/Makefile index e88754b..da5bd20 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -127,6 +127,7 @@ endif # hosts routines: routines += \ + getaddrinfo \ gethstbyad \ gethstbyad_r \ gethstbynm \ @@ -138,6 +139,7 @@ routines += \ # routines ifeq ($(have-thread-library),yes) +CFLAGS-getaddrinfo.c += -fexceptions CFLAGS-gethstbyad.c += -fexceptions CFLAGS-gethstbyad_r.c += -fexceptions CFLAGS-gethstbynm.c += -fexceptions @@ -300,7 +302,13 @@ others-extras = $(makedb-modules) extra-objs += $(makedb-modules:=.o) tests-static = tst-field -tests-internal = tst-field + +tests-internal := \ + tst-field \ + tst-rfc3484 \ + tst-rfc3484-2 \ + tst-rfc3484-3 \ + # tests-internal tests := \ bug17079 \ @@ -309,6 +317,9 @@ tests := \ test-rpcent \ testgrp \ tst-fgetsgent_r \ + tst-getaddrinfo \ + tst-getaddrinfo2 \ + tst-getaddrinfo3 \ tst-gethnm \ tst-getpw \ tst-gshadow \ @@ -327,7 +338,11 @@ tests := \ tst-shadow \ # tests -xtests = bug-erange +xtests := \ + bug-erange \ + tst-getaddrinfo4 \ + tst-getaddrinfo5 \ + # xtests tests-container := \ tst-initgroups1 \ |