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

[Xen-devel] [PATCH] Fix gdbserver-xen support on older kernels.



The xc_ptrace API relies on errno for passing success/failure indication
back to callers.  However, mapping operations that fall back on legacy
APIs may leave errno set to a non-zero result even thought the operation
is successful.  This patch resets errno after successful map operations
so that xc_ptrace doesn't inadvertently return a failure.

Signed-off-by: Justin Gibbs <gibbs@xxxxxxxxxxx>

Attachment: xc_ptrace.patch
Description: Text document

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

 


Rackspace

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