On Mon, 23 Oct 2017 09:05:48 +0200, Jeremie Courreges-Anglas wrote:

> That doesn't work.  When here, we hold cronSock and dfd (should be 3 and
> 4).  We need dfd to get fd (should be 5), thus we can't just use
> "closefrom(3)".  The straightest way IMO is to close what we should
> close (including dfd), but this means making cronSock a global.

OK millert@

> I would also propose sprinkling more O_CLOEXEC magic but that can be in
> another diff.

Sure.

 - todd

Reply via email to