Skip site navigation (1)Skip section navigation (2)
Date:      24 Apr 2002 12:31:08 -0300
From:      Brandon S Allbery KF8NH <allbery@ece.cmu.edu>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Kenneth Culver <culverk@alpha.yumyumyum.org>, freebsd-hackers@FreeBSD.ORG, FreeBSD-CURRENT List <freebsd-current@FreeBSD.ORG>
Subject:   Re: implementing linux mmap2 syscall
Message-ID:  <1019662269.6094.1.camel@pyanfar.ece.cmu.edu>
In-Reply-To: <15558.46600.351433.784766@grasshopper.cs.duke.edu>
References:  <15557.27747.802212.659760@grasshopper.cs.duke.edu> <20020423181748.W31638-100000@alpha.yumyumyum.org>  <15558.46600.351433.784766@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-04-24 at 10:41, Andrew Gallatin wrote:
> Maybe the argument isn't where you expect it to be, but is there.
> Can you make a test program which calls mmap2 with its 6th arg as
> something unique like 0xdeadbeef?  Then print out (in hex :) the trapframe
> from the linux prepsyscall routine & see if you can find the deadbeef.

My recollection is that beyond 5 arguments, a pointer to the remaining
ones is passed.  (But my recollection may be wrong and I don't wish to
subject myself to the source cesspool at the moment....)

-- 
brandon s. allbery   [os/2][linux][solaris][japh]  allbery@kf8nh.apk.net
system administrator      [WAY too many hats]        allbery@ece.cmu.edu
electrical and computer engineering                                KF8NH
carnegie mellon university  ["better check the oblivious first" -ke6sls]


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?1019662269.6094.1.camel>