glibc/grp
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
..
Makefile Fix missing redirects in testsuite targets 2017-08-07 18:13:36 +02:00
Versions NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
compat-initgroups.c grp: Rewrite to use struct scratch_buffer instead of extend_alloca 2015-04-08 21:07:03 +02:00
fgetgrent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fgetgrent_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrent_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrgid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrnam.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
grp-merge.c NSS: Do not use internal_function for functions with hidden aliases 2017-08-13 21:10:56 +02:00
grp-merge.h NSS: Do not use internal_function for functions with hidden aliases 2017-08-13 21:10:56 +02:00
grp.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
initgroups.c Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00
putgrent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setgroups.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
testgrp.c
tst-putgrent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst_fgetgrent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst_fgetgrent.sh Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00