From owner-cvs-src-old@FreeBSD.ORG Thu Feb 18 16:05:22 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AAE1065692 for ; Thu, 18 Feb 2010 16:05:22 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A62448FC15 for ; Thu, 18 Feb 2010 16:05:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o1IG5M4l026037 for ; Thu, 18 Feb 2010 16:05:22 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1IG5MGu026036 for cvs-src-old@freebsd.org; Thu, 18 Feb 2010 16:05:22 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201002181605.o1IG5MGu026036@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Thu, 18 Feb 2010 16:05:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/kdump kdump.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 16:05:22 -0000 imp 2010-02-18 16:05:09 UTC FreeBSD src repository Modified files: usr.bin/kdump kdump.c Log: SVN rev 204045 on 2010-02-18 16:05:09Z by imp The kdump data stream is an unaligned data stream for stat and sockaddr structures. As such, we have top copy the data structure into a local buffer before we can reference it, otherwise we have unaligned references (these are fixed up automatically on some CPUs, but not on others). We do this unconditionally to make the code easier to read and understand. Submitted by: Grzegorz Bernacki Revision Changes Path 1.49 +9 -3 src/usr.bin/kdump/kdump.c