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] Missing checks for xc_map_foreign_range() failure

To: Markus Armbruster <armbru@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Missing checks for xc_map_foreign_range() failure
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 31 Aug 2007 15:11:33 +0100
Delivery-date: Fri, 31 Aug 2007 07:12:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87k5rbre69.fsf@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acfr2NV0FAJbglfMEdySawAX8io7RQ==
Thread-topic: [Xen-devel] Missing checks for xc_map_foreign_range() failure
User-agent: Microsoft-Entourage/11.3.6.070618
On 31/8/07 15:06, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:

> Other, more naive uses would profit from a less awkward convenience
> function that either succeeds completely or fails completely.  As far
> as I can see, these uses all neglect to check for the second failure
> mode so far.  Potential crash bugs.

Yes, that makes sense. Are you proposing to make a patch?

 -- Keir



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

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