From owner-freebsd-current Thu Sep 18 04:00:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA28459 for current-outgoing; Thu, 18 Sep 1997 04:00:45 -0700 (PDT) Received: from word.smith.net.au (ppp20.portal.net.au [202.12.71.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA28453 for ; Thu, 18 Sep 1997 04:00:38 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id UAA00302; Thu, 18 Sep 1997 20:23:08 +0930 (CST) Message-Id: <199709181053.UAA00302@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Stephen Hocking cc: current@freebsd.org Subject: Re: Linux WABI on FreeBSD-current? In-reply-to: Your message of "Thu, 18 Sep 1997 16:57:27 +1000." <199709180657.GAA13989@manila.workcover.qld.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Sep 1997 20:23:06 +0930 From: Mike Smith Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Has anybody tried to run Linux WABI under FreeBSD-current? I'm > assuming a kernel with all the USER GDT stuff compiled in of course. Yes. Oh, you mean "did it work?", no. There is one basic problem; the i386_modify_ldt() Linux system call isn't emulated due to the current implementation of its counterparts under FreeBSD. (The code in question uses copyin/copyout to access call arguments.) If you were to take a stab at this (I can provide details on the Linux call interface if you don't have them already), I *think* that much of the rest of it would be quite happy. I know you have some x86 experience, and at least a little time on your hands, so this would be greatly appreciated! mike