Re: Should O_NONBLOCK be copied from listening socket to accepting socket?

From: Alan Cox (
Date: Mon Sep 04 2000 - 16:04:48 EST

> Is it required that the O_NONBLOCK flag be copied from a listening
> socket to an accepted socket? Dan Bernstein believes this is a bug.

My posix 1003.1g draft leaves it undefined. It is possible that
SuS clarifies this. Unless he can cite a SuS version that has clarified this
I believe its like the SIGIO case - inheritance is platform specific.

On the other hand we don't inherit CLOSEONEXEC so why should we inherit NDELAY ?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:20 EST