From owner-cvs-all Fri Mar 12 13:35:58 1999 Delivered-To: cvs-all@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (Postfix) with ESMTP id 5F0461537B; Fri, 12 Mar 1999 13:33:46 -0800 (PST) (envelope-from billf@jade.chc-chimes.com) Received: from localhost (billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) with SMTP id QAA18172; Fri, 12 Mar 1999 16:33:57 -0500 (EST) (envelope-from billf@jade.chc-chimes.com) Date: Fri, 12 Mar 1999 16:33:57 -0500 (EST) From: Bill Fumerola To: Matthew Dillon Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, hetzels@westbend.net Subject: Re: BSD/OS compatibility (was: cvs commit: src/sys/i386/conf .. In-Reply-To: <199903122130.NAA80052@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Fri, 12 Mar 1999, Matthew Dillon wrote: > If you apply Tor's patch ( shown below ), does it unbreak? > > The only cavet to the patch is that Tor also says we should only munge > ebx in this fashion for BSD/OS binaries. I won't test it, because I'm not famliar enough with it to test it. The MAINTAINER(cc:'d) OTOH knows everything about this software and will instantly be able to detect problems. > Index: machdep.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v > retrieving revision 1.327 > diff -u -r1.327 machdep.c > --- machdep.c 1999/03/06 04:46:18 1.327 > +++ machdep.c 1999/03/10 00:11:28 > @@ -835,6 +835,7 @@ > regs->tf_ds = _udatasel; > regs->tf_es = _udatasel; > regs->tf_cs = _ucodesel; > + regs->tf_ebx = (int) PS_STRINGS; > > /* reset %fs and %gs as well */ > pcb->pcb_fs = _udatasel; > > - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message