lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081120131726.2636b559@lxorguk.ukuu.org.uk>
Date:	Thu, 20 Nov 2008 13:17:26 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Thomas Pfaff <tpfaff@....com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Question about TTY_DO_WRITE_WAKEUP

On Thu, 20 Nov 2008 11:06:19 +0100 (CET)
Thomas Pfaff <tpfaff@....com> wrote:

> I have written a program that reads and writes data to the serial uart using 
> async io.
> Unfortunately it does not work properly because a SIGIO is never gerated when 
> output becomes possible, the reason is that TTY_DO_WRITE_WAKEUP is not set for 
> most of the tty drivers. After i set the bit in serial_core.c the program works 
> as expected.
> Now i wonder why TTY_DO_WRITE_WAKEUP is almost always disabled ?

Almost nobody uses SIGIO based I/O, especially on serial so I'm not
actually suprised by this one. If you've got patches that fix it then
please send them in.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ