Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 16:33:57 -0500 (EST)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, hetzels@westbend.net
Subject:   Re: BSD/OS compatibility (was: cvs commit: src/sys/i386/conf .. 
Message-ID:  <Pine.BSF.3.96.990312163218.6585C-100000@jade.chc-chimes.com>
In-Reply-To: <199903122130.NAA80052@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990312163218.6585C-100000>