Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 16:49:45 +0000
From:      "Peter Edwards" <pmedwards@eircom.net>
To:        phk@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Opening /dev/tty in session leader after controlling terminal is revoked causes panic.
Message-ID:  <20030127164951.4B78643ED8@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help

phk@freebsd.org wrote:

> 
> In message <20030125183411.997FE43F43@mx1.FreeBSD.org>, "Peter Edwards" writes:
> 
> >The problem is in kern/tty_tty.c:ctty_clone. It's assuming that if the process
> >has its P_CONTROLT flag set, then it's session has a valid vnode for it's
> >controlling terminal. This doesn't hold if the terminal was revoked.
> 
> Can you try this patch ?

[snip patch]

Yes, this patch also fixes the problem.
-- 
Peter Edwards.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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