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

[Xen-changelog] [xen-unstable] Fix tools build with latest glibc, which has an



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID e4a496c2b2d1c813137739a2374fde16a527478c
# Parent  19b126974c1f0bd4f075562931356bd84d11a372
Fix tools build with latest glibc, which has an
extended PTRACE enumeration.
Original patch from Stephen Tweedie <sct@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/libxc/xc_ptrace.c |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff -r 19b126974c1f -r e4a496c2b2d1 tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c   Sat Sep 23 14:47:00 2006 +0100
+++ b/tools/libxc/xc_ptrace.c   Sat Sep 23 14:52:04 2006 +0100
@@ -611,17 +611,12 @@ xc_ptrace(
             online_vcpus_changed(cpumap);
         break;
 
-    case PTRACE_SETFPREGS:
-    case PTRACE_SETFPXREGS:
-    case PTRACE_PEEKUSER:
-    case PTRACE_POKEUSER:
-    case PTRACE_SYSCALL:
-    case PTRACE_KILL:
-        goto out_unsupported; /* XXX not yet supported */
-
     case PTRACE_TRACEME:
         IPRINTF("PTRACE_TRACEME is an invalid request under Xen\n");
         goto out_error;
+
+    default:
+        goto out_unsupported; /* XXX not yet supported */
     }
 
     return retval;

_______________________________________________
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®.