Module Name:    src
Committed By:   pooka
Date:           Sun Aug 11 18:34:43 UTC 2013

Modified Files:
        src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
Linux treats the data parameter as a pointer/long too.  The comments
in the sys/ptrace.h on Linux say it should be an int, but the code
glibc/musl/kernel disagrees.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 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.53 src/sys/compat/linux/arch/powerpc/syscalls.master:1.54
--- src/sys/compat/linux/arch/powerpc/syscalls.master:1.53	Sun Aug 11 12:23:02 2013
+++ src/sys/compat/linux/arch/powerpc/syscalls.master	Sun Aug 11 18:34:43 2013
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.53 2013/08/11 12:23:02 pooka Exp $  
+	$NetBSD: syscalls.master,v 1.54 2013/08/11 18:34:43 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, \
-			    long addr, int data); }
+			    long addr, long data); }
 27	STD		{ int|linux_sys||alarm(unsigned int secs); }
 28	OBSOL		ofstat
 29	STD		{ int|linux_sys||pause(void); }

Reply via email to