summaryrefslogtreecommitdiffstats
path: root/src/python/pysss.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-16 17:00:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-08-05 11:28:19 +0200
commit225dc6914cdc8920b02a129b98ece1ed97b99c03 (patch)
tree39ef3e048f6460b4f70001197e25b1b8d14b4193 /src/python/pysss.c
parent39b31427e2d11ca318df11fd48db33a7cc610aa7 (diff)
downloadsssd-225dc6914cdc8920b02a129b98ece1ed97b99c03.tar.gz
sssd-225dc6914cdc8920b02a129b98ece1ed97b99c03.tar.xz
sssd-225dc6914cdc8920b02a129b98ece1ed97b99c03.zip
mmap_cache: "Override" functions for initgr mmap cache
Functions sss_mc_get_strs_offset and sss_mc_get_strs_len provides data about strings for individual memory caches (passwd, ...) Their are used in generic responder mmap cache code to find a record in mmap cache (sss_mc_find_record). Data provided from functions sss_mc_get_* are used for checking the validity of record. So in case of corrupted record the whole mmap cache can be invalidated. Functions sss_mc_get_strs_offset and sss_mc_get_strs_len did not provide data for initgroups mmap cache and therefore particular record could not be invalidated. Resolves: https://fedorahosted.org/sssd/ticket/2716 Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/python/pysss.c')
0 files changed, 0 insertions, 0 deletions