Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765232AbYJMKKT (ORCPT ); Mon, 13 Oct 2008 06:10:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762699AbYJMJtF (ORCPT ); Mon, 13 Oct 2008 05:49:05 -0400 Received: from mail-in-03.arcor-online.net ([151.189.21.43]:55323 "EHLO mail-in-03.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764034AbYJMJtD (ORCPT ); Mon, 13 Oct 2008 05:49:03 -0400 Date: Mon, 13 Oct 2008 11:59:52 +0200 (CEST) From: Bodo Eggert <7eggert@gmx.de> To: Alan Cox cc: =?UTF-8?Q?Adam_Tla=C5=82ka?= , 7eggert@gmx.de, linux-kernel@vger.kernel.org, torvalds@osdl.org Subject: Re: [PATCH 0/2] SIGWINCH problem with terminal apps still alive In-Reply-To: <20081012212244.117852e0@lxorguk.ukuu.org.uk> Message-ID: References: <20081011185821.0dab4c81@lxorguk.ukuu.org.uk> <20081012143231.6ef9e590@merlin.oi.pg.gda.pl> <20081012152200.4a8f14c4@lxorguk.ukuu.org.uk> <20081012195957.50feada3@merlin.oi.pg.gda.pl> <20081012190312.0bd04ab8@lxorguk.ukuu.org.uk> <20081012210140.15cecf78@merlin.oi.pg.gda.pl> <20081012212244.117852e0@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 23 On Sun, 12 Oct 2008, Alan Cox wrote: > > That is why I propose usage of real_tty in ioctl() handling: > > > > case TIOCGWINSZ: > > return tiocgwinsz(real_tty, p); > > Congratulations we've finally got there - and that is exactly the code in > the current tty tree. These patches are missing from 2.6.27. There you have: case TIOCGWINSZ: return tiocgwinsz(tty, p); -- WAR IS PEACE FREEDOM IS SLAVERY IGNORANCE IS STRENGTH -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/