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] [day] [month] [year] [list]
Message-ID: <45D71959.2010008@microgate.com>
Date:	Sat, 17 Feb 2007 09:03:53 -0600
From:	Paul Fulghum <paulkf@...rogate.com>
To:	Mockern@...dex.ru
CC:	linux-kernel@...r.kernel.org
Subject: Re: line discipline and tty driver

Mockern wrote:
 > When it's necessary to use line discipline in tty driver
 > (to call ldisc.write(), ldisc.read(), ldisc.receive_buf())
 > and when I can ignore line discipline in my tty driver?

You should not call any of these from your driver.

transmit data is sent first to the line discipline
ldisc.write() which then calls into your driver write() method

your driver passes receive data to the ldisc through
the tty flip buffer functions.

--
Paul
-
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