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] [RFO] Action when bad address passed in hypercall by gue

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFO] Action when bad address passed in hypercall by guest
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 19 Mar 2009 17:07:34 +0000
Cc:
Delivery-date: Thu, 19 Mar 2009 10:09:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <41ebb5cf-0e6e-49e0-9246-79f3491e49b4@default>
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: AcmotHbdOuHjubMtTXmzuCqE1S1fqQAALs8p
Thread-topic: [Xen-devel] [RFO] Action when bad address passed in hypercall by guest
User-agent: Microsoft-Entourage/12.15.0.081119
On 19/03/2009 17:01, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> hat is the appropriate action if the gfn is "bad" (specifically
> fails the p2m_ram_rw test from gfn_to_mfn)?
> 
> A) Ignore it (but return an error from the hypercall)
> B) __domain_crash() as the guest is surely broken or malicious

Probably return an error to the caller.

 -- Keir



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

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