From: Keir Fraser Subject: Re: is_loadable_phdr Date: Thu, 28 Jan 2010 21:14:14 +0000 Message-ID: References: <20100129065509.0dba48bc@daedalus> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100129065509.0dba48bc@daedalus> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Brad Plant , "xen-devel@lists.xensource.com" Cc: "pageexec@freemail.hu" List-Id: xen-devel@lists.xenproject.org On 28/01/2010 19:55, "Brad Plant" wrote: > I'm trying to get an understanding of why a segment has to be writeable or > executable for xen to load it. Does anyone know why this is so? > > Also, is it likely that this behaviour could be changed? My understanding is > that it's perfectly valid to have an ELF kernel with read-only segments in it. > Attempting to use an image with a read-only segment leads to the kernel > failing to boot with weird and hard to debug crashes. Yes, we can change that. Send a patch for it. -- Keir