WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] is_loadable_phdr

To: Brad Plant <bplant@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] is_loadable_phdr
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 28 Jan 2010 21:14:14 +0000
Cc: "pageexec@xxxxxxxxxxx" <pageexec@xxxxxxxxxxx>
Delivery-date: Thu, 28 Jan 2010 13:16:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100129065509.0dba48bc@daedalus>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqgU+GtspofdQizSVCNEhP8FkiargACvYI6
Thread-topic: [Xen-devel] is_loadable_phdr
User-agent: Microsoft-Entourage/12.23.0.091001
On 28/01/2010 19:55, "Brad Plant" <bplant@xxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>