Print this page
9704 move socket functions to libc

@@ -56,11 +56,11 @@
     global:
         if_freenameindex        { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         if_indextoname          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         if_nameindex            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         if_nametoindex          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        sockatmark              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        sockatmark              { TYPE = FUNCTION; FILTER = libc.so.1 };
 } SUNW_1.2;
 
 SYMBOL_VERSION SUNW_1.2 {
     global:
         _xti_rcvreldata         { TYPE = FUNCTION; FILTER = libnsl.so.1 };

@@ -75,19 +75,19 @@
 } SUNW_1.1;
 
 SYMBOL_VERSION SUNW_1.1 {
     global:
         __t_errno               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
-        __xnet_bind             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_connect          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_getsockopt       { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_listen           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_recvmsg          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_sendmsg          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_sendto           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_socket           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        __xnet_socketpair       { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        __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 };
         _xti_accept             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_alloc              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_bind               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_close              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_connect            { TYPE = FUNCTION; FILTER = libnsl.so.1 };

@@ -111,13 +111,13 @@
         _xti_sndrel             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_sndudata           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_strerror           { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_sync               { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         _xti_unbind             { TYPE = FUNCTION; FILTER = libnsl.so.1 };
-        accept                  { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        bind                    { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        connect                 { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        accept                  { TYPE = FUNCTION; FILTER = libc.so.1 };
+        bind                    { TYPE = FUNCTION; FILTER = libc.so.1 };
+        connect                 { TYPE = FUNCTION; FILTER = libc.so.1 };
         endhostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         endnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         endprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         endservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         gethostbyaddr           { TYPE = FUNCTION; FILTER = libnsl.so.1 };

@@ -125,19 +125,19 @@
         gethostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         gethostname             { TYPE = FUNCTION; FILTER = libc.so.1 };
         getnetbyaddr            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getnetbyname            { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        getpeername             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        getpeername             { TYPE = FUNCTION; FILTER = libc.so.1 };
         getprotobyname          { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getprotobynumber        { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getservbyname           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getservbyport           { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         getservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        getsockname             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        getsockopt              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        getsockname             { TYPE = FUNCTION; FILTER = libc.so.1 };
+        getsockopt              { TYPE = FUNCTION; FILTER = libc.so.1 };
         h_errno {
                 TYPE = DATA;
                 SIZE = 0x4;
                 FLAGS = NODIRECT;
                 FILTER = libnsl.so.1;

@@ -148,27 +148,27 @@
         inet_lnaof              { TYPE = FUNCTION; FILTER = libc.so.1 };
         inet_makeaddr           { TYPE = FUNCTION; FILTER = libc.so.1 };
         inet_netof              { TYPE = FUNCTION; FILTER = libc.so.1 };
         inet_network            { TYPE = FUNCTION; FILTER = libc.so.1 };
         inet_ntoa               { TYPE = FUNCTION; FILTER = libc.so.1 };
-        listen                  { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        listen                  { TYPE = FUNCTION; FILTER = libc.so.1 };
         ntohl                   { TYPE = FUNCTION; FILTER = libc.so.1 };
         ntohs                   { TYPE = FUNCTION; FILTER = libc.so.1 };
-        recv                    { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        recvfrom                { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        recvmsg                 { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        send                    { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        sendmsg                 { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        sendto                  { TYPE = FUNCTION; FILTER = libsocket.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 };
         sethostent              { TYPE = FUNCTION; FILTER = libnsl.so.1 };
         setnetent               { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         setprotoent             { TYPE = FUNCTION; FILTER = libsocket.so.1 };
         setservent              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        setsockopt              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        shutdown                { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        socket                  { TYPE = FUNCTION; FILTER = libsocket.so.1 };
-        socketpair              { TYPE = FUNCTION; FILTER = libsocket.so.1 };
+        setsockopt              { TYPE = FUNCTION; FILTER = libc.so.1 };
+        shutdown                { TYPE = FUNCTION; FILTER = libc.so.1 };
+        socket                  { TYPE = FUNCTION; FILTER = libc.so.1 };
+        socketpair              { TYPE = FUNCTION; FILTER = libc.so.1 };
         t_errno {
                 TYPE = DATA;
                 SIZE = 0x4;
                 FILTER = libnsl.so.1;
         };