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: <20070228153702.0e172fa1@lxorguk.ukuu.org.uk>
Date:	Wed, 28 Feb 2007 15:37:02 +0000
From:	Alan <alan@...rguk.ukuu.org.uk>
To:	Christopher Meller <cmeller@...ominate.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Question on tty line discipline

On Wed, 28 Feb 2007 14:47:12 +0100
Christopher Meller <cmeller@...ominate.com> wrote:

> Hi,
> 
> I have a question concerning the line discipline behaviour for serial
> devices.
> When the line discipline is set via ioctl from  user space to e.g. N_PPP and the userspace program returns without resetting  the line discipline back to N_TTY, the serial device cannot be used (ENODV) until an appropriate  ioctl (to N_TTY) is performed. Is there any reason for the fact that the line discipline is not reset by the kernel , when closing the device. 

No special reason, it has simply always been that way. Getty and friends
are expected to put the tty back into a sane state.
-
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