Re: [PATCH] tty_io: fix tiocswinsz, tiocgwinsz races.

From: Alan Cox
Date: Fri Aug 08 2008 - 08:08:31 EST


On Fri, 8 Aug 2008 18:36:18 +0800
Kanru Chen <koster@xxxxxxxxxxxxx> wrote:

> real_tty may receive SIGWINCH before the new winsize is setted.

It needs rather more than that - for the moment I've gone back to the old
races because there is an awkward deadlock case to deal with. I've pushed
some changes to the -next tree to rework all this locking.

I had however missed the tty/real_tty case so something like your changes
might still be relevant. I'll take a look.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/