Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread kuznet
Hello! > 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. 8) However, imagine, freebsd folks changed this in their release 2.x. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread \"Theodore Y. Ts'o\" <[EMAIL PROTECTED]> To: Matthias Andree
Date:Fri, 15 Sep 2000 15:01:25 +0200 From: Matthias Andree <[EMAIL PROTECTED]> BUG DESCRIPTION: (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

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Chris Evans
On Fri, 15 Sep 2000, Matthias Andree wrote: > BUG DESCRIPTION: > (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

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Andi Kleen
On Fri, Sep 15, 2000 at 05:54:14AM -0700, David S. Miller wrote: >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

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread David S. Miller
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

[2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Matthias Andree
Please mind the To: and Cc: headers. If there are relevant followups, please send me a Cc: as I'm only subscribed to the linux-kernel and dns mailing lists. In some debugging, Pavel Kankovsky and Daniel J. Bernstein have tracked down a Linux Kernel bug that I can confirm for 2.2.17 and

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread David S. Miller
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.

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread kuznet
Hello! 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. 8) However, imagine, freebsd folks changed this in their release 2.x. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Andi Kleen
On Fri, Sep 15, 2000 at 05:54:14AM -0700, David S. Miller wrote: 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

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Chris Evans
On Fri, 15 Sep 2000, Matthias Andree wrote: BUG DESCRIPTION: (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

Re: [2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread \Theodore Y. Ts'o\ [EMAIL PROTECTED] To: Matthias Andree
Date:Fri, 15 Sep 2000 15:01:25 +0200 From: Matthias Andree [EMAIL PROTECTED] BUG DESCRIPTION: (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)

[2.4][2.2] Bug: accept discards socket options/O_NONBLOCK

2000-09-15 Thread Matthias Andree
Please mind the To: and Cc: headers. If there are relevant followups, please send me a Cc: as I'm only subscribed to the linux-kernel and dns mailing lists. In some debugging, Pavel Kankovsky and Daniel J. Bernstein have tracked down a Linux Kernel bug that I can confirm for 2.2.17 and