Matthias Andree <[EMAIL PROTECTED]> writes:

> On Fri, 15 Sep 2000, David S. Miller wrote:
> 
> > Every Linux inetd in the world would instantly stop working.
> 
> Why should it? inetd.c does not touch fd flags. No F_SETFL, no
> O_NONBLOCK, no fcntl. Why should inetd fail with a changed accept(2)
> semantics?

Most of the programs called by inetd don't expect non-blocking I/O on
their stdin and stdout, which they would suddenly get if accept()'ed
sockets inherited the non-blocking nature of inetd's listening socket.

Personally, I think that the common case is that the caller will want
the same blocking attribute for an accept()'ed socket as on the
listening socket it came from, and inetd is the only app I have seen
offered as a counterexample.  If it's just one app, it can easily be
changed and marked as required for upgrades to kernels that have the
same semantics as the BSDs.
-
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/
  • ... Matthias Andree
    • ... David S. Miller
      • ... Andi Kleen
      • ... Matthias Andree
        • ... David S. Miller
          • ... Matthias Andree
            • ... Michael Poole
              • ... Matthias Andree
          • ... Raul Miller
        • ... D. J. Bernstein
          • ... Andi Kleen
          • ... Matthias Andree
      • ... kuznet
    • ... Chris Evans
    • ... \"Theodore Y. Ts'o\" <[EMAIL PROTECTED]> To: Matthias Andree

Reply via email to