From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 26 07:00:07 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED41316A4CE for ; Thu, 26 Feb 2004 07:00:07 -0800 (PST) Received: from mailhub.sweetdreamsracing.biz (mailhub.sweetdreamsracing.biz [66.92.171.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78B343D1F for ; Thu, 26 Feb 2004 07:00:07 -0800 (PST) (envelope-from culverk@sweetdreamsracing.biz) Received: by mailhub.sweetdreamsracing.biz (Postfix, from userid 80) id 2C5112D7; Thu, 26 Feb 2004 10:08:40 -0500 (EST) Received: from 141.156.69.109 ([141.156.69.109]) by www.sweetdreamsracing.biz (Horde) with HTTP for ; Thu, 26 Feb 2004 10:08:39 -0500 Message-ID: <20040226100839.kw8c4cws80so4g0c@www.sweetdreamsracing.biz> Date: Thu, 26 Feb 2004 10:08:39 -0500 From: Kenneth Culver To: Reid Linnemann References: <1077756915.403d43f331556@webmail.okstate.edu> In-Reply-To: <1077756915.403d43f331556@webmail.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs cc: freebsd-emulation@freebsd.org Subject: Re: linux mmap2 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 15:00:08 -0000 Quoting Reid Linnemann : > Hey all, I've got a little dilemma I need some hints with... > > I am running FreeBSD 4.9-STABLE, and trying to get a linux binary operating > that uses mmap2. I've read a conversation kenneth culver had about > his efforts, > and from what I can tell mmap2 is implemented in -CURRENT - but not > in -STABLE. > Is there any way I can grab the -CURRENT version of the linuxulator, or > cut'n'paste the changes kenneth made, and get mmap2 working? I had found, and > later lost, kenneths record of changes he made to the linuxulator - if anyone > can point me to them I would appreciate that as well. > > thanks, > -Reid > The changes I made back then weren't that complicated, but I'm not sure they actually helped the software I was working on run or not. I found out later that software worked fine with or without mmap2, but worked slightly faster with it. I don't have a copy of the patches I made back then either. I might be able to get a copy of the 4.9 source and make a patch there without testing it if you're interested. If you have any knowledge of C, however, it wouldn't be that hard to duplicate the changes that were made in -CURRENT. Ken