Module Name: src
Committed By: pooka
Date: Sun Aug 11 12:23:02 UTC 2013
Modified Files:
src/sys/compat/linux/arch/powerpc: syscalls.master
Log Message:
Use long instead of int for ptrace addr. This makes things compile
better on powerpc64 with a compiler which warns about int-to-pointer
casts.
XXX: sys/ptrace.h on Linux says that the addr parameter is a "void *".
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/linux/arch/powerpc/syscalls.master
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/linux/arch/powerpc/syscalls.master
diff -u src/sys/compat/linux/arch/powerpc/syscalls.master:1.52 src/sys/compat/linux/arch/powerpc/syscalls.master:1.53
--- src/sys/compat/linux/arch/powerpc/syscalls.master:1.52 Mon Apr 8 20:54:49 2013
+++ src/sys/compat/linux/arch/powerpc/syscalls.master Sun Aug 11 12:23:02 2013
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.52 2013/04/08 20:54:49 pooka Exp $
+ $NetBSD: syscalls.master,v 1.53 2013/08/11 12:23:02 pooka Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -112,7 +112,7 @@
24 NOARGS { uid_t|sys||getuid(void); }
25 STD { int|linux_sys||stime(linux_time_t *t); }
26 STD { int|linux_sys||ptrace(int request, int pid, \
- int addr, int data); }
+ long addr, int data); }
27 STD { int|linux_sys||alarm(unsigned int secs); }
28 OBSOL ofstat
29 STD { int|linux_sys||pause(void); }