Re: Bug with Unix domain sockets under 2.0.35-5 (RedHat 5.1)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 21 Oct 1998 14:04:23 +0100 (BST)


> I encountered a bug with Unix domain sockets and select while
> hacking away. My parent process inadvertantly cored and the
> child went apeshit. Select returns 1 (and no longer blocks)
> when the other end of the socketpair(2) goes byebye via core dump.

Not a bug. The socket is closed so its trying to tell you that its ready
to read (to read the EOF status)

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/