summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_mmap_cache.h
Commit message (Collapse)AuthorAgeFilesLines
* mmap_cache: Check if slot and name_ptr are not invalid.Michal Zidek2013-08-111-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
* mmap cache: invalidate cache on fatal errorSimo Sorce2012-12-201-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.
* mmap cache: public functions to invalidate recordsSimo Sorce2012-12-051-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.
* sss_cache tool invalidates records in memory cache.Michal Zidek2012-09-241-0/+5
|
* Allow fast memcache timeout to be configurableJan Zeleny2012-06-101-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1318
* nsssrv: add handling of memory cache group mapSimo Sorce2012-03-191-0/+6
|
* nsssrv: add handling of memory cache passwd mapSimo Sorce2012-03-191-0/+8
|
* nsssrv: shared memory cache server initializationSimo Sorce2012-03-191-0/+37