Print this page
9704 move socket functions to libc

*** 47,57 **** ether_ntoa_r; } ILLUMOS_0.1; SYMBOL_VERSION ILLUMOS_0.1 { # illumos additions global: ! accept4; } SUNW_1.7; SYMBOL_VERSION SUNW_1.7 { global: freeifaddrs; --- 47,57 ---- ether_ntoa_r; } ILLUMOS_0.1; SYMBOL_VERSION ILLUMOS_0.1 { # illumos additions global: ! accept4 { TYPE = FUNCTION; FILTER = libc.so.1 }; } SUNW_1.7; SYMBOL_VERSION SUNW_1.7 { global: freeifaddrs;
*** 79,89 **** inet6_rth_getaddr; inet6_rth_init; inet6_rth_reverse; inet6_rth_segments; inet6_rth_space; ! sockatmark; __xnet_getaddrinfo; } SUNW_1.4; SYMBOL_VERSION SUNW_1.4 { global: --- 79,89 ---- inet6_rth_getaddr; inet6_rth_init; inet6_rth_reverse; inet6_rth_segments; inet6_rth_space; ! sockatmark { TYPE = FUNCTION; FILTER = libc.so.1 }; __xnet_getaddrinfo; } SUNW_1.4; SYMBOL_VERSION SUNW_1.4 { global:
*** 116,134 **** SUNW_1.2; } SUNW_1.1; SYMBOL_VERSION SUNW_1.1 { global: ! __xnet_bind; ! __xnet_connect; ! __xnet_getsockopt; ! __xnet_listen; ! __xnet_recvmsg; ! __xnet_sendmsg; ! __xnet_sendto; ! __xnet_socket; ! __xnet_socketpair; } SUNW_0.7; SYMBOL_VERSION SUNW_0.7 { global: endnetent; --- 116,134 ---- SUNW_1.2; } SUNW_1.1; SYMBOL_VERSION SUNW_1.1 { global: ! __xnet_bind { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_connect { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_getsockopt { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_listen { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_recvmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_sendmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_sendto { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_socket { TYPE = FUNCTION; FILTER = libc.so.1 }; ! __xnet_socketpair { TYPE = FUNCTION; FILTER = libc.so.1 }; } SUNW_0.7; SYMBOL_VERSION SUNW_0.7 { global: endnetent;
*** 161,171 **** rresvport; ruserok; setnetent; setprotoent; setservent; ! socketpair; # For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit # sparc, which is inherited by SUNW_0.7. On all other platforms, # they are simply in SUNW_0.7 $if _sparc && _ELF32 --- 161,171 ---- rresvport; ruserok; setnetent; setprotoent; setservent; ! socketpair { TYPE = FUNCTION; FILTER = libc.so.1 }; # For ABI reasons, the following symbols are in SISCD_2.3 on 32-bit # sparc, which is inherited by SUNW_0.7. On all other platforms, # they are simply in SUNW_0.7 $if _sparc && _ELF32
*** 172,213 **** } SISCD_2.3; SYMBOL_VERSION SISCD_2.3 { global: $endif ! accept; ! bind; ! connect; ! getpeername; getprotobyname; getprotobynumber; getprotoent; getservbyname; getservbyport; ! getsockname; ! getsockopt; inet_lnaof { TYPE = FUNCTION; FILTER = libc.so.1 }; inet_makeaddr { TYPE = FUNCTION; FILTER = libc.so.1 }; inet_network { TYPE = FUNCTION; FILTER = libc.so.1 }; ! listen; ! recv; ! recvfrom; ! recvmsg; ! send; ! sendmsg; ! sendto; ! setsockopt; ! shutdown; ! socket; }; # There really should be only one SUNWprivate version. # Don't add any more. Add new private symbols to SUNWprivate_1.3 SYMBOL_VERSION SUNWprivate_1.3 { global: ! _accept4; _link_aton; _link_ntoa; _nss_initf_ethers; _nss_initf_net; _nss_initf_netmasks; --- 172,213 ---- } SISCD_2.3; SYMBOL_VERSION SISCD_2.3 { global: $endif ! accept { TYPE = FUNCTION; FILTER = libc.so.1 }; ! bind { TYPE = FUNCTION; FILTER = libc.so.1 }; ! connect { TYPE = FUNCTION; FILTER = libc.so.1 }; ! getpeername { TYPE = FUNCTION; FILTER = libc.so.1 }; getprotobyname; getprotobynumber; getprotoent; getservbyname; getservbyport; ! getsockname { TYPE = FUNCTION; FILTER = libc.so.1 }; ! getsockopt { TYPE = FUNCTION; FILTER = libc.so.1 }; inet_lnaof { TYPE = FUNCTION; FILTER = libc.so.1 }; inet_makeaddr { TYPE = FUNCTION; FILTER = libc.so.1 }; inet_network { TYPE = FUNCTION; FILTER = libc.so.1 }; ! listen { TYPE = FUNCTION; FILTER = libc.so.1 }; ! recv { TYPE = FUNCTION; FILTER = libc.so.1 }; ! recvfrom { TYPE = FUNCTION; FILTER = libc.so.1 }; ! recvmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; ! send { TYPE = FUNCTION; FILTER = libc.so.1 }; ! sendmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; ! sendto { TYPE = FUNCTION; FILTER = libc.so.1 }; ! setsockopt { TYPE = FUNCTION; FILTER = libc.so.1 }; ! shutdown { TYPE = FUNCTION; FILTER = libc.so.1 }; ! socket { TYPE = FUNCTION; FILTER = libc.so.1 }; }; # There really should be only one SUNWprivate version. # Don't add any more. Add new private symbols to SUNWprivate_1.3 SYMBOL_VERSION SUNWprivate_1.3 { global: ! _accept4 { TYPE = FUNCTION; FILTER = libc.so.1 }; _link_aton; _link_ntoa; _nss_initf_ethers; _nss_initf_net; _nss_initf_netmasks;
*** 227,257 **** getnetmaskbynet; } SUNWprivate_1.1; SYMBOL_VERSION SUNWprivate_1.1 { global: ! _accept; ! _bind; bindresvport; bootparams_getbyname; ! _connect; ! _getpeername; ! _getsockname; ! _getsockopt; ! _listen; ! _recv; ! _recvfrom; ! _recvmsg; rresvport_addr; _ruserpass; ! _send; ! _sendmsg; ! _sendto; ! _setsockopt; ! _shutdown; ! _socket; ! _socket_bsd; ! _socketpair; ! _socketpair_bsd; local: *; }; --- 227,257 ---- getnetmaskbynet; } SUNWprivate_1.1; SYMBOL_VERSION SUNWprivate_1.1 { global: ! _accept { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _bind { TYPE = FUNCTION; FILTER = libc.so.1 }; bindresvport; bootparams_getbyname; ! _connect { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _getpeername { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _getsockname { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _getsockopt { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _listen { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _recv { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _recvfrom { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _recvmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; rresvport_addr; _ruserpass; ! _send { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _sendmsg { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _sendto { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _setsockopt { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _shutdown { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _socket { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _socket_bsd { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _socketpair { TYPE = FUNCTION; FILTER = libc.so.1 }; ! _socketpair_bsd { TYPE = FUNCTION; FILTER = libc.so.1 }; local: *; };