summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-12-05 17:40:43 +0000
committerJakub Hrozek <jhrozek@redhat.com>2012-12-05 23:10:01 +0100
commit535e5ce8fc6594207aa72da245524c1cfcb1280e (patch)
tree8f48c3ef886f38a4a3a111653f9e74036f161be5 /src/providers
parentf1d38d5d0f64940a0c364b84e61137168bc23cf9 (diff)
downloadsssd-535e5ce8fc6594207aa72da245524c1cfcb1280e.tar.gz
sssd-535e5ce8fc6594207aa72da245524c1cfcb1280e.tar.xz
sssd-535e5ce8fc6594207aa72da245524c1cfcb1280e.zip
Hook to perform a mmap cache update from sssd_nss
This set of functions enumerate each user/group from all domains and invalidate any mmap cache record that matches.
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index d49fcd524..d82b4c94a 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -54,6 +54,12 @@
#define DP_METHOD_AUTOFSHANDLER "autofsHandler"
#define DP_METHOD_HOSTHANDLER "hostHandler"
#define DP_METHOD_GETDOMAINS "getDomains"
+
+/* this is a reverse method sent from providers to
+ * the nss responder to tell it to update the mmap
+ * cache */
+#define DP_REV_METHOD_UPDATE_CACHE "updateCache"
+
/**
* @defgroup pamHandler PAM DBUS request
* @ingroup sss_pam