From owner-svn-src-head@FreeBSD.ORG Mon May 30 07:21:35 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C31106566B; Mon, 30 May 2011 07:21:35 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 30F218FC0A; Mon, 30 May 2011 07:21:34 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4C02E45EB2; Mon, 30 May 2011 09:21:33 +0200 (CEST) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9EB7545684; Mon, 30 May 2011 09:21:27 +0200 (CEST) Date: Mon, 30 May 2011 09:20:56 +0200 From: Pawel Jakub Dawidek To: "Bjoern A. Zeeb" Message-ID: <20110530072056.GK2114@garage.freebsd.pl> References: <201105292103.p4TL3egv046536@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fjX3cMESU3XgGmZ" Content-Disposition: inline In-Reply-To: <201105292103.p4TL3egv046536@svn.freebsd.org> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r222465 - in head/usr.sbin: jail jls X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 07:21:35 -0000 --2fjX3cMESU3XgGmZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 29, 2011 at 09:03:40PM +0000, Bjoern A. Zeeb wrote: > Author: bz > Date: Sun May 29 21:03:40 2011 > New Revision: 222465 > URL: http://svn.freebsd.org/changeset/base/222465 >=20 > Log: > Check for IPv4 or IPv6 to be available by the kernel to not > provoke errors trying to query options not available. > Make it possible to compile out INET or INET6 only parts. That's interesting. When adding IPv6 support to HAST I was thinking about making IPv4/IPv6 support compile options. But after discussing this with various folks I decided to always compile IPv4 and IPv6 support in for userland tools and detect what is supported by the kernel at runtime. This way it is easy to just recompile the kernel to add/remove IPv4/IPv6 support and userland tools may stay unmodified. Do we have some general recommendation within FreeBSD how to handle this in userland? (ie. at compile-time or at run-time) --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --2fjX3cMESU3XgGmZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk3jRVcACgkQForvXbEpPzS4jwCg7gkLPvTXNAyLqk/RtRUIUDyh CkAAn26pAw7SxO3nxPDNFTN4YrjU8kcd =+jfq -----END PGP SIGNATURE----- --2fjX3cMESU3XgGmZ--