From owner-freebsd-emulation Thu Sep 2 1:54:33 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 9A80614C39 for ; Thu, 2 Sep 1999 01:54:29 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id KAA30275 for emulation@FreeBSD.ORG; Thu, 2 Sep 1999 10:34:43 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Thu, 02 Sep 1999 10:34:39 +0200 From: Marcel Moolenaar Message-ID: <37CE369F.60575559@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message