From owner-cvs-sys Sat Oct 5 12:34:22 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA04147 for cvs-sys-outgoing; Sat, 5 Oct 1996 12:34:22 -0700 (PDT) Received: from alpo.whistle.com (s204m38.isp.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA04141; Sat, 5 Oct 1996 12:34:13 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.5/8.7.3) with SMTP id MAA01094; Sat, 5 Oct 1996 12:32:41 -0700 (PDT) Date: Sat, 5 Oct 1996 12:30:42 -0700 (PDT) From: Julian Elischer To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= cc: Julian Elischer , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_exit.c In-Reply-To: <199610050814.MAA00616@nagual.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk when you have no serial cards and no video cards and nop keyboard you still want /dev/console to work do that xterm -C will work but you have only a 'virtuall' console works now.. julian On Sat, 5 Oct 1996, [KOI8-R] =E1=CE=C4=D2=C5=CA =FE=C5=D2=CE=CF=D7 wrote: > > julian 96/10/04 16:43:14 > >=20 > > Modified: sys/kern kern_exit.c > > Log: > > If we have no console device it is possible to be > > 1/ session leader > > 2/ Have a console device vnode (/dev/console) > > 3/ have NULL pointer for a consoel tty struct. > > =20 > > fix the only case where the tty struct is referenced without a prior > > check for existance. >=20 > In which situations this bug hits? >=20 > --=20 > Andrey A. Chernov > > http://www.nagual.ru/~ache/ >=20