atom feed7 messages in org.freebsd.freebsd-hackersRe: PR conf/1270
FromSent OnAttachments
Gary PalmerJun 2, 1996 7:50 am 
Matt ThomasJun 2, 1996 10:16 am 
Bruce EvansJun 2, 1996 1:21 pm 
Bruce EvansJun 2, 1996 3:33 pm 
Matt ThomasJun 3, 1996 8:51 am 
Terry LambertJun 3, 1996 11:13 am 
Bruce EvansJun 3, 1996 1:16 pm 
Subject:Re: PR conf/1270
From:Bruce Evans (bd@zeta.org.au)
Date:Jun 3, 1996 1:16:13 pm
List:org.freebsd.freebsd-hackers

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