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
..
aicache.c
cache.c
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
Depend
getgrgid_r.c
getgrnam_r.c
gethstbyad_r.c
gethstbynm2_r.c
getpwnam_r.c
getpwuid_r.c
grpcache.c
hstcache.c
initgrcache.c
Makefile Update. 2004-10-03 07:33:54 +00:00
mem.c
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
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
nscd_proto.h
nscd_stat.c Update. 2004-10-03 19:33:48 +00:00
pwdcache.c
selinux.c Update, 2004-10-03 01:21:47 +00:00
selinux.h
TODO