svn commit: r222465 - in head/usr.sbin: jail jls

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon May 30 07:21:35 UTC 2011


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
> 
> 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)

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20110530/9b4c82af/attachment.pgp


More information about the svn-src-all mailing list