From owner-freebsd-hackers Wed Apr 24 16:50:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 442C337B41B for ; Wed, 24 Apr 2002 16:50:42 -0700 (PDT) Received: (qmail 39804 invoked from network); 24 Apr 2002 23:47:47 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 24 Apr 2002 23:47:47 -0000 Date: Wed, 24 Apr 2002 19:47:47 -0400 (EDT) From: Kenneth Culver To: John Baldwin Cc: FreeBSD-CURRENT List , FreeBSD-CURRENT List , , Brandon S Allbery KF8NH , Andrew Gallatin Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020424193252.S39698-100000@alpha.yumyumyum.org> Message-ID: <20020424194250.Y39769-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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... > Argh, it's not working again... It was working on an install of ms office, but it won't work on some old windows game.. (winex) and it's still not setting the last arg (or register properly): truss output: linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) = 1698889728 (0x65430000) notice that the last arg is 0x6, that's the page offset... what the kernel prints for the same call: mmap2(0x65430000, 1048576, 3, 0x00000011, 9, 0) notice that they both have all the same values until you get to the last one... at which point the value is wrong... Apparently this only causes problems on some windows programs that one may try to execute, and not on others... So, where can I force this to get set? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message