[lkml]   [2000]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

On Fri, 15 Sep 2000, Matthias Andree wrote:

> (This is for IPv4, someone would have to check IPv6 as well).
> The socket flag O_NONBLOCK is _NOT_ properly inherited through an
> accept(2) call, in spite of what socket(7) documents. This is a bug.
> accept(2) must copy the file descriptor's flag of the socket.

No-one has yet located a standards document which mandates this behaviour,

Unless such a document is found, the bug lies in dnscache for assuming
something it is not entitled to assume.


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

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