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: <043201c6c857$5ddd6c20$294b82ce@stuartm>
Date:	Fri, 25 Aug 2006 11:01:38 -0400
From:	"Stuart MacDonald" <stuartm@...necttech.com>
To:	"'Alan Cox'" <alan@...rguk.ukuu.org.uk>,
	"'Krzysztof Halasa'" <khc@...waw.pl>
Cc:	"'David Woodhouse'" <dwmw2@...radead.org>,
	<linux-serial@...r.kernel.org>,
	"'LKML'" <linux-kernel@...r.kernel.org>
Subject: RE: Serial custom speed deprecated?

From: On Behalf Of Alan Cox
> At this point I think we need
> 
> -	An ioctl to set/get the actual baud rate input/output
> -	Some kind of termios flag to indicate they are being 
> used (as we have
> CBAUDEX now). [We could "borrow" the 4Mbit one and dual use it IMHO]
> 
> For drivers tty_get_baud_rate would return the actual speed as before.
> 
> We would need a driver ->set_speed method for the cases where
> - ioctl is called to set specific board rate
> - OR termios values for tty speed change
> - While we are at it we might want to make ->set_termios also 
> allowed to fail
> 
> [and if you had no ->set_speed method non standard speeds would be
> refused by the tty layer for back compat]
> 
> Anyone got any problems with this before I go and implement it ?

Sounds good.

..Stu

-
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