From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268439AbUHQVTY (ORCPT ); Tue, 17 Aug 2004 17:19:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268437AbUHQVTK (ORCPT ); Tue, 17 Aug 2004 17:19:10 -0400 Received: from h-68-165-86-241.dllatx37.covad.net ([68.165.86.241]:40042 "EHLO sol.microgate.com") by vger.kernel.org with ESMTP id S268432AbUHQVCq (ORCPT ); Tue, 17 Aug 2004 17:02:46 -0400 Message-ID: <412271EF.6040201@microgate.com> Date: Tue, 17 Aug 2004 16:00:31 -0500 From: Paul Fulghum User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?ismail_d=F6nmez?= CC: Linux Kernel Mailing List , sds@epoch.ncsc.mil, jmorris@redhat.com, akpm@osdl.org Subject: Re: 2.6.8.1-mm1 Tty problems? References: <2a4f155d040817070854931025@mail.gmail.com> In-Reply-To: <2a4f155d040817070854931025@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org ismail dönmez wrote: > Hi all, > > Watch this sequence : > > > cartman@southpark:~$ echo "foo" > foo > cartman@southpark:~$ cat foo > foo > cartman@southpark:~$ less foo > cartman@southpark:~$ > > As you see less doesn't show up anything. Strace shows this piece of info : > > > > open("/dev/tty", O_RDONLY|O_LARGEFILE) = 3 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff430) = -1 ENOTTY > (Inappropriate ioctl for device) > > > > Any ideas whats going on? > > P.S : 2.6.8 was working just fine. Stephen, James, Andrew: the selinux-revalidate-access-to-controlling-tty patch seems to be causing the problem with less program as shown above. See the rest of this thread for more details. -- Paul Fulghum paulkf@microgate.com