From owner-svn-src-all@FreeBSD.ORG Thu Oct 17 21:47:23 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 98DB32A4; Thu, 17 Oct 2013 21:47:23 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 16B752537; Thu, 17 Oct 2013 21:47:22 +0000 (UTC) Received: from alph.d.allbsd.org (p4181-ipbf1307funabasi.chiba.ocn.ne.jp [123.225.173.181]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r9HLl3rM025406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Oct 2013 06:47:13 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.7/8.14.5) with ESMTP id r9HLl1Mw047169; Fri, 18 Oct 2013 06:47:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 18 Oct 2013 04:42:46 +0900 (JST) Message-Id: <20131018.044246.2108369934241943610.hrs@allbsd.org> To: glebius@FreeBSD.org Subject: Re: svn commit: r256512 - head/usr.bin/netstat From: Hiroki Sato In-Reply-To: <201310150955.r9F9t8pq084143@svn.freebsd.org> References: <201310150955.r9F9t8pq084143@svn.freebsd.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Oct_18_04_42_46_2013_237)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Fri, 18 Oct 2013 06:47:13 +0900 (JST) X-Spam-Status: No, score=-99.1 required=13.0 tests=CONTENT_TYPE_PRESENT, SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 21:47:23 -0000 ----Security_Multipart(Fri_Oct_18_04_42_46_2013_237)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Gleb Smirnoff wrote in <201310150955.r9F9t8pq084143@svn.freebsd.org>: gl> Author: glebius gl> Date: Tue Oct 15 09:55:07 2013 gl> New Revision: 256512 gl> URL: http://svnweb.freebsd.org/changeset/base/256512 gl> gl> Log: gl> Rewrite netstat/if.c to use getifaddrs(3) and getifmaddrs(3) instead of gl> libkvm digging in kernel memory. This is possible since r231506 made gl> getifaddrs(3) to supply if_data for each ifaddr. gl> gl> The pros of this change is that now netstat(1) doesn't know about kernel gl> struct ifnet and struct ifaddr. And these structs are about to change gl> significantly in head soon. New netstat binary will work well with 10.0 gl> and any future kernel. gl> gl> The cons is that now it isn't possible to obtain interface statistics gl> from a vmcore. I think this should be documented in netstat(8) man page. -- Hiroki ----Security_Multipart(Fri_Oct_18_04_42_46_2013_237)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlJgPbYACgkQTyzT2CeTzy0U1gCcCLgz056Zzm9mU5gWABWwG3MV 10sAmwRHUIgljJ6DOez4Pu/aWODm62ou =azU3 -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Oct_18_04_42_46_2013_237)----