libc: move internet address manipulation functions to libc
commit568a3709eb2363bc6690d30955a01d0e1162ad5a
authorYuri Pankov <yuri.pankov@nexenta.com>
Thu, 23 Aug 2018 15:16:19 +0000 (23 11:16 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 23 Aug 2018 16:15:16 +0000 (23 12:15 -0400)
tree3165736e0305dbab3e5aba57f8780728238ddbae
parent15b845d41cc912e720cf692e737769fa791d503f
libc: move internet address manipulation functions to libc

While unleashed has had inet function in libc for about two years, the
illumos commit (illumos bug #9673) contains a bit more than just a code
reshuffle.  For example, it changed how the per-thread inet_ntoa buffer
is allocated.  Needless to say, we want these improvements.

Port done by Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
22 files changed:
lib/libc/Makefile
lib/libc/inet.3 [new file with mode: 0644]
share/man/man3head/inet.h.3head
share/man/man3socket/Makefile
share/man/man3socket/getipnodebyname.3socket
share/man/man3socket/inet.3socket [deleted file]
share/man/man3socket/sockaddr.3socket
share/man/man8/route.8
usr/src/lib/libc/Makefile.targ
usr/src/lib/libc/amd64/Makefile
usr/src/lib/libc/i386/Makefile.com
usr/src/lib/libc/inc/thr_uberdata.h
usr/src/lib/libc/port/inet/bindresvport.c
usr/src/lib/libc/port/inet/inet_lnaof.c
usr/src/lib/libc/port/inet/inet_makeaddr.c [moved from usr/src/lib/libc/port/inet/inet_mkaddr.c with 100% similarity]
usr/src/lib/libc/port/inet/inet_ntoa.c [moved from usr/src/lib/libc/port/nsl/inet_ntoa.c with 93% similarity]
usr/src/lib/libc/port/inet/inet_ntop.c [moved from usr/src/lib/libc/port/nsl/inet_ntop.c with 94% similarity]
usr/src/lib/libc/port/inet/inet_pton.c [moved from usr/src/lib/libc/port/nsl/inet_pton.c with 97% similarity]
usr/src/lib/libc/port/inet/ruserpass.c
usr/src/lib/libc/port/mapfile-vers
usr/src/pkg/manifests/system-library.man3.inc
usr/src/pkg/manifests/system-library.man3socket.inc