I'm going to work around this Linux bug in the next release of djbdns,
just as I've worked around many other Linux bugs in the past. But the
bug is going to continue to bite people.

Matthias Andree writes:
> Now, interpreting properties as "socket properties", and O_NONBLOCK
> being a file descriptor property,

O_NONBLOCK is not an fd property. It is an ofile property. Two different
fds created by dup() will point to the same O_NONBLOCK bit.

The absence of a non-blocking fd property causes reliability problems,
as discussed in http://cr.yp.to/docs/unixapi.html. I'd really like to
have ndelay_read() and ndelay_write() syscalls.

---Dan
-
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