Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 1996 13:51:09 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        kaleb@x.org (Kaleb S. KEITHLEY)
Cc:        hackers@freefall.freebsd.org
Subject:   Re: /dev/tty and nits in 2.2-960501-SNAP
Message-ID:  <199606052051.NAA29664@phaeton.artisoft.com>
In-Reply-To: <199606051421.KAA09865@exalt.x.org> from "Kaleb S. KEITHLEY" at Jun 5, 96 10:21:58 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Things I note thus far:
> 
> # ls -l /dev/tty
> crw-r--r--  1 root  wheel    1,   0  5 Jun 10:16 /dev/tty
> 
> really wants to be:
> 
> crw-rw-rw-  1 root  wheel    1,   0  5 Jun 10:16 /dev/tty
> 
> otherwise xterm cannot open it. Breaking xterm is a Bad Thing (tm).

Hmmm...

I wonder if this change should wait until the xterm sets the ownership
on the pty (ie: maybe it should not happen at all).  Specifically, you
really don't want someone to be able to open the slave side before the
pty is allocated, and has a master -- maybe not even then, until the
program that grabbed the master provides the slave process itself?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606052051.NAA29664>