lkml.org 
[lkml]   [2004]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.8.1-mm1 Tty problems?
    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 :
    >
    > <snip>
    >
    > open("/dev/tty", O_RDONLY|O_LARGEFILE) = 3
    > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff430) = -1 ENOTTY
    > (Inappropriate ioctl for device)
    >
    > </snip>
    >
    > 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
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.027 / U:0.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site