From owner-svn-src-all@FreeBSD.ORG Fri Dec 7 02:33:12 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA32534F; Fri, 7 Dec 2012 02:33:12 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 481C88FC08; Fri, 7 Dec 2012 02:33:10 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.5/8.14.5) with ESMTP id qB72Wuwu057255; Fri, 7 Dec 2012 10:32:56 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.5/8.14.5/Submit) id qB72WuGG057254; Fri, 7 Dec 2012 10:32:56 +0800 (CST) (envelope-from kevlo) Date: Fri, 7 Dec 2012 10:32:56 +0800 From: Kevin Lo To: src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r243965 - in head/sys: kern sys Message-ID: <20121207023256.GA57226@ns.kevlo.org> References: <201212070222.qB72MnNX085679@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <201212070222.qB72MnNX085679@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Fri, 07 Dec 2012 02:33:12 -0000 On Fri, Dec 07, 2012 at 02:22:48AM +0000, Kevin Lo wrote: > Author: kevlo > Date: Fri Dec 7 02:22:48 2012 > New Revision: 243965 > URL: http://svnweb.freebsd.org/changeset/base/243965 > > Log: > - according to POSIX, make socket(2) return EAFNOSUPPORT rather than > EPROTONOSUPPORT if the address family is not supported. > - introduce pffinddomain() to find a domain by family and use it as > appropriate. > > Reviewed by: glebius Forgot to mention, obtained from NetBSD.