From 684ae515993269277448150a1ca70db3b94aa5bd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Oct 2011 10:06:31 -0400 Subject: Implement caching of nscd --- nss/nss_files/files-init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nss/nss_files') diff --git a/nss/nss_files/files-init.c b/nss/nss_files/files-init.c index b33cc3e..7012ab2 100644 --- a/nss/nss_files/files-init.c +++ b/nss/nss_files/files-init.c @@ -38,6 +38,7 @@ TF (grp, "/etc/group"); TF (hst, "/etc/hosts"); TF (resolv, "/etc/resolv.conf", .call_res_init = 1); TF (serv, "/etc/services"); +TF (netgr, "/etc/netgroup"); void @@ -52,4 +53,6 @@ _nss_files_init (void (*cb) (size_t, struct traced_file *)) cb (hstdb, &resolv_traced_file.file); cb (servdb, &serv_traced_file.file); + + cb (netgrdb, &netgr_traced_file.file); } -- cgit v1.1