glibc/nscd
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
..
aicache.c resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
cache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
connections.c Assume that accept4 is always available and works 2017-04-19 07:44:48 +02:00
dbg_log.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dbg_log.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
gai.c Mark internal nss symbols with attribute_hidden [BZ #18822] 2017-08-21 05:31:19 -07:00
getgrgid_r.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
gethstbyad_r.c resolv: Call _res_hconf_init from __res_vinit 2017-06-27 09:26:46 +02:00
gethstbynm3_r.c resolv: Call _res_hconf_init from __res_vinit 2017-06-27 09:26:46 +02:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
grpcache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
hstcache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
initgrcache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
mem.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netgroupcache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd_conf.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd_getai.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_getgr_r.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_gethst_r.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_getpw_r.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_getserv_r.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_helper.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_initgroups.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_netgroup.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
nscd_proto.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd_stat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd-client.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd.c Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
nscd.conf Implement caching of nscd 2011-10-07 10:06:31 -04:00
nscd.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nscd.init . 2007-07-31 13:33:18 +00:00
nscd.service nscd: also invalidate netgroup cache on reload 2014-03-19 14:45:10 +01:00
nscd.tmpfiles Add systemd unit file for nscd 2013-12-16 11:22:01 +10:00
pwdcache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
res_hconf.c [BZ #4814] 2007-08-22 03:14:29 +00:00
selinux.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
selinux.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
servicescache.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00