From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 4 13:35:31 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D6F416A420 for ; Sun, 4 Nov 2007 13:35:31 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 24A2513C48E for ; Sun, 4 Nov 2007 13:35:30 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C1A2D669ADF; Sun, 4 Nov 2007 14:35:19 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sukH2X2r5zu0; Sun, 4 Nov 2007 14:35:18 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 804466698EE; Sun, 4 Nov 2007 14:35:18 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lA4DZIQu007316; Sun, 4 Nov 2007 14:35:18 +0100 (CET) (envelope-from rdivacky) Date: Sun, 4 Nov 2007 14:35:18 +0100 From: Roman Divacky To: "Valery V.Chikalov" Message-ID: <20071104133518.GA7275@freebsd.org> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <472DC7C3.3090105@chikalov.dp.ua> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linux emulation on FreeBSD AMD64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 13:35:31 -0000 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 ?