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
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
mem.c
nscd_conf.c Update. 2004-10-03 19:33:48 +00:00
nscd_getai.c
nscd_getgr_r.c
nscd_gethst_r.c
nscd_getpw_r.c
nscd_helper.c
nscd_initgroups.c
nscd_nischeck.c
nscd_proto.h
nscd_stat.c Update. 2004-10-03 19:33:48 +00:00
nscd-client.h
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
pwdcache.c
selinux.c
selinux.h
TODO