[PATCHES] multi-channel: implement network interface info ioctl

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jan 26 06:00:09 UTC 2016

On Mon, Jan 25, 2016 at 10:52:00AM -0800, Jeremy Allison wrote:
> It's an explicit error return listed in the man pages, and
> some network file systems can return it.
> See here:
> https://lwn.net/Articles/576478/
> for an interesting discussion.

Dunno if it's in that discussion, but I believe somewhere I
read that Linux deallocates the fd first and only after that
does the cleanup, which then can fail for some reason. I'd
call that broken, but between the EINTR and the retry the fd
might have been opened by another thread. This would be
really, really bad. Can that be true?


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list