Date: Mon, 5 Nov 2007 16:37:14 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Linux emulation on FreeBSD AMD64 Message-ID: <20071105153714.GA52292@freebsd.org> In-Reply-To: <20071105095053.GP37471@deviant.kiev.zoral.com.ua> References: <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> <20071104133518.GA7275@freebsd.org> <20071104171423.GL37471@deviant.kiev.zoral.com.ua> <472E067A.5050601@chikalov.dp.ua> <20071105095053.GP37471@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
> No, this is wrong fix. It changes the ABI for freebsd binaries, and does > this not only for SysV shm, but for any readable mapping. yes.. the patch is wrong > Instead, the following things shall be made: > 1. linux_shmat() shall call kern_shmat(). > 2. kern_shmat() shall take the flag that would force the read mapping > to be also executable. > 3. this flag shall be set when kern_shmat() is called from linux_shmat(), > and not set when called from shmat(). that sounds about correct. but I think it should cover 32bit fbsd binaries running on amd64 as well.. roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071105153714.GA52292>