Date: Sun, 4 Nov 2007 14:35:18 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: "Valery V.Chikalov" <valera@chikalov.dp.ua> Cc: freebsd-emulation@freebsd.org Subject: Re: Linux emulation on FreeBSD AMD64 Message-ID: <20071104133518.GA7275@freebsd.org> In-Reply-To: <472DC7C3.3090105@chikalov.dp.ua> References: <fg05l9$n32$2@ger.gmane.org> <4723A8D6.6020002@chikalov.dp.ua> <20071031180639.GA93259@cons.org> <47298F10.4050301@chikalov.dp.ua> <20071101152550.GA10868@cons.org> <472B0454.9040408@chikalov.dp.ua> <472B9CD1.1010607@chikalov.dp.ua> <472DAF60.9040008@chikalov.dp.ua> <20071104122023.GA5528@freebsd.org> <472DC7C3.3090105@chikalov.dp.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 04, 2007 at 03:23:15PM +0200, Valery V.Chikalov wrote: > Roman Divacky ??????????: > > > > I am a little confused.. you are saying that > > > > 1) oracle calls m* on 0x50000000 with PROT_EXEC but fbsd does not set it on the map > > > > or > > > > 2) oracle does not set this protection at all and the OS is supposed to have set on default? > > > > roman > > > rather 3) I cant find function which oracle calls to manage memory at > 0x50000000, this is why I ask for help. > I can only state that linux_mprotect dont called with addr at 0x50000000. > > Nov 4 12:40:14 tiger kernel: mprotect: addr:55c00000, len:4096, prot:1, > bsdprot:5, ret:0 > Nov 4 12:40:14 tiger kernel: mprotect: addr:55c81000, len:4096, prot:1, > bsdprot:5, ret:0 > > This are only addresses which are arguments for linux_mprotect. > I have suspected linux_mmap_common but it not called either. the protection can be set from mmap(), can you see if there is a mmap call with 0x50....0 ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071104133518.GA7275>