lkml.org 
[lkml]   [2000]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Should O_NONBLOCK be copied from listening socket to accepting socket?
Date
From
> 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 ?

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.065 / U:5.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site