From owner-svn-src-all@FreeBSD.ORG Tue May 22 16:56:01 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5B81065672; Tue, 22 May 2012 16:56:01 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id EE8568FC16; Tue, 22 May 2012 16:56:00 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id B797F25D39FD; Tue, 22 May 2012 16:55:59 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id E18E7BE780A; Tue, 22 May 2012 16:55:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id jXGDNTkV4cam; Tue, 22 May 2012 16:55:57 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id C9742BE7809; Tue, 22 May 2012 16:55:57 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <201205220723.q4M7Ng2I091715@svn.freebsd.org> Date: Tue, 22 May 2012 16:55:56 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <8BFFA477-46C2-49F6-804F-6D38B10AE7F7@FreeBSD.org> References: <201205220723.q4M7Ng2I091715@svn.freebsd.org> To: Hartmut Brandt X-Mailer: Apple Mail (2.1084) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r235777 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 22 May 2012 16:56:01 -0000 On 22. May 2012, at 07:23 , Hartmut Brandt wrote: > Author: harti > Date: Tue May 22 07:23:41 2012 > New Revision: 235777 > URL: http://svn.freebsd.org/changeset/base/235777 >=20 > Log: > Make dumptid non-static. It is used by libkvm to detect whether > this is a VNET-kernel or not. Just for clarifications - it's used to detect whether we are operating = on a crash dump or not in the vnet case. > gcc used to put the static symbol into > the symbol table, clang does not. This fixes the 'netstat: no = namelist' > error seen on clang+VNET systems. >=20 > Modified: > head/sys/kern/kern_shutdown.c >=20 > Modified: head/sys/kern/kern_shutdown.c > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/kern/kern_shutdown.c Tue May 22 07:04:23 2012 = (r235776) > +++ head/sys/kern/kern_shutdown.c Tue May 22 07:23:41 2012 = (r235777) > @@ -151,7 +151,7 @@ static struct dumperinfo dumper; /* our=20 >=20 > /* Context information for dump-debuggers. */ > static struct pcb dumppcb; /* Registers. */ > -static lwpid_t dumptid; /* Thread ID. */ > +lwpid_t dumptid; /* Thread ID. */ >=20 > static void poweroff_wait(void *, int); > static void shutdown_halt(void *junk, int howto); --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!