Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/powerpc Linux treats the data paramete...



details:   https://anonhg.NetBSD.org/src/rev/233b31efdfea
branches:  trunk
changeset: 789255:233b31efdfea
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Aug 11 18:34:43 2013 +0000

description:
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.

diffstat:

 sys/compat/linux/arch/powerpc/syscalls.master |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 91e81fd91fd8 -r 233b31efdfea sys/compat/linux/arch/powerpc/syscalls.master
--- a/sys/compat/linux/arch/powerpc/syscalls.master     Sun Aug 11 17:18:56 2013 +0000
+++ b/sys/compat/linux/arch/powerpc/syscalls.master     Sun Aug 11 18:34:43 2013 +0000
@@ -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); }



Home | Main Index | Thread Index | Old Index