Re: [PATCH 1/1] char nvtty: Network Virtual Terminal support

From: Greg KH
Date: Mon Jan 10 2011 - 11:05:30 EST


On Mon, Jan 10, 2011 at 01:49:55PM +0000, Alan Cox wrote:
> > If I well understood the pty/tty pair modem lines they can be used to
> > send receive serial data but they cannot be used to set the serial
> > parameters since the slave doesn't send to the master the serial
> > settings a userland application does on it, doesn't it?
>
> Currently this is the case.
>
> > > Otherwise its a very nice implementation of something I don't think we
> > > should have implemented in the kernel.
> >
> > Thanks, but I still don't understand how I can set the serial settings
> > without a specific tty driver and just using the pty/tty pair modem
> > lines... :'(
>
> I'd rather see either tweaks to the pty/tty code to support this and
> modem line setting, or something like your nvt which can be used for
> arbitary protocols rather than being tied to the nvt telnet protocol
> limits.

I also agree with this, we don't want to force the protocol to be this
one, userspace has access to many good, secure protocols, that should be
able to be used instead if they want to.

thanks,

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