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

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

> > > 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?
> >
> > Ken
> >
> >
> OK, I removed the linux_base packages that I had on here, and made some
> changes to the linux-ulator (added the arg[5] = tf->tf_ebp, and then
> re-installed the linux_base-7.1 package, and now things are working...
> winex is working fine now. :-) I'll clean up my changes to the
> linux-ulator, and submit them as a pr.
>
I'm actually still not seeing a match between what's in  truss, and what's
in my printed-out args, but it seems to be working anyway...

Ken


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020424193252.S39698-100000>