Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 recvmsg: ktrace the 32bit message header...
details: https://anonhg.NetBSD.org/src/rev/e714e5956770
branches: trunk
changeset: 347645:e714e5956770
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 08 18:54:03 2016 +0000
description:
recvmsg: ktrace the 32bit message header, not the native (64bit) version.
diffstat:
sys/compat/netbsd32/netbsd32_socket.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 807b9d4a28d5 -r e714e5956770 sys/compat/netbsd32/netbsd32_socket.c
--- a/sys/compat/netbsd32/netbsd32_socket.c Thu Sep 08 15:00:08 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_socket.c Thu Sep 08 18:54:03 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_socket.c,v 1.42 2015/07/22 14:25:39 maxv Exp $ */
+/* $NetBSD: netbsd32_socket.c,v 1.43 2016/09/08 18:54:03 martin Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_socket.c,v 1.42 2015/07/22 14:25:39 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_socket.c,v 1.43 2016/09/08 18:54:03 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -207,10 +207,10 @@
if (from != NULL)
m_free(from);
if (error == 0) {
- ktrkuser("msghdr", &msg, sizeof msg);
msg32.msg_namelen = msg.msg_namelen;
msg32.msg_controllen = msg.msg_controllen;
msg32.msg_flags = msg.msg_flags;
+ ktrkuser("msghdr", &msg32, sizeof msg32);
error = copyout(&msg32, SCARG_P32(uap, msg), sizeof(msg32));
}
Home |
Main Index |
Thread Index |
Old Index