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: <45DB1646.4040909@microgate.com>
Date:	Tue, 20 Feb 2007 09:39:50 -0600
From:	Paul Fulghum <paulkf@...rogate.com>
To:	Arjan van de Ven <arjan@...radead.org>
CC:	Mockern@...dex.ru, alan@...rguk.ukuu.org.uk,
	linux-kernel@...r.kernel.org
Subject: Re: how to limit flip buffer size in tty driver?

Arjan van de Ven wrote:
> On Tue, 2007-02-20 at 15:50 +0300, Mockern wrote:
>> Thank you Alan for your respond,
>>
>> Could you help me with a problem which I have with my tty driver, please?
> 
> 
> I suspect Alan would be able to help you a whole lot better if you
> actually included the full source code of your driver...

Not to mention responding to the previous advice
of others (including myself and Theodore) who stated
there is no magic function in a driver that
directly supports the user mode cat program, and that
he should look at the tty settings controllable by stty.
(in particular clocal)

I also suggested running cat on a standard serial port
and getting that working first. Then applying those stty
settings to his custom device/driver.

(Background: he says other user mode programs work
to read/write but that cat < /dev/foocustom does nothing.)

-- 
Paul Fulghum
Microgate Systems, Ltd.
-
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