Re: A fifo and signal bug

H.J. Lu (hjl@lucon.org)
Sat, 21 Nov 1998 08:32:43 -0800 (PST)


>
> Linus Torvalds wrote:
> [...]
> > Maybe it's a glibc bug.
> >
> > Linus
> >
>
> Most probably as it appears in two different (2.0.36 and 2.1.129)
> machines both with a RH5.2 system. (glibc-2.0.7-29)

No. It is a kernel bug. You can see it by just looking at fs/filo.c.
Basically, when a fifo reader is interrupted by a signal in fifo_open,
there is no way for a fifo writer to tell someone is waiting to read
but interrupted by a signal. But I am afraid a real fix is not trivial.

-- 
H.J. Lu (hjl@gnu.org)

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