From owner-cvs-src@FreeBSD.ORG Thu May 19 10:46:14 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E307416A4CE; Thu, 19 May 2005 10:46:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC78943D5F; Thu, 19 May 2005 10:46:14 +0000 (GMT) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4JAkEE1024485; Thu, 19 May 2005 10:46:14 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4JAkEYi024484; Thu, 19 May 2005 10:46:14 GMT (envelope-from ume) Message-Id: <200505191046.j4JAkEYi024484@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Thu, 19 May 2005 10:46:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 10:46:15 -0000 ume 2005-05-19 10:46:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h Log: MFC: - add IPv6 awareness for NIS query of gethostby*(). - make gethostby*() thread-safe. - do validation check and IPv4-mapped IPv6 address handling before any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). lib/libc/net/gethostbydns.c: 1.51, 1.53, 1.54 lib/libc/net/gethostbyht.c: 1.19-1.23 lib/libc/net/gethostbyname.3: 1.33, 1.34 lib/libc/net/gethostbynis.c: 1.18-1.25 lib/libc/net/gethostnamadr.c: 1.25, 1.27, 1.28 lib/libc/net/netdb_private.h: 1.7 Revision Changes Path 1.46.2.5 +101 -129 src/lib/libc/net/gethostbydns.c 1.16.8.3 +110 -65 src/lib/libc/net/gethostbyht.c 1.32.2.1 +6 -16 src/lib/libc/net/gethostbyname.3 1.17.2.1 +149 -51 src/lib/libc/net/gethostbynis.c 1.22.4.3 +202 -70 src/lib/libc/net/gethostnamadr.c 1.9.2.5 +41 -2 src/lib/libc/net/netdb_private.h