From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 3 14:29:01 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 1540A16A421; Sat, 3 Nov 2007 14:29:01 +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 C3CD013C4AA; Sat, 3 Nov 2007 14:29:00 +0000 (UTC) (envelope-from valera@chikalov.dp.ua) Received: from tiger.novakom.dp.ua (unknown [213.227.219.58]) by halik.com.ua (Postfix) with ESMTP id 4FAED5C032; Sat, 3 Nov 2007 16:28:10 +0200 (EET) Message-ID: <472C84F5.5030404@chikalov.dp.ua> Date: Sat, 03 Nov 2007 16:25:57 +0200 From: "Valery V.Chikalov" User-Agent: Thunderbird 2.0.0.6 (X11/20070814) 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> <20071103093453.GA63079@freebsd.org> In-Reply-To: <20071103093453.GA63079@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 03 Nov 2007 14:29:01 -0000 Roman Divacky wrote: >> >> So, the question is what is changed in AMD64 arch with respect to SYSV >> shared memory? >> Why vm_map_protect from /sys/vm/vm_mmap.c returns >> KERN_PROTECTION_FAILURE in attempts to change protection of such type of >> memory? > > please try www.vlakno.cz/~rdivacky/pav.patch, I wrote that some time ago... it might > not apply cleanly.. I am sure you'll cope with that :) > Patch has applied cleanly. > please report back Sorry, but nothing has changed. mprotect returning EACCES, vm_map_protect returning KERN_PROTECTION_FAILURE. Thank you for help. Valery.