Race condition in tdb_runtime_check_for_robust_mutexes()

Jeremy Allison jra at samba.org
Mon Mar 28 16:28:34 UTC 2016


On Mon, Mar 28, 2016 at 09:23:48AM -0700, Jeremy Allison wrote:
> On Sun, Mar 27, 2016 at 09:34:38AM +0200, Ralph Boehme wrote:
> > 
> > > but to be honest I'd much prefer it if you moved those calls outside
> > > and back to just before/after the calls to
> > > tdb_robust_mutex_setup_sigchild(), and leave that call as-is. That
> > > way I can *see* they're there at the right point in the code.
> > 
> > attached. :)
> 
> Thanks Ralph, I can actually understand your code
> changes now :-).
> 
> Pushed !

With one minor change to remove the now-unused
'status' variable :-).



More information about the samba-technical mailing list