Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 1999 10:34:39 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.ORG
Subject:   Minor changes to USER_LDT related code
Message-ID:  <37CE369F.60575559@scc.nl>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37CE369F.60575559>