From owner-freebsd-bugs Fri Jul 23 12:42:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 375B114C2D for ; Fri, 23 Jul 1999 12:42:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA88900; Fri, 23 Jul 1999 12:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 23 Jul 1999 12:40:02 -0700 (PDT) Message-Id: <199907231940.MAA88900@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Luoqi Chen Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set by i386_set_ldt, breaking wine Reply-To: Luoqi Chen Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11287; it has been noted by GNATS. From: Luoqi Chen To: luoqi@chen.ml.org, nox@jelal.kn-bremen.de Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set by i386_set_ldt, breaking wine Date: Fri, 23 Jul 1999 15:29:23 -0400 (EDT) > > > I have an implementation based on -current (I don't have any machine > > > running -stable), you may want to take a look at, the patch is at > > > http://www.freebsd.org/~luoqi > > I just found out this doesn't work if VM86 is not used, heres the fix: > > Index: sys/i386/i386/vm_machdep.c > @@ -69,6 +69,9 @@ > #include > #include > #endif > +#ifdef USER_LDT > +#include > +#endif > > #include > #include > Yes, I'll update the patch set to include this change and the use of smp_rendezvous() function to synchronize among cpus. Thanks -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message