Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/compat/netbsd32 Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/c3d5f071b8d8
branches: netbsd-8
changeset: 851104:c3d5f071b8d8
user: snj <snj%NetBSD.org@localhost>
date: Mon Nov 06 10:33:06 2017 +0000
description:
Pull up following revision(s) (requested by martin in ticket #339):
sys/compat/netbsd32/netbsd32_conv.h: revision 1.33
PR kern/52681: fix msghdr conversion.
diffstat:
sys/compat/netbsd32/netbsd32_conv.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 4631739b2e8d -r c3d5f071b8d8 sys/compat/netbsd32/netbsd32_conv.h
--- a/sys/compat/netbsd32/netbsd32_conv.h Mon Nov 06 10:29:06 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_conv.h Mon Nov 06 10:33:06 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_conv.h,v 1.31 2016/11/13 13:59:45 rin Exp $ */
+/* $NetBSD: netbsd32_conv.h,v 1.31.8.1 2017/11/06 10:33:06 snj Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -287,10 +287,10 @@
netbsd32_from_msghdr(struct netbsd32_msghdr *mhp32, const struct msghdr *mhp)
{
- mhp32->msg_name = mhp32->msg_name;
- mhp32->msg_namelen = mhp32->msg_namelen;
- mhp32->msg_iovlen = mhp32->msg_iovlen;
- mhp32->msg_control = mhp32->msg_control;
+ NETBSD32PTR32(mhp32->msg_name, mhp->msg_name);
+ mhp32->msg_namelen = mhp->msg_namelen;
+ mhp32->msg_iovlen = mhp->msg_iovlen;
+ NETBSD32PTR32(mhp32->msg_control, mhp->msg_control);
mhp32->msg_controllen = mhp->msg_controllen;
mhp32->msg_flags = mhp->msg_flags;
}
Home |
Main Index |
Thread Index |
Old Index