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/alpha Fix the msgrcv prototype.



details:   https://anonhg.NetBSD.org/src/rev/fb79eb8daa7b
branches:  trunk
changeset: 483810:fb79eb8daa7b
user:      erh <erh%NetBSD.org@localhost>
date:      Sat Mar 18 23:53:24 2000 +0000

description:
Fix the msgrcv prototype.

diffstat:

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

diffs (29 lines):

diff -r 79c80fe1f8f2 -r fb79eb8daa7b sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master       Sat Mar 18 23:45:41 2000 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master       Sat Mar 18 23:53:24 2000 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.17 2000/03/18 22:46:27 erh Exp $
+       $NetBSD: syscalls.master,v 1.18 2000/03/18 23:53:24 erh Exp $
 ;
 ; XXX XAX lib/libc/sys/reboot.2 needs updating
 ;
@@ -45,6 +45,7 @@
 ;              kill not used functions.  (ifdef the actual code)
 ;              fix getfsuid in linux_misc.c
 ;              fix clone in linux_sched.c
+;              make linux_sys_sigreturn in linux_machdep.c use frame.extramask
 ;
 ; NOT USED = This syscall is not really used in Linux, except in its
 ;              osf compat mode.  Since Linux binaries shouldn't ever
@@ -329,9 +330,8 @@
 200    NOARGS          { int linux_sys_msgctl(int msqid, int cmd, \
                            struct linux_msqid_ds *buf); }
 201    NOARGS          { int sys_msgget(key_t key, int msgflg); }
-; XXX XXX XAX msgrcv is (int, void*, size_t, long, int) in kern/syscalls.master.
-202    NOARGS          { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-                           int msgflg); }
+202    NOARGS          { ssize_t sys_msgrcv(int msqid, void *msgp, \
+                           size_t msgsz, long msgtyp, int msgflg); }
 203    NOARGS          { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \
                            int msgflg); }
 #else



Home | Main Index | Thread Index | Old Index