From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 4 13:25:53 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 8D3A716A417; Sun, 4 Nov 2007 13:25:53 +0000 (UTC) (envelope-from valera@chikalov.dp.ua) Received: from halik.com.ua (halik.com.ua [193.178.146.121]) by mx1.freebsd.org (Postfix) with ESMTP id F36E613C4A5; Sun, 4 Nov 2007 13:25:52 +0000 (UTC) (envelope-from valera@chikalov.dp.ua) Received: from [127.0.0.1] (unknown [213.227.219.58]) by halik.com.ua (Postfix) with ESMTP id A68745C032; Sun, 4 Nov 2007 15:25:39 +0200 (EET) Message-ID: <472DC7C3.3090105@chikalov.dp.ua> Date: Sun, 04 Nov 2007 15:23:15 +0200 From: "Valery V.Chikalov" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Roman Divacky References: <4721AB07.20708@novakom.com.ua> <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> In-Reply-To: <20071104122023.GA5528@freebsd.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 071103-0, 03.11.2007), Outbound message X-Antivirus-Status: Clean 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:25:53 -0000 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. Thanks. Valery.