Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat finish ktrace argument removal for do_sys_{send, r...
details: https://anonhg.NetBSD.org/src/rev/2bc7649cbea1
branches: trunk
changeset: 361624:2bc7649cbea1
user: christos <christos%NetBSD.org@localhost>
date: Sat May 05 02:09:40 2018 +0000
description:
finish ktrace argument removal for do_sys_{send,recv}msg
diffstat:
sys/compat/osf1/osf1_socket.c | 7 +++----
sys/compat/svr4/svr4_stream.c | 8 ++++----
2 files changed, 7 insertions(+), 8 deletions(-)
diffs (64 lines):
diff -r bcdc08bf9127 -r 2bc7649cbea1 sys/compat/osf1/osf1_socket.c
--- a/sys/compat/osf1/osf1_socket.c Sat May 05 02:01:34 2018 +0000
+++ b/sys/compat/osf1/osf1_socket.c Sat May 05 02:09:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_socket.c,v 1.22 2016/09/13 07:01:08 martin Exp $ */
+/* $NetBSD: osf1_socket.c,v 1.23 2018/05/05 02:09:40 christos Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_socket.c,v 1.22 2016/09/13 07:01:08 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_socket.c,v 1.23 2018/05/05 02:09:40 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -130,8 +130,7 @@
bsd_iovec[i].iov_len = osf_iovec.iov_len;
}
- error = do_sys_sendmsg(l, SCARG(uap, s), &bsd_msghdr, flags, NULL, 0,
- retval);
+ error = do_sys_sendmsg(l, SCARG(uap, s), &bsd_msghdr, flags, retval);
err:
kmem_free(bsd_iovec, iov_len * sizeof(struct iovec));
return error;
diff -r bcdc08bf9127 -r 2bc7649cbea1 sys/compat/svr4/svr4_stream.c
--- a/sys/compat/svr4/svr4_stream.c Sat May 05 02:01:34 2018 +0000
+++ b/sys/compat/svr4/svr4_stream.c Sat May 05 02:09:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_stream.c,v 1.92 2017/09/16 09:05:29 martin Exp $ */
+/* $NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.92 2017/09/16 09:05:29 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -1540,7 +1540,7 @@
aiov.iov_base = NETBSD32PTR(dat.buf);
aiov.iov_len = dat.len;
error = do_sys_sendmsg(l, SCARG(uap, fd), &msg,
- SCARG(uap, flags), NULL, 0, retval);
+ SCARG(uap, flags), retval);
*retval = 0;
return error;
@@ -1781,7 +1781,7 @@
aiov.iov_len = dat.maxlen;
msg.msg_flags = 0;
- error = do_sys_recvmsg(l, SCARG(uap, fd), &msg, NULL, 0,
+ error = do_sys_recvmsg(l, SCARG(uap, fd), &msg,
&name, NULL, retval);
if (error) {
Home |
Main Index |
Thread Index |
Old Index