[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Another domctl fix to insert missing copy_to_guest.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171468487 0
# Node ID d44eb9e7f97b05d648dc8b0d614ffb32df667354
# Parent  6fd71faaaa3b00250d65879750e4350b79bf0060
Another domctl fix to insert missing copy_to_guest.
Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxx>
---
 xen/arch/x86/domctl.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 6fd71faaaa3b -r d44eb9e7f97b xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c     Wed Feb 14 14:47:05 2007 +0000
+++ b/xen/arch/x86/domctl.c     Wed Feb 14 15:54:47 2007 +0000
@@ -412,6 +412,9 @@ long arch_do_domctl(
 
         ret = 0;
         put_domain(d);
+
+        if ( copy_to_guest(u_domctl, domctl, 1) )
+            ret = -EFAULT;
     }
     break;
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.