From 319b9ad4bccedb2a6b1a222cf446e873b2bc6de1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 11 Jul 2011 14:50:24 -0400 Subject: 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. --- nss/Versions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nss/Versions') diff --git a/nss/Versions b/nss/Versions index 913751217f..666915d6bf 100644 --- a/nss/Versions +++ b/nss/Versions @@ -97,6 +97,8 @@ libnss_files { _nss_files_getsecretkey; _nss_files_initgroups_dyn; + + _nss_files_init; } } @@ -153,5 +155,7 @@ libnss_db { _nss_db_getspnam_r; _nss_db_initgroups_dyn; + + _nss_db_init; } } -- cgit v1.2.3