From: Ed Schouten <ed@FreeBSD.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Inconsistency between PTY read() return values
Date: Wed, 8 Apr 2009 20:22:55 +0200 [thread overview]
Message-ID: <20090408182255.GJ32098@hoeg.nl> (raw)
In-Reply-To: <20090408190916.0c213aba@lxorguk.ukuu.org.uk>
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
* Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> A modem disconnect is a hang up which is quite different to an EOF and is
> effectively a security barrier as well (existing users of the tty port
> lose access to it aka revoke())
Ah, I see. I thought of a hangup as being a physical loss of carrier,
not the method of revoking processes from a TTY. So how come a hangup
can be seen by the pseudo-terminal master? Isn't that something that
should only cause file descriptors to the TTY to become invalid?
--
Ed Schouten <ed@FreeBSD.org>
[-- Attachment #2: Type: application/pgp-signature, Size: 195 bytes --]
prev parent reply other threads:[~2009-04-08 18:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 14:36 Inconsistency between PTY read() return values Ed Schouten
2009-04-08 16:47 ` Alan Cox
2009-04-08 17:56 ` Ed Schouten
2009-04-08 18:09 ` Alan Cox
2009-04-08 18:22 ` Ed Schouten [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090408182255.GJ32098@hoeg.nl \
--to=ed@freebsd.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox