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

[Xen-devel] [PATCH] use copy_from_user when accessing linear page table

To: "Xen Devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] use copy_from_user when accessing linear page table in shadow_fault()
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Wed, 12 Apr 2006 05:17:47 +0800
Delivery-date: Tue, 11 Apr 2006 14:18:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcZdrWF9LtM8g8ToTTyJvxSxZA/flg==
Thread-topic: [PATCH] use copy_from_user when accessing linear page table in shadow_fault()
use copy_from_user when accessing linear page table in shadow_fault().
This is safer, and direct access may crash hypervisor by some potential
bug.
Also remove some tailing space.

Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>

Attachment: cleanup.patch
Description: cleanup.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] use copy_from_user when accessing linear page table in shadow_fault(), Li, Xin B <=