about summary refs log tree commit diff
path: root/nscd/nscd.conf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-08 15:46:42 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-08 15:46:42 +0000
commitc207f23b0b6b2d215be65e670d453768ad304247 (patch)
tree5d10943ec51bbda849db9ca2fdcc7b43feb2011c /nscd/nscd.conf
parent0a3ad40da92c0036bd3bd87949f7d7d9864c31c7 (diff)
downloadglibc-c207f23b0b6b2d215be65e670d453768ad304247.tar.gz
glibc-c207f23b0b6b2d215be65e670d453768ad304247.tar.xz
glibc-c207f23b0b6b2d215be65e670d453768ad304247.zip
Update.
	* nscd/connections.c: Implement r/o sharing of nscd's cache with client
	processes via shared memory.
	* nscd/nscd-client.h: Likewise.
	* nscd/nscd.h: Likewise.
	* nscd/nscd_conf.c: Likewise.
	* nscd/nscd_getgr_r.c: Likewise.
	* nscd/nscd_getpw_r.c: Likewise.
	* nscd/nscd_gethst_r.c: Likewise.
	* nscd/nscd.conf: Add new config parameters.
	* nscd/Makefile (aux): Add nscd_helper.
	* nscd/nscd_helper.c: New file.
	* nscd/mem.c (gc): Indicate beginning and end of the gc cycle.

	* nscd/hstcache.c: Simplify a lot.  We cache only the request itself,
	no derived information.
	* connections.c (nscd_init): Fix bug in testing size of the persistent.

	* nis/Makefile (aux): Add nis_hash.
	* nis/nis_hash.c: New file.  Split out from nis_util.c.
	* nis/nis_util.c: Move __nis_hash code in separate file.

	* csu/tst-atomic.c: Improve atomic_increment_val test which would
	not have found a ppc bug.
Diffstat (limited to 'nscd/nscd.conf')
-rw-r--r--nscd/nscd.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/nscd/nscd.conf b/nscd/nscd.conf
index 11d26b9efe..f972851116 100644
--- a/nscd/nscd.conf
+++ b/nscd/nscd.conf
@@ -19,6 +19,7 @@
 #       suggested-size		<service> <prime number>
 #	check-files		<service> <yes|no>
 #	persistent		<service> <yes|no>
+#	shared			<service> <yes|no>
 #
 # Currently supported cache names (services): passwd, group, hosts
 #
@@ -37,6 +38,7 @@
 	suggested-size		passwd		211
 	check-files		passwd		yes
 	persistent		passwd		yes
+	shared			passwd		yes
 
 	enable-cache		group		yes
 	positive-time-to-live	group		3600
@@ -44,6 +46,7 @@
 	suggested-size		group		211
 	check-files		group		yes
 	persistent		group		yes
+	shared			group		yes
 
 	enable-cache		hosts		yes
 	positive-time-to-live	hosts		3600
@@ -51,3 +54,4 @@
 	suggested-size		hosts		211
 	check-files		hosts		yes
 	persistent		hosts		yes
+	shared			hosts		yes