glibc/nscd
Ulrich Drepper 4401d75905 Update.
Implement paranoia mode.
	* nscd/connections.c (nscd_init): Mark database and socket descriptors
	as close on exec.
	(restart): New function.
	(restart_p): New function.
	(nscd_run): Add missing descrement of nready in case readylist is
	empty.
	(main_loop_poll): Call restart_p and restart.
	(main_loop_epoll): Likewise.
	(begin_drop_privileges): Save original UID and GID.
	* nscd/nscd.c: Define new variables paranoia, restart_time,
	restart_interval, oldcwd, old_gid, old_uid.
	(main): Disable paranoia mode if we are not forking.
	(check_pid): When re-execing, the PID file contains the same PID as
	the current process.  Do not fail in this case.
	* nscd/nscd.conf: Add paranoia and restart-interval entries.
	* nscd/nscd.h: Define RESTART_INTERVAL.  Declare new variables.
	* nscd/nscd_conf.c: Parse paranoia and restart-internal configurations.
	* nscd/nscd_stat.c: Print paranoia and restart-internal values.
2004-10-03 19:33:48 +00:00
..
Depend Update. 1998-11-19 11:23:37 +00:00
Makefile Update. 2004-10-03 07:33:54 +00:00
TODO Update. 1998-10-18 15:35:09 +00:00
aicache.c Update. 2004-09-20 23:16:22 +00:00
cache.c Update. 2004-09-30 02:24:51 +00:00
connections.c Update. 2004-10-03 19:33:48 +00:00
dbg_log.c Update, 2004-10-03 01:21:47 +00:00
dbg_log.h [BZ #18] 2004-02-17 05:16:49 +00:00
getgrgid_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getgrnam_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbyad_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm2_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpwnam_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpwuid_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grpcache.c Update. 2004-09-20 23:16:22 +00:00
hstcache.c Update. 2004-09-20 23:16:22 +00:00
initgrcache.c Update. 2004-09-30 02:24:51 +00:00
mem.c Update. 2004-09-13 05:56:39 +00:00
nscd-client.h (__nscd_get_map_ref): Drop volatile from last parameter. (__nscd_drop_map_ref): Change second parameter to be a referenc to a variable. Update variable when cycle count changed. 2004-09-30 08:03:44 +00:00
nscd.c Update. 2004-10-03 19:33:48 +00:00
nscd.conf Update. 2004-10-03 19:33:48 +00:00
nscd.h Update. 2004-10-03 19:33:48 +00:00
nscd.init Update. 2004-09-13 17:24:41 +00:00
nscd_conf.c Update. 2004-10-03 19:33:48 +00:00
nscd_getai.c Update. 2004-09-30 08:27:48 +00:00
nscd_getgr_r.c Update. 2004-09-30 08:27:48 +00:00
nscd_gethst_r.c Update. 2004-09-30 08:27:48 +00:00
nscd_getpw_r.c Update. 2004-09-30 08:27:48 +00:00
nscd_helper.c Update. 2004-10-02 19:31:11 +00:00
nscd_initgroups.c (__nscd_getgrouplist): Add assert. 2004-10-01 21:35:08 +00:00
nscd_nischeck.c Update copyright year. 2004-01-01 20:42:01 +00:00
nscd_proto.h Update. 2004-09-30 02:24:51 +00:00
nscd_stat.c Update. 2004-10-03 19:33:48 +00:00
pwdcache.c Update. 2004-09-20 23:16:22 +00:00
selinux.c Update, 2004-10-03 01:21:47 +00:00
selinux.h Update. 2004-09-17 00:04:18 +00:00