cvs commit: src/sys/kern tty_tty.c

2008-06-03 Thread Ed Schouten
ed 2008-06-03 12:38:18 UTC FreeBSD src repository Modified files: sys/kern tty_tty.c Log: SVN rev 179519 on 2008-06-03 12:38:00Z by ed Remove unneeded Giant locking of /dev/tty. The Giant lock is acquired in two places in tty_tty.c. In both places, it

cvs commit: src/sys/kern tty_tty.c

2007-07-03 Thread Konstantin Belousov
kib 2007-07-03 17:46:37 UTC FreeBSD src repository Modified files: sys/kern tty_tty.c Log: Lock Giant and proctree lock around dereferencing p_session->s_ttyvp->v_rdev. Lock cdev mutex too to close the race with tty being freed. Relock clone_drain_lock to prev

cvs commit: src/sys/kern tty_tty.c

2006-09-29 Thread Martin Blapp
mbr 2006-09-29 07:33:56 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern tty_tty.c Log: MFC rev. 1.58, 1.59 If /dev/tty gets opened after your controlling terminal has been revoked you can't call tty_clone afterwords. This can b

cvs commit: src/sys/kern tty_tty.c

2006-09-27 Thread Martin Blapp
mbr 2006-09-27 16:41:15 UTC FreeBSD src repository Modified files: sys/kern tty_tty.c Log: Use ctty instead of just returning. ctty just has a simple open that returns ENXIO. Submitted by: jhb Revision ChangesPath 1.59 +1 -1 src/sys/

cvs commit: src/sys/kern tty_tty.c

2006-09-23 Thread Martin Blapp
mbr 2006-09-23 14:44:15 UTC FreeBSD src repository Modified files: sys/kern tty_tty.c Log: If /dev/tty gets opened after your controlling terminal has been revoked you can't call tty_clone afterwords. OpenBSD and NetBSD both fail the open call in that case, so