summaryrefslogtreecommitdiff
path: root/src/sss_client/nss_mc_common.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-21Add close on exec support for old platformsSimo Sorce1-1/+16
Older platfroms like RHEL5 do not have support for O_CLOEXC and need an explicit fcntl after the fd is created. Add it conditionally so it can be clearly removed once we declared those platfroms obsolete and unsupported.
2012-06-21Do not leak file descriptors in client libs.Simo Sorce1-1/+1
We need to make sure the mc socket is not leaked otherwise child processes will pile up leaked file descriptors. Add O_CLOEXEC when opening the cache.
2012-03-19sss_client: Add common shared memory cache utilsSimo Sorce1-0/+272