lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/1] TTY: don't allow reopen when ldisc is changing
    On Thu, Nov 25, 2010 at 06:16:23PM +0100, Jiri Slaby wrote:
    > - if (test_bit(TTY_CLOSING, &tty->flags))
    > + if (test_bit(TTY_CLOSING, &tty->flags) ||
    > + test_bit(TTY_LDISC_CHANGING, &tty->flags))
    > return -EIO;
    >

    Doh, nice catch. I just built a couple test images and sent them out to
    the reporters for confirmation.

    Thanks!
    Kyle


    \
     
     \ /
      Last update: 2010-11-25 19:01    [W:0.023 / U:2.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site