glibc/nss
H.J. Lu 1dbbb1ec7a Mark internal nss symbols with attribute_hidden [BZ #18822]
Mark internal nss symbols with attribute_hidden to allow direct access
within libc.so and libc.a without using GOT nor PLT.

Tested on x86-64 with and without --disable-nscd.

	[BZ #18822]
	* grp/initgroups.c (__nss_group_database): Removed.
	(__nss_initgroups_database): Likewise.
	* nscd/gai.c (__nss_hosts_database): Likewise.
	* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
	* posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
	* posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
	* posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
	* sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
	* nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
	attribute_hidden.
	* nss/nsswitch.c (__nss_database_custom): Define only if
	USE_NSCD is defined.
	(__nss_configure_lookup): Use __nss_database_custom only if
	USE_NSCD is defined.
	* nss/nsswitch.h (__nss_database_custom): Declare only if
	USE_NSCD is defined.  Add attribute_hidden.
	(__nss_setent): Add attribute_hidden.
	(__nss_endent): Likewise.
	(__nss_getent_r): Likewise.
	(__nss_getent): Likewise.
	(DEFINE_DATABASE): Declare __nss_##arg##_database.
2017-08-21 05:31:19 -07:00
..
nss_db Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nss_files Assume that O_CLOEXEC is always defined and works 2017-04-18 14:56:51 +02:00
alias-lookup.c
bug17079.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
bug-erange.c
compat-lookup.c NSS: Replace exported NSS lookup functions with stubs [BZ #21962] 2017-08-14 18:13:42 +02:00
databases.def
db-Makefile
Depend
digits_dots.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
ethers-lookup.c
function.def
getent.c
getnssent_r.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
getnssent.c
getXXbyYY_r.c NSS: Do not use internal_function for functions with hidden aliases 2017-08-13 21:10:56 +02:00
getXXbyYY.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
getXXent_r.c NSS: Do not use internal_function for functions with hidden aliases 2017-08-13 21:10:56 +02:00
getXXent.c Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00
grp-lookup.c
hosts-lookup.c
key-lookup.c
makedb.c
Makefile NSS: Replace exported NSS lookup functions with stubs [BZ #21962] 2017-08-14 18:13:42 +02:00
netgrp-lookup.c
network-lookup.c
nss_test1.c Fix nss/nss_test1.c compile with latest GCC. 2017-07-21 09:56:13 -07:00
nss_test2.c Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss_test.h Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss_test.ver Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss.h
nsswitch.c Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00
nsswitch.conf
nsswitch.h Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00
proto-lookup.c
pwd-lookup.c
rewrite_field.c
rpc-lookup.c
service-lookup.c NSS: Replace exported NSS lookup functions with stubs [BZ #21962] 2017-08-14 18:13:42 +02:00
sgrp-lookup.c
spwd-lookup.c
test-digits-dots.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
test-netdb.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-cancel-getpwuid_r.c Miscellaneous low-risk changes preparing for _ISOMAC testsuite. 2017-03-01 20:32:50 -05:00
tst-field.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-getpwent.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-static.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test1.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test2.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test3.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test4.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test5.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
valid_field.c
valid_list_field.c
Versions NSS: Replace exported NSS lookup functions with stubs [BZ #21962] 2017-08-14 18:13:42 +02:00
XXX-lookup.c Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00