Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 17:34:07 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Kenneth Culver <culverk@alpha.yumyumyum.org>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, Brandon S Allbery KF8NH <allbery@ece.cmu.edu>, freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List <freebsd-current@FreeBSD.ORG>
Subject:   Re: implementing linux mmap2 syscall
Message-ID:  <XFMail.20020424173407.jhb@FreeBSD.org>
In-Reply-To: <20020424170721.B38982-100000@alpha.yumyumyum.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 24-Apr-2002 Kenneth Culver wrote:
>> libc sets it before it enters the kernel.  Then on kernel entry we save
>> ebp in the trapframe.
> 
> So in the case of linux emulation, the glibc that we're using in the
> linux-ulator isn't setting it properly? I'm using the linux_base-7 port
> for this, so as far as I can tell, it should work... assuming linux_base-7
> is meant to run on a linux-2.4.x kernel (or kernel that's emulating that).
> 
> I may have screwed up my linux libs somehow or another too... could this
> be causing the behavior I'm seeing?

Maybe.  You could always try finding the mmap2() entry point and dissassembling
it to see what it is doing.

> Ken

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020424173407.jhb>