glibc/nscd
Ulrich Drepper 20e498bdb0 [BZ #5381]
2009-02-13  Ulrich Drepper  <drepper@redhat.com>
	[BZ #5381]
	* nscd/nscd.h: Remove definitions and declarations for mem_in_flight.
	Change mempool_alloc prototype.
	* nscd/mem.c (gc): Don't handle mem_in_flight.
	(mempool_alloc): Third parameter now only indicates whether this is the
	first call (to allocate data) or not.  If it is, get db rdlock.
	Release it on error.  Don't handle mem_in_flight.
	* nscd/aicache.c (addhstaiX): Mark he parameter as const.
	Adjust third parameter of mempool_alloc calls.
	Nothing to do here in case mempool_alloc fails.
	Avoid local variable shadowing parameter.  No need to get db rdlock
	before calling cache_add.
	* nscd/cache.c (cache_add): Adjust call to mempool_alloc.  There is
	no mem_in_flight array anymore.
	* nscd/connections.c: Remove definition and handling of mem_in_flight.
	* nscd/grpcache.c (cache_addgr): Adjust third parameter of
	mempool_alloc calls.  Mark he parameter as const.  Nothing to do here
	in case mempool_alloc fails. No need to get db rdlock before calling
	cache_add.
	* nscd/hstcache.c (cache_addhst): Likewise.
	* nscd/initgrcache.c (addinitgroupsX): Likewise.
	* nscd/servicescache.c (cache_addserv): Likewise.
	* nscd/pwdcache.c (cache_addpw): Likewise.  Remove some debugging code.
2009-02-13 20:36:37 +00:00
..
aicache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
cache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
connections.c [BZ #5381] 2009-02-13 20:36:37 +00:00
dbg_log.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
dbg_log.h [BZ #18] 2004-02-17 05:16:49 +00:00
Depend
gai.c * nscd/gai.c (__ioctl): Define. Include check_native.c. 2007-11-14 15:14:05 +00:00
getgrgid_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
getgrnam_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
gethstbyad_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
gethstbynm3_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
getpwnam_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
getpwuid_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
getsrvbynm_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
getsrvbypt_r.c * elf/ldconfig.c: Allow GPLv2 or any later version. 2007-07-16 00:56:07 +00:00
grpcache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
hstcache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
initgrcache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
Makefile * Makeconfig: Define pie-ccflag and PIE-ccflag variables. 2008-07-26 22:22:24 +00:00
mem.c [BZ #5381] 2009-02-13 20:36:37 +00:00
nscd_conf.c [BZ #5818] 2008-03-04 01:54:09 +00:00
nscd_getai.c * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if 2008-12-29 20:56:13 +00:00
nscd_getgr_r.c * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful 2007-10-15 03:19:44 +00:00
nscd_gethst_r.c * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if 2008-12-29 20:56:13 +00:00
nscd_getpw_r.c [BZ #3195] 2007-10-13 23:04:40 +00:00
nscd_getserv_r.c * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp 2008-06-03 10:22:52 +00:00
nscd_helper.c * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and 2008-07-25 18:31:07 +00:00
nscd_initgroups.c * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier 2007-01-31 09:14:21 +00:00
nscd_proto.h * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct 2007-01-14 05:26:04 +00:00
nscd_setup_thread.c * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only 2007-11-06 00:45:40 +00:00
nscd_stat.c 2005-11-18 Paul Brook <paul@codesourcery.com> 2005-11-18 22:42:21 +00:00
nscd-client.h Define MAXKEYLEN. 2007-01-31 23:16:14 +00:00
nscd.c * debug/xtrace.sh: Unify translatable messages. 2009-02-06 20:13:07 +00:00
nscd.conf * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. 2007-11-06 01:04:13 +00:00
nscd.h [BZ #5381] 2009-02-13 20:36:37 +00:00
nscd.init . 2007-07-31 13:33:18 +00:00
pwdcache.c [BZ #5381] 2009-02-13 20:36:37 +00:00
res_hconf.c [BZ #4814] 2007-08-22 03:14:29 +00:00
selinux.c * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with 2007-11-06 18:26:44 +00:00
selinux.h * scripts/check-local-headers.sh: Filter out sys/capability.h. 2007-03-26 20:41:09 +00:00
servicescache.c [BZ #5381] 2009-02-13 20:36:37 +00:00