summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_mmap_cache.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-11mmap_cache: Check if slot and name_ptr are not invalid.Michal Zidek1-0/+2
This patch prevents jumping outside of allocated memory in case of corrupted slot or name_ptr values. It is not proper solution, just hotfix until we find out what is the root cause of ticket https://fedorahosted.org/sssd/ticket/2018
2012-12-20mmap cache: invalidate cache on fatal errorSimo Sorce1-2/+2
If a fatal EFAULT error is returned by the internal function that frees used memory invalidate the whole cache and reinit it. This way we avoid further corruption and insure clients see consistent data. Also insure we use the right context in init() and we use talloc_zfree() in reinit so that if the init() later fails we do not leave around a pointer to free memory in the callers.
2012-12-05mmap cache: public functions to invalidate recordsSimo Sorce1-0/+10
These functions can be called from the nss responder to invalidate records that have ceased to exist or that need to be refreshed the first time an application needs them.
2012-09-24sss_cache tool invalidates records in memory cache.Michal Zidek1-0/+5
2012-06-10Allow fast memcache timeout to be configurableJan Zeleny1-1/+1
https://fedorahosted.org/sssd/ticket/1318
2012-03-19nsssrv: add handling of memory cache group mapSimo Sorce1-0/+6
2012-03-19nsssrv: add handling of memory cache passwd mapSimo Sorce1-0/+8
2012-03-19nsssrv: shared memory cache server initializationSimo Sorce1-0/+37