Print this page
9704 move socket functions to libc


  60 #       naming the 32-bit version 'sparc' would be too likely to cause errors.
  61 #
  62 # -     lf64: Defined on platforms that offer the 32-bit largefile APIs
  63 #
  64 $if _ELF32
  65 $add lf64
  66 $endif
  67 $if _sparc && _ELF32
  68 $add sparc32
  69 $endif
  70 $if _sparc && _ELF64
  71 $add sparcv9
  72 $endif
  73 $if _x86 && _ELF32
  74 $add i386
  75 $endif
  76 $if _x86 && _ELF64
  77 $add amd64
  78 $endif
  79 























  80 SYMBOL_VERSION ILLUMOS_0.25 {   # inet_* moved from libnsl/libsocket
  81     protected:
  82         inet_addr;
  83         inet_aton;
  84         inet_lnaof;
  85         inet_makeaddr;
  86         inet_netof;
  87         inet_network;
  88         inet_ntoa;
  89         inet_ntoa_r;
  90         inet_ntop;
  91         inet_pton;
  92 } ILLUMOS_0.24;
  93 
  94 SYMBOL_VERSION ILLUMOS_0.24 {   # openbsd compat
  95     protected:
  96         freezero;
  97         recallocarray;
  98 } ILLUMOS_0.23;
  99 


2892         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2893         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2894         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2895         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2896         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2897         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2898 $else
2899 $error unknown platform
2900 $endif
2901 
2902 $if _sparc
2903         __lyday_to_month;
2904         __mon_lengths;
2905         __yday_to_month;
2906 $endif
2907 $if i386
2908         _sse_hw;
2909 $endif
2910 
2911     protected:


2912         acctctl;
2913         allocids;
2914         _assert_c99;
2915         __assert_c99;

2916         _assfail;
2917         attr_count;
2918         attr_to_data_type;
2919         attr_to_name;
2920         attr_to_option;
2921         attr_to_xattr_view;
2922         _autofssys;

2923         _bufsync;
2924         _cladm;
2925         __class_quadruple;

2926         core_get_default_content;
2927         core_get_default_path;
2928         core_get_global_content;
2929         core_get_global_path;
2930         core_get_options;
2931         core_get_process_content;
2932         core_get_process_path;
2933         core_set_default_content;
2934         core_set_default_path;
2935         core_set_global_content;
2936         core_set_global_path;
2937         core_set_options;
2938         core_set_process_content;
2939         core_set_process_path;
2940         dbm_close_status;
2941         dbm_do_nextkey;
2942         dbm_setdefwrite;
2943         _D_cplx_div;
2944         _D_cplx_div_ix;
2945         _D_cplx_div_rx;


2972         _forkall                { FLAGS = NODYNSORT };
2973         _fpclass;
2974         _fpgetmask;
2975         _fpgetround;
2976         _fpgetsticky;
2977         _fprintf;
2978         _fpsetmask;
2979         _fpsetround;
2980         _fpsetsticky;
2981         __fputwc_xpg5;
2982         __fputws_xpg5;
2983         _ftw;
2984         _gcvt;
2985         _getarg;
2986         __getcontext;
2987         _getdents;
2988         _get_exit_frame_monitor;
2989         _getfp;
2990         _getgroupsbymember;
2991         _getlogin_r;

2992         getrandom;


2993         _getsp;
2994         __gettsp;
2995         getvmusage;
2996         __getwchar_xpg5;
2997         __getwc_xpg5;
2998         gtty;
2999         __idmap_flush_kcache;
3000         __idmap_reg;
3001         __idmap_unreg;
3002         __init_daemon_priv;
3003         __init_suid_priv;
3004         _insert;
3005         inst_sync;
3006         _iswctype;
3007         klpd_create;
3008         klpd_getpath;
3009         klpd_getport;
3010         klpd_getucred;
3011         klpd_register;
3012         klpd_register_id;
3013         klpd_unregister;
3014         klpd_unregister_id;
3015         _lgrp_home_fast         { FLAGS = NODYNSORT };
3016         _lgrpsys;

3017         _lltostr;
3018         _lock_clear;
3019         _lock_try;
3020         _ltzset;
3021         lwp_self;
3022         makeut;
3023         makeutx;
3024         _mbftowc;
3025         mcfiller;
3026         mntopt;
3027         modctl;
3028         modutx;
3029         msgctl64;
3030         __multi_innetgr;
3031         _mutex_destroy          { FLAGS = NODYNSORT };
3032         mutex_enter;
3033         mutex_exit;
3034         mutex_held;
3035         _mutex_init             { FLAGS = NODYNSORT };
3036         _mutex_unlock           { FLAGS = NODYNSORT };


3048         _nss_initf_netgroup;
3049         _nss_initf_passwd;
3050         _nss_initf_shadow;
3051         nss_packed_arg_init;
3052         nss_packed_context_init;
3053         nss_packed_getkey;
3054         nss_packed_set_status;
3055         nss_search;
3056         nss_setent;
3057         _nss_XbyY_fgets;
3058         _nss_XbyY_fini;
3059         __nsw_extended_action_v1;
3060         __nsw_freeconfig_v1;
3061         __nsw_getconfig_v1;
3062         __nthreads;
3063         __openattrdirat;
3064         option_to_attr;
3065         __priv_bracket;
3066         __priv_relinquish;
3067         psecflags;



3068         pset_assign_forced;
3069         pset_bind_lwp;
3070         _psignal;
3071         pthread_attr_getdaemonstate_np;
3072         pthread_attr_setdaemonstate_np;
3073         _pthread_setcleanupinit;
3074         __putwchar_xpg5;
3075         __putwc_xpg5;
3076         rctlctl;
3077         rctllist;
3078         _realbufend;



3079         _resume;
3080         _resume_ret;
3081         _rpcsys;
3082         _sbrk_grow_aligned;
3083         scrwidth;
3084         secflag_by_name;
3085         secflag_clear;

3086         secflags_copy;
3087         secflags_difference;

3088         secflags_fullset;
3089         secflags_intersection;
3090         secflags_isempty;
3091         secflag_isset;
3092         secflags_issubset;
3093         secflags_issuperset;
3094         secflag_set;
3095         secflag_to_bit;
3096         secflag_to_str;
3097         secflags_union;
3098         psecflags_validate_delta;
3099         secflags_zero;
3100         psecflags_default;
3101         secflags_parse;
3102         secflags_to_str;
3103         psecflags_validate;
3104         semctl64;


3105         _semctl64;
3106         set_setcontext_enforcement;



3107         _setbufend;
3108         __set_errno;
3109         setprojrctl;
3110         _setregid;
3111         _setreuid;

3112         setsigacthandler;
3113         shmctl64;
3114         _shmctl64;


3115         sigflag;
3116         _signal;
3117         _sigoff;
3118         _sigon;
3119         _so_accept;
3120         _so_bind;
3121         _sockconfig;




3122         _so_connect;
3123         _so_getpeername;
3124         _so_getsockname;
3125         _so_getsockopt;
3126         _so_listen;
3127         _so_recv;
3128         _so_recvfrom;
3129         _so_recvmsg;
3130         _so_send;
3131         _so_sendmsg;
3132         _so_sendto;
3133         _so_setsockopt;
3134         _so_shutdown;
3135         _so_socket;
3136         _so_socketpair;
3137         str2group;
3138         str2passwd;
3139         str2spwd;
3140         __strptime_dontzero;
3141         stty;
3142         syscall;
3143         _sysconfig;
3144         __systemcall;
3145         thr_continue_allmutators;
3146         _thr_continue_allmutators;
3147         thr_continue_mutator;
3148         _thr_continue_mutator;
3149         thr_getstate;
3150         _thr_getstate;
3151         thr_mutators_barrier;
3152         _thr_mutators_barrier;

3153         thr_probe_setup;
3154         _thr_schedctl;
3155         thr_setmutator;
3156         _thr_setmutator;
3157         thr_setstate;
3158         _thr_setstate;
3159         thr_sighndlrinfo;
3160         _thr_sighndlrinfo;

3161         _thr_slot_offset;
3162         thr_suspend_allmutators;
3163         _thr_suspend_allmutators;
3164         thr_suspend_mutator;
3165         _thr_suspend_mutator;
3166         thr_wait_mutator;
3167         _thr_wait_mutator;

3168         __tls_get_addr;
3169         _tmem_get_base;
3170         _tmem_get_nentries;
3171         _tmem_set_cleanup;
3172         tpool_create;
3173         tpool_dispatch;
3174         tpool_destroy;
3175         tpool_wait;


3176         tpool_suspend;
3177         tpool_suspended;
3178         tpool_resume;
3179         tpool_member;
3180         _ttyname_dev;
3181         _ucred_alloc;
3182         ucred_getamask;
3183         _ucred_getamask;
3184         ucred_getasid;
3185         _ucred_getasid;
3186         ucred_getatid;
3187         _ucred_getatid;
3188         ucred_getauid;
3189         _ucred_getauid;

3190         _ulltostr;
3191         _uncached_getgrgid_r;
3192         _uncached_getgrnam_r;
3193         _uncached_getpwnam_r;
3194         _uncached_getpwuid_r;
3195         __ungetwc_xpg5;
3196         _unordered;
3197         utssys;
3198         _verrfp;
3199         _verrxfp;
3200         _vwarnfp;
3201         _vwarnxfp;
3202         _warnfp;
3203         _warnxfp;
3204         __wcsftime_xpg5;
3205         __wcstok_xpg5;
3206         wdbindf;
3207         wdchkind;
3208         wddelim;
3209         _wrtchk;
3210         _xflsbuf;
3211         _xgetwidth;









3212         zone_add_datalink;
3213         zone_boot;
3214         zone_check_datalink;
3215         zone_create;
3216         zone_destroy;
3217         zone_enter;
3218         zone_getattr;
3219         zone_get_id;
3220         zone_list;
3221         zone_list_datalink;
3222         zonept;
3223         zone_remove_datalink;
3224         zone_setattr;
3225         zone_shutdown;
3226         zone_version;
3227 
3228 $if _ELF32
3229         __divdi3;
3230         _file_set;
3231         _fprintf_c89;




  60 #       naming the 32-bit version 'sparc' would be too likely to cause errors.
  61 #
  62 # -     lf64: Defined on platforms that offer the 32-bit largefile APIs
  63 #
  64 $if _ELF32
  65 $add lf64
  66 $endif
  67 $if _sparc && _ELF32
  68 $add sparc32
  69 $endif
  70 $if _sparc && _ELF64
  71 $add sparcv9
  72 $endif
  73 $if _x86 && _ELF32
  74 $add i386
  75 $endif
  76 $if _x86 && _ELF64
  77 $add amd64
  78 $endif
  79 
  80 SYMBOL_VERSION ILLUMOS_0.26 {   # socket moved from libsocket
  81     protected:
  82         accept4;
  83         accept;
  84         bind;
  85         connect;
  86         getpeername;
  87         getsockname;
  88         getsockopt;
  89         listen;
  90         recv;
  91         recvfrom;
  92         recvmsg;
  93         send;
  94         sendmsg;
  95         sendto;
  96         setsockopt;
  97         sockatmark;
  98         socketpair;
  99         shutdown;
 100         socket;
 101 } ILLUMOS_0.25;
 102 
 103 SYMBOL_VERSION ILLUMOS_0.25 {   # inet_* moved from libnsl/libsocket
 104     protected:
 105         inet_addr;
 106         inet_aton;
 107         inet_lnaof;
 108         inet_makeaddr;
 109         inet_netof;
 110         inet_network;
 111         inet_ntoa;
 112         inet_ntoa_r;
 113         inet_ntop;
 114         inet_pton;
 115 } ILLUMOS_0.24;
 116 
 117 SYMBOL_VERSION ILLUMOS_0.24 {   # openbsd compat
 118     protected:
 119         freezero;
 120         recallocarray;
 121 } ILLUMOS_0.23;
 122 


2915         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2916         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2917         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2918         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2919         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2920         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2921 $else
2922 $error unknown platform
2923 $endif
2924 
2925 $if _sparc
2926         __lyday_to_month;
2927         __mon_lengths;
2928         __yday_to_month;
2929 $endif
2930 $if i386
2931         _sse_hw;
2932 $endif
2933 
2934     protected:
2935         _accept;
2936         _accept4;
2937         acctctl;
2938         allocids;

2939         __assert_c99;
2940         _assert_c99;
2941         _assfail;
2942         attr_count;
2943         attr_to_data_type;
2944         attr_to_name;
2945         attr_to_option;
2946         attr_to_xattr_view;
2947         _autofssys;
2948         _bind;
2949         _bufsync;
2950         _cladm;
2951         __class_quadruple;
2952         _connect;
2953         core_get_default_content;
2954         core_get_default_path;
2955         core_get_global_content;
2956         core_get_global_path;
2957         core_get_options;
2958         core_get_process_content;
2959         core_get_process_path;
2960         core_set_default_content;
2961         core_set_default_path;
2962         core_set_global_content;
2963         core_set_global_path;
2964         core_set_options;
2965         core_set_process_content;
2966         core_set_process_path;
2967         dbm_close_status;
2968         dbm_do_nextkey;
2969         dbm_setdefwrite;
2970         _D_cplx_div;
2971         _D_cplx_div_ix;
2972         _D_cplx_div_rx;


2999         _forkall                { FLAGS = NODYNSORT };
3000         _fpclass;
3001         _fpgetmask;
3002         _fpgetround;
3003         _fpgetsticky;
3004         _fprintf;
3005         _fpsetmask;
3006         _fpsetround;
3007         _fpsetsticky;
3008         __fputwc_xpg5;
3009         __fputws_xpg5;
3010         _ftw;
3011         _gcvt;
3012         _getarg;
3013         __getcontext;
3014         _getdents;
3015         _get_exit_frame_monitor;
3016         _getfp;
3017         _getgroupsbymember;
3018         _getlogin_r;
3019         _getpeername;
3020         getrandom;
3021         _getsockname;
3022         _getsockopt;
3023         _getsp;
3024         __gettsp;
3025         getvmusage;
3026         __getwchar_xpg5;
3027         __getwc_xpg5;
3028         gtty;
3029         __idmap_flush_kcache;
3030         __idmap_reg;
3031         __idmap_unreg;
3032         __init_daemon_priv;
3033         __init_suid_priv;
3034         _insert;
3035         inst_sync;
3036         _iswctype;
3037         klpd_create;
3038         klpd_getpath;
3039         klpd_getport;
3040         klpd_getucred;
3041         klpd_register;
3042         klpd_register_id;
3043         klpd_unregister;
3044         klpd_unregister_id;
3045         _lgrp_home_fast         { FLAGS = NODYNSORT };
3046         _lgrpsys;
3047         _listen;
3048         _lltostr;
3049         _lock_clear;
3050         _lock_try;
3051         _ltzset;
3052         lwp_self;
3053         makeut;
3054         makeutx;
3055         _mbftowc;
3056         mcfiller;
3057         mntopt;
3058         modctl;
3059         modutx;
3060         msgctl64;
3061         __multi_innetgr;
3062         _mutex_destroy          { FLAGS = NODYNSORT };
3063         mutex_enter;
3064         mutex_exit;
3065         mutex_held;
3066         _mutex_init             { FLAGS = NODYNSORT };
3067         _mutex_unlock           { FLAGS = NODYNSORT };


3079         _nss_initf_netgroup;
3080         _nss_initf_passwd;
3081         _nss_initf_shadow;
3082         nss_packed_arg_init;
3083         nss_packed_context_init;
3084         nss_packed_getkey;
3085         nss_packed_set_status;
3086         nss_search;
3087         nss_setent;
3088         _nss_XbyY_fgets;
3089         _nss_XbyY_fini;
3090         __nsw_extended_action_v1;
3091         __nsw_freeconfig_v1;
3092         __nsw_getconfig_v1;
3093         __nthreads;
3094         __openattrdirat;
3095         option_to_attr;
3096         __priv_bracket;
3097         __priv_relinquish;
3098         psecflags;
3099         psecflags_default;
3100         psecflags_validate;
3101         psecflags_validate_delta;
3102         pset_assign_forced;
3103         pset_bind_lwp;
3104         _psignal;
3105         pthread_attr_getdaemonstate_np;
3106         pthread_attr_setdaemonstate_np;
3107         _pthread_setcleanupinit;
3108         __putwchar_xpg5;
3109         __putwc_xpg5;
3110         rctlctl;
3111         rctllist;
3112         _realbufend;
3113         _recv;
3114         _recvfrom;
3115         _recvmsg;
3116         _resume;
3117         _resume_ret;
3118         _rpcsys;
3119         _sbrk_grow_aligned;
3120         scrwidth;
3121         secflag_by_name;
3122         secflag_clear;
3123         secflag_isset;
3124         secflags_copy;
3125         secflags_difference;
3126         secflag_set;
3127         secflags_fullset;
3128         secflags_intersection;
3129         secflags_isempty;

3130         secflags_issubset;
3131         secflags_issuperset;







3132         secflags_parse;
3133         secflags_to_str;
3134         secflags_union;
3135         secflags_zero;
3136         secflag_to_bit;
3137         secflag_to_str;
3138         _semctl64;
3139         semctl64;
3140         _send;
3141         _sendmsg;
3142         _sendto;
3143         _setbufend;
3144         __set_errno;
3145         setprojrctl;
3146         _setregid;
3147         _setreuid;
3148         set_setcontext_enforcement;
3149         setsigacthandler;
3150         _setsockopt;
3151         _shmctl64;
3152         shmctl64;
3153         _shutdown;
3154         sigflag;
3155         _signal;
3156         _sigoff;
3157         _sigon;
3158         _so_accept;
3159         _so_bind;
3160         _sockconfig;
3161         _socket;
3162         _socket_bsd;
3163         _socketpair;
3164         _socketpair_bsd;
3165         _so_connect;
3166         _so_getpeername;
3167         _so_getsockname;
3168         _so_getsockopt;
3169         _so_listen;
3170         _so_recv;
3171         _so_recvfrom;
3172         _so_recvmsg;
3173         _so_send;
3174         _so_sendmsg;
3175         _so_sendto;
3176         _so_setsockopt;
3177         _so_shutdown;
3178         _so_socket;
3179         _so_socketpair;
3180         str2group;
3181         str2passwd;
3182         str2spwd;
3183         __strptime_dontzero;
3184         stty;
3185         syscall;
3186         _sysconfig;
3187         __systemcall;

3188         _thr_continue_allmutators;
3189         thr_continue_allmutators;
3190         _thr_continue_mutator;
3191         thr_continue_mutator;
3192         _thr_getstate;
3193         thr_getstate;
3194         _thr_mutators_barrier;
3195         thr_mutators_barrier;
3196         thr_probe_setup;
3197         _thr_schedctl;

3198         _thr_setmutator;
3199         thr_setmutator;
3200         _thr_setstate;
3201         thr_setstate;
3202         _thr_sighndlrinfo;
3203         thr_sighndlrinfo;
3204         _thr_slot_offset;

3205         _thr_suspend_allmutators;
3206         thr_suspend_allmutators;
3207         _thr_suspend_mutator;
3208         thr_suspend_mutator;
3209         _thr_wait_mutator;
3210         thr_wait_mutator;
3211         __tls_get_addr;
3212         _tmem_get_base;
3213         _tmem_get_nentries;
3214         _tmem_set_cleanup;
3215         tpool_create;

3216         tpool_destroy;
3217         tpool_dispatch;
3218         tpool_member;
3219         tpool_resume;
3220         tpool_suspend;
3221         tpool_suspended;
3222         tpool_wait;

3223         _ttyname_dev;
3224         _ucred_alloc;

3225         _ucred_getamask;
3226         ucred_getamask;
3227         _ucred_getasid;
3228         ucred_getasid;
3229         _ucred_getatid;
3230         ucred_getatid;
3231         _ucred_getauid;
3232         ucred_getauid;
3233         _ulltostr;
3234         _uncached_getgrgid_r;
3235         _uncached_getgrnam_r;
3236         _uncached_getpwnam_r;
3237         _uncached_getpwuid_r;
3238         __ungetwc_xpg5;
3239         _unordered;
3240         utssys;
3241         _verrfp;
3242         _verrxfp;
3243         _vwarnfp;
3244         _vwarnxfp;
3245         _warnfp;
3246         _warnxfp;
3247         __wcsftime_xpg5;
3248         __wcstok_xpg5;
3249         wdbindf;
3250         wdchkind;
3251         wddelim;
3252         _wrtchk;
3253         _xflsbuf;
3254         _xgetwidth;
3255         __xnet_bind;
3256         __xnet_connect;
3257         __xnet_getsockopt;
3258         __xnet_listen;
3259         __xnet_recvmsg;
3260         __xnet_sendmsg;
3261         __xnet_sendto;
3262         __xnet_socket;
3263         __xnet_socketpair;
3264         zone_add_datalink;
3265         zone_boot;
3266         zone_check_datalink;
3267         zone_create;
3268         zone_destroy;
3269         zone_enter;
3270         zone_getattr;
3271         zone_get_id;
3272         zone_list;
3273         zone_list_datalink;
3274         zonept;
3275         zone_remove_datalink;
3276         zone_setattr;
3277         zone_shutdown;
3278         zone_version;
3279 
3280 $if _ELF32
3281         __divdi3;
3282         _file_set;
3283         _fprintf_c89;