glibc/nscd
Ulrich Drepper 2c210d1eb8 * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.
(dbs): Initialize max_db_size fields.
	(nscd_init): When mapping the database, use max_db_size as the
	mapping size even if it is bigger than the file size.
	* nscd/mem.c (mempool_alloc): When resizing the file make sure the
	limit in max_db_size is not exceeded.  Don't use mremap, just
	posix_fallocate is enough (according to Linus).  Use posix_fallocate
	correctly.
	* nscd/nscd.conf: Add max-db-size parameters.
	* nscd/nscd.h (struct database_dyn): Add max_db_size field.
	Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET.
	Temporarily define TEMP_FAILURE_RETRY_VAL here.
	* nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter
	and add sanity checks for it.

	* nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to
	send reply.
	* nscd/connection.c (writeall): Likewise.
	(handle_request): Likewise.
	* nscd/grpcache.c (cache_addgr): Likewise.
	* nscd/hstcache.c (cache_addhst): Likewise.
	* nscd/initgrcache.c (addinitgroupsX): Likewise.
	* nscd/nscd.c (parse_opt): Likewise.
	* nscd/nscd_stat.c (send_stats): Likewise.
	(receive_print_stats): Likewise.
	* nscd/pwdcache.c (cache_addpw): Likewise.
2005-08-23 23:21:53 +00:00
..
aicache.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
cache.c * nscd/cache.c (prune_cache): Add more debug output. Only for 2005-08-16 22:47:26 +00:00
connections.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
dbg_log.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dbg_log.h [BZ #18] 2004-02-17 05:16:49 +00:00
Depend Update. 1998-11-19 11:23:37 +00:00
gai.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getgrgid_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getgrnam_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
gethstbyad_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
gethstbynm2_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getpwnam_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getpwuid_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
grpcache.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
hstcache.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
initgrcache.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
Makefile * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o). 2005-07-22 05:35:27 +00:00
mem.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd_conf.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd_getai.c * nscd/nscd-client.h: Include sys/uio.h. 2005-02-22 22:58:32 +00:00
nscd_getgr_r.c * nscd/nscd-client.h: Include sys/uio.h. 2005-02-22 22:58:32 +00:00
nscd_gethst_r.c * nscd/nscd-client.h: Include sys/uio.h. 2005-02-22 22:58:32 +00:00
nscd_getpw_r.c * nscd/nscd-client.h: Include sys/uio.h. 2005-02-22 22:58:32 +00:00
nscd_helper.c * nscd/nscd_helper.c: Add a few __builtin_expect. 2005-07-14 02:53:33 +00:00
nscd_initgroups.c * nscd/nscd-client.h: Include sys/uio.h. 2005-02-22 22:58:32 +00:00
nscd_nischeck.c * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
nscd_proto.h Update. 2004-09-30 02:24:51 +00:00
nscd_stat.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd-client.h Include sys/uio.h. (__readall, __readvall, writeall): New prototypes. 2005-02-22 22:51:26 +00:00
nscd.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd.conf * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd.h * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
nscd.init * nscd/nscd.init: Get more in line with lsb3. 2005-06-20 15:49:08 +00:00
pwdcache.c * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h. 2005-08-23 23:21:53 +00:00
selinux.c * nscd/nscd.init: Get more in line with lsb3. 2005-06-20 15:49:08 +00:00
selinux.h 2.5-18.1 2007-07-12 18:26:36 +00:00