[SSSD] [PATCH 0/5] [REV.1] Properly invalidate mmap cache data
Jakub Hrozek
jhrozek at redhat.com
Wed Dec 5 22:21:56 UTC 2012
On Wed, Dec 05, 2012 at 09:53:56PM +0100, Jakub Hrozek wrote:
> On Wed, Dec 05, 2012 at 01:40:41PM -0500, Simo Sorce wrote:
> > This revision will address the segfault occurring with cold caches.
> > I fixed 2 aspects.
> > 1) I fixed the actual segfault where it was occurring by simply returning early
> > from the function if gnum = 0, because in that case there are no groups we can
> > invalidate anyways.
> > 2) I now check and return short in the provider code if initgroups return both 0
> > results and 1 result, because in that case it means that the user either does
> > not exist at all or it is there but memberships have never been filled in so
> > again there is really nothing to check in NSS.
> >
> > The rest is unchanged.
> >
> > Simo Sorce (5):
> > mmap cache: public functions to invalidate records
> > Hook to perform a mmap cache update from sssd_nss
> > Hook for mmap cache update on initgroup calls
> > Add backchannel NSS provider query on initgr calls
> > Always append rctx as private data
>
> Ack to all five patches.
Pushed all five patches to both master and sssd-1-9
More information about the sssd-devel
mailing list