From owner-freebsd-emulation Thu Sep 2 10:43:36 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 65D93155E5 for ; Thu, 2 Sep 1999 10:43:30 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id NAA26555; Thu, 2 Sep 1999 13:38:15 -0400 (EDT) (envelope-from luoqi) Date: Thu, 2 Sep 1999 13:38:15 -0400 (EDT) From: Luoqi Chen Message-Id: <199909021738.NAA26555@lor.watermarkgroup.com> To: emulation@FreeBSD.ORG, marcel@scc.nl Subject: Re: Minor changes to USER_LDT related code Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > In order to implement the Linux modify_ldt syscall, I like to propose some > changes to the current USER_LDT code. The changes are: > > 1) Don't make i386_get_ldt and i386_set_ldt static so they can be > used by the linuxulator. > 2) When ``option USER_LDT'' is not present, provide stubs for the > functions. These simply return ENOSYS. > 3) Add the proper prototypes to i386/include/sysarch.h > > For details see http://www.FreeBSD.org/~marcel/modify_ldt.diff > Thanks, > > -- > Marcel Moolenaar mailto:marcel@scc.nl > SCC Internetworking & Databases http://www.scc.nl/ > Amsterdam, The Netherlands tel: +31 20 4200655 > I am in favor of calling generic sysarch() interface instead, it should be the only API outside world knows about. And there will be no need to do any of the three items you listed above. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message