Re: TTY: poll_wait (kernel 2.2.15)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue May 09 2000 - 07:09:53 EST


> Would someone please tell me what is this tty->poll_wait for?? It breaks
> driver backward compatibility in the 2.2.x kernel series (i.e. the driver
> that compiles in 2.2.15 does not compile in previous 2.2.x kernels), so I
> hope this new tty_struct field stands for something important.

It fixes a bug in lots of the tty drivers that were adding two entries to
the poll queue which is not allowed.

> In time: it's not present in 2.3.99-pre6 (why not, assuming it's
> important?).

I've yet to look at that in detail, or the alternate proposal. Right now anyone
can get root or crash 2.3.99pre using that bug.

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/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:13 EST