Generalize framework to register monitoring of files in nscd
authorUlrich Drepper <drepper@gmail.com>
Mon, 11 Jul 2011 18:50:24 +0000 (14:50 -0400)
committerUlrich Drepper <drepper@gmail.com>
Mon, 11 Jul 2011 18:50:24 +0000 (14:50 -0400)
commit319b9ad4bccedb2a6b1a222cf446e873b2bc6de1
tree7951727c0dbd4394af52715e226745986e8beeb4
parent23bee3e8677c9357662ce789ed77fe25f3991c66
Generalize framework to register monitoring of files in nscd

nscd can clear caches when certain files change.  The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring.  nss_db, for instance, has its
own set of files to monitor.  Now the NSS modules themselves can
request that certain files are monitored.
12 files changed:
ChangeLog
nscd/cache.c
nscd/connections.c
nscd/nscd.c
nscd/nscd.h
nss/Makefile
nss/Versions
nss/nss_db/db-init.c [new file with mode: 0644]
nss/nss_files/files-init.c [new file with mode: 0644]
nss/nsswitch.c
nss/nsswitch.h
sysdeps/unix/sysv/linux/Makefile