[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix xc_ptrace interface to get rid of pid_t.
ChangeSet 1.1412, 2005/05/02 09:38:46+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx Fix xc_ptrace interface to get rid of pid_t. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> xc.h | 4 ++-- xc_ptrace.c | 2 +- xc_ptrace_core.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff -Nru a/tools/libxc/xc.h b/tools/libxc/xc.h --- a/tools/libxc/xc.h 2005-05-02 05:05:03 -04:00 +++ b/tools/libxc/xc.h 2005-05-02 05:05:03 -04:00 @@ -87,12 +87,12 @@ long xc_ptrace(enum __ptrace_request request, - pid_t pid, + u32 domid, long addr, long data); long xc_ptrace_core(enum __ptrace_request request, - pid_t pid, + u32 domid, long addr, long data); diff -Nru a/tools/libxc/xc_ptrace.c b/tools/libxc/xc_ptrace.c --- a/tools/libxc/xc_ptrace.c 2005-05-02 05:05:03 -04:00 +++ b/tools/libxc/xc_ptrace.c 2005-05-02 05:05:03 -04:00 @@ -259,7 +259,7 @@ } long -xc_ptrace(enum __ptrace_request request, pid_t domid, long eaddr, long edata) +xc_ptrace(enum __ptrace_request request, u32 domid, long eaddr, long edata) { dom0_op_t op; int status = 0; diff -Nru a/tools/libxc/xc_ptrace_core.c b/tools/libxc/xc_ptrace_core.c --- a/tools/libxc/xc_ptrace_core.c 2005-05-02 05:05:03 -04:00 +++ b/tools/libxc/xc_ptrace_core.c 2005-05-02 05:05:03 -04:00 @@ -213,7 +213,7 @@ } long -xc_ptrace_core(enum __ptrace_request request, int domfd, long eaddr, long edata) +xc_ptrace_core(enum __ptrace_request request, u32 domfd, long eaddr, long edata) { int status = 0; struct gdb_regs pt; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |