Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 19:18:04 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        stable@FreeBSD.org, ports@FreeBSD.org, gnome@FreeBSD.org
Subject:   HEADS UP: BIND9's resolver and reentrant version of netdb functions are MFC'ed
Message-ID:  <ygewtack00z.wl%ume@mahoroba.org>
References:  <200607171009.k6HA9xHu070992@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Mon_Jul_17_19:18:03_2006-1
Content-Type: text/plain; charset=US-ASCII

Hi,

I've just MFC'ed the BIND9's resolver stuff and reentrant version of
netdb functions.
It is known that some ports are confused by existence of reentrant
functions.  So, I've bumped __FreeBSD_version to 601103.


--Multipart_Mon_Jul_17_19:18:03_2006-1
Content-Type: message/rfc822

X-Sieve: CMU Sieve 2.3
Delivered-To: ume@freebsd.org
X-Original-To: src-committers@FreeBSD.org
Delivered-To: src-committers@FreeBSD.org
Message-Id: <200607171009.k6HA9xHu070992@repoman.freebsd.org>
From: Hajimu UMEMOTO <ume@FreeBSD.org>
Date: Mon, 17 Jul 2006 10:09:59 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/sys param.h src/include Makefile netdb.h
	res_update.h resolv.h src/include/arpa inet.h nameser.h
	nameser_compat.h src/lib/libc Makefile src/lib/libc/include
	port_after.h port_before.h resolv_mt.h src/lib/libc/include/isc ...
X-FreeBSD-CVS-Branch: RELENG_6
Sender: owner-src-committers@FreeBSD.org
Precedence: bulk
X-Loop: FreeBSD.ORG
X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.1.5
	(ameno.mahoroba.org [218.45.22.175]);
	Mon, 17 Jul 2006 19:10:11 +0900 (JST)
X-Virus-Scanned: by amavisd-new
X-Virus-Status: Clean
X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	SPF_PASS autolearn=ham version=3.1.3
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on ameno.mahoroba.org

ume         2006-07-17 10:09:59 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sys              param.h 
    include              Makefile netdb.h resolv.h 
    include/arpa         inet.h nameser.h nameser_compat.h 
    lib/libc             Makefile 
    lib/libc/net         Makefile.inc getaddrinfo.c gethostbydns.c 
                         gethostbyht.c gethostbyname.3 
                         gethostbynis.c gethostnamadr.c 
                         getnameinfo.c getnetbydns.c getnetbyht.c 
                         getnetbynis.c getnetnamadr.c getproto.c 
                         getprotoent.c getprotoname.c 
                         getservbyname.c getservbyport.c 
                         getservent.c name6.c netdb_private.h 
                         res_config.h res_mkupdate.c res_update.c 
  Added files:           (Branch: RELENG_6)
    include              res_update.h 
    lib/libc/include     port_after.h port_before.h resolv_mt.h 
    lib/libc/include/isc eventlib.h 
    lib/libc/inet        Makefile.inc inet_addr.c inet_cidr_ntop.c 
                         inet_cidr_pton.c inet_lnaof.c 
                         inet_makeaddr.c inet_net_ntop.c 
                         inet_net_pton.c inet_neta.c inet_netof.c 
                         inet_network.c inet_ntoa.c inet_ntop.c 
                         inet_pton.c nsap_addr.c 
    lib/libc/isc         Makefile.inc ev_streams.c ev_timers.c 
                         eventlib_p.h 
    lib/libc/nameser     Makefile.inc ns_name.c ns_netint.c 
                         ns_parse.c ns_print.c ns_samedomain.c 
                         ns_ttl.c 
    lib/libc/resolv      Makefile.inc h_errno.c herror.c 
                         mtctxres.c res_comp.c res_data.c 
                         res_debug.c res_debug.h res_init.c 
                         res_mkquery.c res_private.h res_query.c 
                         res_send.c res_state.c 
  Removed files:         (Branch: RELENG_6)
    lib/libc/net         herror.c inet_addr.c inet_lnaof.c 
                         inet_makeaddr.c inet_net_ntop.c 
                         inet_net_pton.c inet_neta.c inet_netof.c 
                         inet_network.c inet_ntoa.c inet_ntop.c 
                         inet_pton.c ns_name.c ns_netint.c 
                         ns_parse.c ns_print.c ns_ttl.c 
                         nsap_addr.c res_comp.c res_data.c 
                         res_debug.c res_init.c res_mkquery.c 
                         res_query.c res_send.c res_send_private.h 
  Log:
  MFC:
    - Update the resolver in libc to BIND9's one.
    - make reentrant version of netdb functions glibc style API, and
      expose them to outside of libc.
    - make netdb functions NSS friendly.
  
          include/Makefile                        1.261
          include/arpa/inet.h                     1.26
          include/arpa/nameser.h                  1.18
          include/arpa/nameser_compat.h           1.5
          include/netdb.h                         1.40-1.42
          include/res_update.h                    1.1
          include/resolv.h                        1.29-1.30
          lib/libc/Makefile                       1.64
          lib/libc/include/isc/eventlib.h         1.1.1.1
          lib/libc/include/port_after.h           1.1-1.2
          lib/libc/include/port_before.h          1.1
          lib/libc/include/resolv_mt.h            1.1.1.1
          lib/libc/inet/Makefile.inc              1.1
          lib/libc/inet/inet_addr.c               1.1.1.1, 1.2
          lib/libc/inet/inet_cidr_ntop.c          1.1.1.1
          lib/libc/inet/inet_cidr_pton.c          1.1.1.1, 1.2
          lib/libc/inet/inet_lnaof.c              1.1.1.1, 1.2
          lib/libc/inet/inet_makeaddr.c           1.1.1.1, 1.2
          lib/libc/inet/inet_net_ntop.c           1.1.1.1, 1.2
          lib/libc/inet/inet_net_pton.c           1.1.1.1, 1.2
          lib/libc/inet/inet_neta.c               1.1.1.1, 1.2
          lib/libc/inet/inet_netof.c              1.1.1.1, 1.2
          lib/libc/inet/inet_network.c            1.1.1.1, 1.2
          lib/libc/inet/inet_ntoa.c               1.1.1.1, 1.2
          lib/libc/inet/inet_ntop.c               1.1.1.1, 1.2
          lib/libc/inet/inet_pton.c               1.1.1.1, 1.2
          lib/libc/inet/nsap_addr.c               1.1.1.1, 1.2
          lib/libc/isc/Makefile.inc               1.1
          lib/libc/isc/ev_streams.c               1.1.1.1, 1.2
          lib/libc/isc/ev_timers.c                1.1.1.1, 1.2
          lib/libc/isc/eventlib_p.h               1.1.1.1, 1.2
          lib/libc/nameser/Makefile.inc           1.1
          lib/libc/nameser/ns_name.c              1.1.1.1
          lib/libc/nameser/ns_netint.c            1.1.1.1
          lib/libc/nameser/ns_parse.c             1.1.1.1
          lib/libc/nameser/ns_print.c             1.1.1.1, 1.2
          lib/libc/nameser/ns_samedomain.c        1.1.1.1, 1.2
          lib/libc/nameser/ns_ttl.c               1.1.1.1
          lib/libc/net/Makefile.inc               1.58
          lib/libc/net/getaddrinfo.c              1.74, 1.77-1.78
          lib/libc/net/gethostbydns.c             1.55-1.57
          lib/libc/net/gethostbyht.c              1.24-1.26
          lib/libc/net/gethostbyname.3            1.35
          lib/libc/net/gethostbynis.c             1.26-1.28
          lib/libc/net/gethostnamadr.c            1.29-1.30, 1.32
          lib/libc/net/getnameinfo.c              1.18
          lib/libc/net/getnetbydns.c              1.32-1.33
          lib/libc/net/getnetbyht.c               1.17-1.18
          lib/libc/net/getnetbynis.c              1.20-1.21
          lib/libc/net/getnetnamadr.c             1.22
          lib/libc/net/getproto.c                 1.5
          lib/libc/net/getprotoent.c              1.7
          lib/libc/net/getprotoname.c             1.5
          lib/libc/net/getservbyname.c            1.8
          lib/libc/net/getservbyport.c            1.8
          lib/libc/net/getservent.c               1.21
          lib/libc/net/name6.c                    1.56-1.57
          lib/libc/net/netdb_private.h            1.10-1.11, 1.13
          lib/libc/net/res_config.h               1.9
          lib/libc/net/res_mkupdate.c             1.7-1.8
          lib/libc/net/res_update.c               1.8-1.9
          lib/libc/resolv/Makefile.inc            1.1
          lib/libc/resolv/h_errno.c               1.1
          lib/libc/resolv/herror.c                1.1.1.1, 1.2
          lib/libc/resolv/mtctxres.c              1.1.1.1, 1.2
          lib/libc/resolv/res_comp.c              1.1.1.1, 1.2
          lib/libc/resolv/res_data.c              1.1.1.1, 1.2-1.3
          lib/libc/resolv/res_debug.c             1.1.1.1, 1.2
          lib/libc/resolv/res_debug.h             1.1.1.1
          lib/libc/resolv/res_init.c              1.1.1.1, 1.2
          lib/libc/resolv/res_mkquery.c           1.1.1.1, 1.2
          lib/libc/resolv/res_private.h           1.1.1.1
          lib/libc/resolv/res_query.c             1.1.1.1, 1.2-1.3
          lib/libc/resolv/res_send.c              1.1.1.1, 1.2
          lib/libc/resolv/res_state.c             1.1-1.2
  
  Tested by:      nork
  
  Revision     Changes    Path
  1.244.2.4    +1 -1      src/include/Makefile
  1.25.14.1    +33 -23    src/include/arpa/inet.h
  1.16.14.1    +205 -73   src/include/arpa/nameser.h
  1.4.14.1     +8 -1      src/include/arpa/nameser_compat.h
  1.38.2.2     +29 -3     src/include/netdb.h
  1.2.2.1      +79 -0     src/include/res_update.h (new)
  1.26.2.2     +315 -148  src/include/resolv.h
  1.56.2.1     +4 -0      src/lib/libc/Makefile
  1.1.1.1.2.1  +203 -0    src/lib/libc/include/isc/eventlib.h (new)
  1.2.2.1      +11 -0     src/lib/libc/include/port_after.h (new)
  1.1.2.1      +22 -0     src/lib/libc/include/port_before.h (new)
  1.1.1.1.2.1  +49 -0     src/lib/libc/include/resolv_mt.h (new)
  1.2.2.1      +9 -0      src/lib/libc/inet/Makefile.inc (new)
  1.2.2.1      +217 -0    src/lib/libc/inet/inet_addr.c (new)
  1.1.1.1.2.1  +263 -0    src/lib/libc/inet/inet_cidr_ntop.c (new)
  1.2.2.1      +277 -0    src/lib/libc/inet/inet_cidr_pton.c (new)
  1.2.2.1      +72 -0     src/lib/libc/inet/inet_lnaof.c (new)
  1.2.2.1      +75 -0     src/lib/libc/inet/inet_makeaddr.c (new)
  1.2.2.1      +286 -0    src/lib/libc/inet/inet_net_ntop.c (new)
  1.2.2.1      +414 -0    src/lib/libc/inet/inet_net_pton.c (new)
  1.2.2.1      +96 -0     src/lib/libc/inet/inet_neta.c (new)
  1.2.2.1      +71 -0     src/lib/libc/inet/inet_netof.c (new)
  1.2.2.1      +113 -0    src/lib/libc/inet/inet_network.c (new)
  1.2.2.1      +71 -0     src/lib/libc/inet/inet_ntoa.c (new)
  1.2.2.1      +201 -0    src/lib/libc/inet/inet_ntop.c (new)
  1.2.2.1      +223 -0    src/lib/libc/inet/inet_pton.c (new)
  1.2.2.1      +120 -0    src/lib/libc/inet/nsap_addr.c (new)
  1.1.2.1      +6 -0      src/lib/libc/isc/Makefile.inc (new)
  1.2.2.1      +316 -0    src/lib/libc/isc/ev_streams.c (new)
  1.2.2.1      +513 -0    src/lib/libc/isc/ev_timers.c (new)
  1.2.2.1      +285 -0    src/lib/libc/isc/eventlib_p.h (new)
  1.2.2.1      +6 -0      src/lib/libc/nameser/Makefile.inc (new)
  1.1.1.1.2.1  +965 -0    src/lib/libc/nameser/ns_name.c (new)
  1.1.1.1.2.1  +58 -0     src/lib/libc/nameser/ns_netint.c (new)
  1.1.1.1.2.1  +211 -0    src/lib/libc/nameser/ns_parse.c (new)
  1.2.2.1      +909 -0    src/lib/libc/nameser/ns_print.c (new)
  1.3.2.1      +210 -0    src/lib/libc/nameser/ns_samedomain.c (new)
  1.1.1.1.2.1  +162 -0    src/lib/libc/nameser/ns_ttl.c (new)
  1.54.2.1     +10 -9     src/lib/libc/net/Makefile.inc
  1.69.2.6     +134 -176  src/lib/libc/net/getaddrinfo.c
  1.54.2.1     +187 -120  src/lib/libc/net/gethostbydns.c
  1.23.2.1     +123 -49   src/lib/libc/net/gethostbyht.c
  1.34.2.1     +2 -2      src/lib/libc/net/gethostbyname.3
  1.25.2.1     +118 -58   src/lib/libc/net/gethostbynis.c
  1.28.2.1     +227 -184  src/lib/libc/net/gethostnamadr.c
  1.17.2.1     +7 -20     src/lib/libc/net/getnameinfo.c
  1.31.2.1     +124 -56   src/lib/libc/net/getnetbydns.c
  1.16.2.1     +100 -28   src/lib/libc/net/getnetbyht.c
  1.19.2.1     +67 -22    src/lib/libc/net/getnetbynis.c
  1.21.2.1     +90 -70    src/lib/libc/net/getnetnamadr.c
  1.4.2.1      +20 -8     src/lib/libc/net/getproto.c
  1.5.2.1      +82 -40    src/lib/libc/net/getprotoent.c
  1.4.2.1      +22 -10    src/lib/libc/net/getprotoname.c
  1.7.2.1      +23 -11    src/lib/libc/net/getservbyname.c
  1.7.2.1      +22 -10    src/lib/libc/net/getservbyport.c
  1.19.2.1     +92 -43    src/lib/libc/net/getservent.c
  1.12.8.1     +0 -113    src/lib/libc/net/herror.c (dead)
  1.16.14.1    +0 -200    src/lib/libc/net/inet_addr.c (dead)
  1.5.14.1     +0 -68     src/lib/libc/net/inet_lnaof.c (dead)
  1.4.14.1     +0 -71     src/lib/libc/net/inet_makeaddr.c (dead)
  1.7.14.2     +0 -281    src/lib/libc/net/inet_net_ntop.c (dead)
  1.9.10.2     +0 -410    src/lib/libc/net/inet_net_pton.c (dead)
  1.9.12.1     +0 -92     src/lib/libc/net/inet_neta.c (dead)
  1.5.14.1     +0 -67     src/lib/libc/net/inet_netof.c (dead)
  1.9.14.1     +0 -100    src/lib/libc/net/inet_network.c (dead)
  1.6.14.1     +0 -67     src/lib/libc/net/inet_ntoa.c (dead)
  1.12.14.1    +0 -188    src/lib/libc/net/inet_ntop.c (dead)
  1.11.14.2    +0 -219    src/lib/libc/net/inet_pton.c (dead)
  1.54.2.2     +70 -67    src/lib/libc/net/name6.c
  1.9.4.1      +56 -53    src/lib/libc/net/netdb_private.h
  1.5.12.1     +0 -592    src/lib/libc/net/ns_name.c (dead)
  1.3.14.1     +0 -53     src/lib/libc/net/ns_netint.c (dead)
  1.4.14.1     +0 -189    src/lib/libc/net/ns_parse.c (dead)
  1.3.14.1     +0 -742    src/lib/libc/net/ns_print.c (dead)
  1.4.12.1     +0 -150    src/lib/libc/net/ns_ttl.c (dead)
  1.9.14.1     +0 -113    src/lib/libc/net/nsap_addr.c (dead)
  1.18.2.1     +0 -268    src/lib/libc/net/res_comp.c (dead)
  1.8.14.1     +0 -4      src/lib/libc/net/res_config.h
  1.8.14.1     +0 -82     src/lib/libc/net/res_data.c (dead)
  1.21.12.1    +0 -992    src/lib/libc/net/res_debug.c (dead)
  1.33.2.1     +0 -715    src/lib/libc/net/res_init.c (dead)
  1.19.14.1    +0 -246    src/lib/libc/net/res_mkquery.c (dead)
  1.6.2.1      +5 -9      src/lib/libc/net/res_mkupdate.c
  1.30.2.4     +0 -491    src/lib/libc/net/res_query.c (dead)
  1.50.2.1     +0 -941    src/lib/libc/net/res_send.c (dead)
  1.1.8.1      +0 -82     src/lib/libc/net/res_send_private.h (dead)
  1.7.14.1     +22 -20    src/lib/libc/net/res_update.c
  1.3.2.1      +7 -0      src/lib/libc/resolv/Makefile.inc (new)
  1.2.2.1      +49 -0     src/lib/libc/resolv/h_errno.c (new)
  1.2.2.1      +128 -0    src/lib/libc/resolv/herror.c (new)
  1.2.2.1      +140 -0    src/lib/libc/resolv/mtctxres.c (new)
  1.2.2.1      +274 -0    src/lib/libc/resolv/res_comp.c (new)
  1.3.2.1      +324 -0    src/lib/libc/resolv/res_data.c (new)
  1.2.2.1      +1184 -0   src/lib/libc/resolv/res_debug.c (new)
  1.1.1.1.2.1  +36 -0     src/lib/libc/resolv/res_debug.h (new)
  1.2.2.1      +870 -0    src/lib/libc/resolv/res_init.c (new)
  1.2.2.1      +260 -0    src/lib/libc/resolv/res_mkquery.c (new)
  1.1.1.1.2.1  +22 -0     src/lib/libc/resolv/res_private.h (new)
  1.3.2.1      +485 -0    src/lib/libc/resolv/res_query.c (new)
  1.2.2.1      +1162 -0   src/lib/libc/resolv/res_send.c (new)
  1.3.2.1      +96 -0     src/lib/libc/resolv/res_state.c (new)
  1.244.2.14   +1 -1      src/sys/sys/param.h

--Multipart_Mon_Jul_17_19:18:03_2006-1
Content-Type: text/plain; charset=US-ASCII


--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

--Multipart_Mon_Jul_17_19:18:03_2006-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygewtack00z.wl%ume>