From owner-freebsd-hackers Wed Jun 7 7:46:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id EC34037B5E7 for ; Wed, 7 Jun 2000 07:46:43 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA23748; Wed, 7 Jun 2000 09:46:26 -0500 (CDT) (envelope-from dan) Date: Wed, 7 Jun 2000 09:46:26 -0500 From: Dan Nelson To: Matthew Emmerton Cc: Mark Newton , freebsd-hackers@FreeBSD.ORG Subject: Re: SVR4 Emulation [was Re: iBCS status?] Message-ID: <20000607094626.B22129@dan.emsphone.com> References: <000a01bfcf7a$cc810330$1200a8c0@matt> <20000606152128.B82736@internode.com.au> <20000606012552.A1515@dan.emsphone.com> <20000606162453.B83108@internode.com.au> <20000606094719.A19961@dan.emsphone.com> <006101bfd04c$59de5c60$1200a8c0@matt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <006101bfd04c$59de5c60$1200a8c0@matt>; from "Matthew Emmerton" on Wed Jun 7 02:48:06 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jun 07), Matthew Emmerton said: > And while we're on the topic, has anyone looked at the svr4 emulation > stuff for Linux, most notably Debian? According to this link > (http://www.debian.org/Packages/stable/otherosfs/ibcs-base.html), it > has SCO SVR3 as well as SCO ODT5 (SVR4) support. This may have > already covered a lot of the hairy issues (like syscall mappings). I > realize it is dated (late 97), but anything helpful is better than > nothing :) I've looked at the linuxibcs stuff, dated 1998 (it does ibcs and svr4) but don't really want to copy code outright, since it's GPL'ed. The basic stuff like syscall mappings is already covered by our existing svr4 code. The hardest part is adding support for SCO oddball syscalls, like xstat, which can return up to 4 different "struct stat"s depending on what you pass into it. It's hard because SCO doesn't document any of this. You have to root through headers trying to figure out what structures are used when. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message