From owner-freebsd-hackers Mon Jun 3 13:22:07 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA15193 for hackers-outgoing; Mon, 3 Jun 1996 13:22:07 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA15179 for ; Mon, 3 Jun 1996 13:22:01 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id GAA28036; Tue, 4 Jun 1996 06:16:33 +1000 Date: Tue, 4 Jun 1996 06:16:33 +1000 From: Bruce Evans Message-Id: <199606032016.GAA28036@godzilla.zeta.org.au> To: bde@zeta.org.au, matt@lkg.dec.com Subject: Re: PR conf/1270 Cc: hackers@FreeBSD.org Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> There is a problem with dangling pointers. See kern_exit.c: >> >> /* >> * s_ttyp is not zero'd; we use this to indicate >Digital UNIX had the same misfeature. Which is why it now uses >a vnode reference: > struct vnode *s_ttyvp; /* vnode of controlling terminal */ >This also allows other things than classic ttys to be controlling >terminals (say streams devices or portals or ...). FreeBSD already has s_ttyvp, but still needs s_ttyp. Bruce