mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Move 'hosts' routines from 'inet' into 'nss'
The gethostby* and gethostent* routines are entry points for nss functionality. This commit moves them from the 'inet' subdirectory to 'nss'. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
1c40266328
commit
a7e8d0b90b
@ -46,14 +46,6 @@ routines := \
|
|||||||
ether_line \
|
ether_line \
|
||||||
ether_ntoa \
|
ether_ntoa \
|
||||||
ether_ntoa_r \
|
ether_ntoa_r \
|
||||||
gethstbyad \
|
|
||||||
gethstbyad_r \
|
|
||||||
gethstbynm \
|
|
||||||
gethstbynm2 \
|
|
||||||
gethstbynm2_r \
|
|
||||||
gethstbynm_r \
|
|
||||||
gethstent \
|
|
||||||
gethstent_r \
|
|
||||||
getipv4sourcefilter \
|
getipv4sourcefilter \
|
||||||
getnameinfo \
|
getnameinfo \
|
||||||
getnetbyad \
|
getnetbyad \
|
||||||
@ -123,7 +115,6 @@ tests := \
|
|||||||
tst-checks-posix \
|
tst-checks-posix \
|
||||||
tst-ether_aton \
|
tst-ether_aton \
|
||||||
tst-ether_line \
|
tst-ether_line \
|
||||||
tst-gethnm \
|
|
||||||
tst-getni1 \
|
tst-getni1 \
|
||||||
tst-getni2 \
|
tst-getni2 \
|
||||||
tst-if_index-long \
|
tst-if_index-long \
|
||||||
@ -154,14 +145,6 @@ include ../gen-locales.mk
|
|||||||
|
|
||||||
ifeq ($(have-thread-library),yes)
|
ifeq ($(have-thread-library),yes)
|
||||||
|
|
||||||
CFLAGS-gethstbyad_r.c += -fexceptions
|
|
||||||
CFLAGS-gethstbyad.c += -fexceptions
|
|
||||||
CFLAGS-gethstbynm_r.c += -fexceptions
|
|
||||||
CFLAGS-gethstbynm.c += -fexceptions
|
|
||||||
CFLAGS-gethstbynm2_r.c += -fexceptions
|
|
||||||
CFLAGS-gethstbynm2.c += -fexceptions
|
|
||||||
CFLAGS-gethstent_r.c += -fexceptions
|
|
||||||
CFLAGS-gethstent.c += -fexceptions
|
|
||||||
CFLAGS-rcmd.c += -fexceptions
|
CFLAGS-rcmd.c += -fexceptions
|
||||||
CFLAGS-getnetbynm_r.c += -fexceptions
|
CFLAGS-getnetbynm_r.c += -fexceptions
|
||||||
CFLAGS-getnetbynm.c += -fexceptions
|
CFLAGS-getnetbynm.c += -fexceptions
|
||||||
|
@ -14,9 +14,7 @@ libc {
|
|||||||
ether_ntoa_r;
|
ether_ntoa_r;
|
||||||
|
|
||||||
# g*
|
# g*
|
||||||
getdomainname; gethostbyaddr; gethostbyaddr_r; gethostbyname;
|
getdomainname; getnetbyaddr; getnetbyaddr_r; getnetbyname;
|
||||||
gethostbyname2; gethostbyname2_r; gethostbyname_r; gethostent;
|
|
||||||
gethostent_r; getnetbyaddr; getnetbyaddr_r; getnetbyname;
|
|
||||||
getnetbyname_r; getnetent; getnetent_r; getnetgrent; getnetgrent_r;
|
getnetbyname_r; getnetent; getnetent_r; getnetgrent; getnetgrent_r;
|
||||||
getprotobyname; getprotobyname_r; getprotobynumber;
|
getprotobyname; getprotobyname_r; getprotobynumber;
|
||||||
getprotobynumber_r; getprotoent; getprotoent_r;
|
getprotobynumber_r; getprotoent; getprotoent_r;
|
||||||
|
24
nss/Makefile
24
nss/Makefile
@ -125,6 +125,29 @@ CFLAGS-getsgnam.c += -fexceptions
|
|||||||
CFLAGS-getsgnam_r.c += -fexceptions
|
CFLAGS-getsgnam_r.c += -fexceptions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# hosts routines:
|
||||||
|
routines += \
|
||||||
|
gethstbyad \
|
||||||
|
gethstbyad_r \
|
||||||
|
gethstbynm \
|
||||||
|
gethstbynm2 \
|
||||||
|
gethstbynm2_r \
|
||||||
|
gethstbynm_r \
|
||||||
|
gethstent \
|
||||||
|
gethstent_r \
|
||||||
|
# routines
|
||||||
|
|
||||||
|
ifeq ($(have-thread-library),yes)
|
||||||
|
CFLAGS-gethstbyad.c += -fexceptions
|
||||||
|
CFLAGS-gethstbyad_r.c += -fexceptions
|
||||||
|
CFLAGS-gethstbynm.c += -fexceptions
|
||||||
|
CFLAGS-gethstbynm_r.c += -fexceptions
|
||||||
|
CFLAGS-gethstbynm2.c += -fexceptions
|
||||||
|
CFLAGS-gethstbynm2_r.c += -fexceptions
|
||||||
|
CFLAGS-gethstent.c += -fexceptions
|
||||||
|
CFLAGS-gethstent_r.c += -fexceptions
|
||||||
|
endif
|
||||||
|
|
||||||
# pwd routines:
|
# pwd routines:
|
||||||
routines += \
|
routines += \
|
||||||
fgetpwent \
|
fgetpwent \
|
||||||
@ -210,6 +233,7 @@ tests := \
|
|||||||
test-netdb \
|
test-netdb \
|
||||||
testgrp \
|
testgrp \
|
||||||
tst-fgetsgent_r \
|
tst-fgetsgent_r \
|
||||||
|
tst-gethnm \
|
||||||
tst-getpw \
|
tst-getpw \
|
||||||
tst-gshadow \
|
tst-gshadow \
|
||||||
tst-nss-getpwent \
|
tst-nss-getpwent \
|
||||||
|
@ -21,6 +21,8 @@ libc {
|
|||||||
getaliasbyname; getaliasbyname_r; getaliasent; getaliasent_r;
|
getaliasbyname; getaliasbyname_r; getaliasent; getaliasent_r;
|
||||||
getgrent; getgrent_r; getgrgid; getgrgid_r; getgrnam; getgrnam_r;
|
getgrent; getgrent_r; getgrgid; getgrgid_r; getgrnam; getgrnam_r;
|
||||||
getgroups;
|
getgroups;
|
||||||
|
gethostbyaddr; gethostbyaddr_r; gethostbyname; gethostbyname2;
|
||||||
|
gethostbyname2_r; gethostbyname_r; gethostent; gethostent_r;
|
||||||
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
|
getpw; getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
|
||||||
getspent; getspent_r; getspnam; getspnam_r;
|
getspent; getspent_r; getspnam; getspnam_r;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user