[PATCHES] multi-channel: implement network interface info ioctl
Ralph Boehme
rb at sernet.de
Mon Jan 25 08:30:17 UTC 2016
On Mon, Jan 25, 2016 at 09:06:06AM +0100, Stefan Metzmacher wrote:
> Do we have a sys_close() that already does
>
> + do {
> + ret = close(fd);
> + } while (ret == -1 && errno == EINTR);
>
> This hight be an generic problem (or is not needed at at all)
> @Volker,Jemery: Do we need EINTR on close?
not according to <https://lwn.net/Articles/576478/>.
It's allowed by POSIX, but sane implementations including Linux ensure
the fd is closed, buffer flushes may still be in progress
though. That's my understanding of it from briefly skimming the info
on the web.
-Ralph
--
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@sernet.de
More information about the samba-technical
mailing list