Date: Fri, 15 Sep 2000 15:01:25 +0200 From: Matthias Andree <[EMAIL PROTECTED]> (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. The socket(7) manpage is buggy, not the kernel. This has been this way forever, it is thus an API and it is not changing. Changing it would break existing programs. End of story. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK Matthias Andree
- Re: [2.4][2.2] Bug: accept discards socket options/O_... David S. Miller
- Re: [2.4][2.2] Bug: accept discards socket option... Andi Kleen
- Re: No Bug: accept discards socket options/O_NONB... Matthias Andree
- Re: No Bug: accept discards socket options/O_... David S. Miller
- Re: No Bug: accept discards socket option... Matthias Andree
- Re: No Bug: accept discards socket o... Michael Poole
- Re: No Bug: accept discards sock... Matthias Andree
- Re: No Bug: accept discards socket option... Raul Miller
- Re: No Bug: accept discards socket options/O_... D. J. Bernstein
- Re: No Bug: accept discards socket option... Andi Kleen
- Re: No Bug: accept discards socket option... Matthias Andree