Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/mapfile-vers
          +++ new/usr/src/lib/libc/port/mapfile-vers
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  $if _sparc && _ELF64
  71   71  $add sparcv9
  72   72  $endif
  73   73  $if _x86 && _ELF32
  74   74  $add i386
  75   75  $endif
  76   76  $if _x86 && _ELF64
  77   77  $add amd64
  78   78  $endif
  79   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 +
  80  103  SYMBOL_VERSION ILLUMOS_0.25 {   # inet_* moved from libnsl/libsocket
  81  104      protected:
  82  105          inet_addr;
  83  106          inet_aton;
  84  107          inet_lnaof;
  85  108          inet_makeaddr;
  86  109          inet_netof;
  87  110          inet_network;
  88  111          inet_ntoa;
  89  112          inet_ntoa_r;
↓ open down ↓ 2812 lines elided ↑ open up ↑
2902 2925  $if _sparc
2903 2926          __lyday_to_month;
2904 2927          __mon_lengths;
2905 2928          __yday_to_month;
2906 2929  $endif
2907 2930  $if i386
2908 2931          _sse_hw;
2909 2932  $endif
2910 2933  
2911 2934      protected:
     2935 +        _accept;
     2936 +        _accept4;
2912 2937          acctctl;
2913 2938          allocids;
2914      -        _assert_c99;
2915 2939          __assert_c99;
     2940 +        _assert_c99;
2916 2941          _assfail;
2917 2942          attr_count;
2918 2943          attr_to_data_type;
2919 2944          attr_to_name;
2920 2945          attr_to_option;
2921 2946          attr_to_xattr_view;
2922 2947          _autofssys;
     2948 +        _bind;
2923 2949          _bufsync;
2924 2950          _cladm;
2925 2951          __class_quadruple;
     2952 +        _connect;
2926 2953          core_get_default_content;
2927 2954          core_get_default_path;
2928 2955          core_get_global_content;
2929 2956          core_get_global_path;
2930 2957          core_get_options;
2931 2958          core_get_process_content;
2932 2959          core_get_process_path;
2933 2960          core_set_default_content;
2934 2961          core_set_default_path;
2935 2962          core_set_global_content;
↓ open down ↓ 46 lines elided ↑ open up ↑
2982 3009          __fputws_xpg5;
2983 3010          _ftw;
2984 3011          _gcvt;
2985 3012          _getarg;
2986 3013          __getcontext;
2987 3014          _getdents;
2988 3015          _get_exit_frame_monitor;
2989 3016          _getfp;
2990 3017          _getgroupsbymember;
2991 3018          _getlogin_r;
     3019 +        _getpeername;
2992 3020          getrandom;
     3021 +        _getsockname;
     3022 +        _getsockopt;
2993 3023          _getsp;
2994 3024          __gettsp;
2995 3025          getvmusage;
2996 3026          __getwchar_xpg5;
2997 3027          __getwc_xpg5;
2998 3028          gtty;
2999 3029          __idmap_flush_kcache;
3000 3030          __idmap_reg;
3001 3031          __idmap_unreg;
3002 3032          __init_daemon_priv;
↓ open down ↓ 4 lines elided ↑ open up ↑
3007 3037          klpd_create;
3008 3038          klpd_getpath;
3009 3039          klpd_getport;
3010 3040          klpd_getucred;
3011 3041          klpd_register;
3012 3042          klpd_register_id;
3013 3043          klpd_unregister;
3014 3044          klpd_unregister_id;
3015 3045          _lgrp_home_fast         { FLAGS = NODYNSORT };
3016 3046          _lgrpsys;
     3047 +        _listen;
3017 3048          _lltostr;
3018 3049          _lock_clear;
3019 3050          _lock_try;
3020 3051          _ltzset;
3021 3052          lwp_self;
3022 3053          makeut;
3023 3054          makeutx;
3024 3055          _mbftowc;
3025 3056          mcfiller;
3026 3057          mntopt;
↓ open down ↓ 31 lines elided ↑ open up ↑
3058 3089          _nss_XbyY_fini;
3059 3090          __nsw_extended_action_v1;
3060 3091          __nsw_freeconfig_v1;
3061 3092          __nsw_getconfig_v1;
3062 3093          __nthreads;
3063 3094          __openattrdirat;
3064 3095          option_to_attr;
3065 3096          __priv_bracket;
3066 3097          __priv_relinquish;
3067 3098          psecflags;
     3099 +        psecflags_default;
     3100 +        psecflags_validate;
     3101 +        psecflags_validate_delta;
3068 3102          pset_assign_forced;
3069 3103          pset_bind_lwp;
3070 3104          _psignal;
3071 3105          pthread_attr_getdaemonstate_np;
3072 3106          pthread_attr_setdaemonstate_np;
3073 3107          _pthread_setcleanupinit;
3074 3108          __putwchar_xpg5;
3075 3109          __putwc_xpg5;
3076 3110          rctlctl;
3077 3111          rctllist;
3078 3112          _realbufend;
     3113 +        _recv;
     3114 +        _recvfrom;
     3115 +        _recvmsg;
3079 3116          _resume;
3080 3117          _resume_ret;
3081 3118          _rpcsys;
3082 3119          _sbrk_grow_aligned;
3083 3120          scrwidth;
3084 3121          secflag_by_name;
3085 3122          secflag_clear;
     3123 +        secflag_isset;
3086 3124          secflags_copy;
3087 3125          secflags_difference;
     3126 +        secflag_set;
3088 3127          secflags_fullset;
3089 3128          secflags_intersection;
3090 3129          secflags_isempty;
3091      -        secflag_isset;
3092 3130          secflags_issubset;
3093 3131          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 3132          secflags_parse;
3102 3133          secflags_to_str;
3103      -        psecflags_validate;
3104      -        semctl64;
     3134 +        secflags_union;
     3135 +        secflags_zero;
     3136 +        secflag_to_bit;
     3137 +        secflag_to_str;
3105 3138          _semctl64;
3106      -        set_setcontext_enforcement;
     3139 +        semctl64;
     3140 +        _send;
     3141 +        _sendmsg;
     3142 +        _sendto;
3107 3143          _setbufend;
3108 3144          __set_errno;
3109 3145          setprojrctl;
3110 3146          _setregid;
3111 3147          _setreuid;
     3148 +        set_setcontext_enforcement;
3112 3149          setsigacthandler;
3113      -        shmctl64;
     3150 +        _setsockopt;
3114 3151          _shmctl64;
     3152 +        shmctl64;
     3153 +        _shutdown;
3115 3154          sigflag;
3116 3155          _signal;
3117 3156          _sigoff;
3118 3157          _sigon;
3119 3158          _so_accept;
3120 3159          _so_bind;
3121 3160          _sockconfig;
     3161 +        _socket;
     3162 +        _socket_bsd;
     3163 +        _socketpair;
     3164 +        _socketpair_bsd;
3122 3165          _so_connect;
3123 3166          _so_getpeername;
3124 3167          _so_getsockname;
3125 3168          _so_getsockopt;
3126 3169          _so_listen;
3127 3170          _so_recv;
3128 3171          _so_recvfrom;
3129 3172          _so_recvmsg;
3130 3173          _so_send;
3131 3174          _so_sendmsg;
↓ open down ↓ 3 lines elided ↑ open up ↑
3135 3178          _so_socket;
3136 3179          _so_socketpair;
3137 3180          str2group;
3138 3181          str2passwd;
3139 3182          str2spwd;
3140 3183          __strptime_dontzero;
3141 3184          stty;
3142 3185          syscall;
3143 3186          _sysconfig;
3144 3187          __systemcall;
3145      -        thr_continue_allmutators;
3146 3188          _thr_continue_allmutators;
3147      -        thr_continue_mutator;
     3189 +        thr_continue_allmutators;
3148 3190          _thr_continue_mutator;
3149      -        thr_getstate;
     3191 +        thr_continue_mutator;
3150 3192          _thr_getstate;
3151      -        thr_mutators_barrier;
     3193 +        thr_getstate;
3152 3194          _thr_mutators_barrier;
     3195 +        thr_mutators_barrier;
3153 3196          thr_probe_setup;
3154 3197          _thr_schedctl;
3155      -        thr_setmutator;
3156 3198          _thr_setmutator;
3157      -        thr_setstate;
     3199 +        thr_setmutator;
3158 3200          _thr_setstate;
3159      -        thr_sighndlrinfo;
     3201 +        thr_setstate;
3160 3202          _thr_sighndlrinfo;
     3203 +        thr_sighndlrinfo;
3161 3204          _thr_slot_offset;
3162      -        thr_suspend_allmutators;
3163 3205          _thr_suspend_allmutators;
3164      -        thr_suspend_mutator;
     3206 +        thr_suspend_allmutators;
3165 3207          _thr_suspend_mutator;
3166      -        thr_wait_mutator;
     3208 +        thr_suspend_mutator;
3167 3209          _thr_wait_mutator;
     3210 +        thr_wait_mutator;
3168 3211          __tls_get_addr;
3169 3212          _tmem_get_base;
3170 3213          _tmem_get_nentries;
3171 3214          _tmem_set_cleanup;
3172 3215          tpool_create;
3173      -        tpool_dispatch;
3174 3216          tpool_destroy;
3175      -        tpool_wait;
     3217 +        tpool_dispatch;
     3218 +        tpool_member;
     3219 +        tpool_resume;
3176 3220          tpool_suspend;
3177 3221          tpool_suspended;
3178      -        tpool_resume;
3179      -        tpool_member;
     3222 +        tpool_wait;
3180 3223          _ttyname_dev;
3181 3224          _ucred_alloc;
3182      -        ucred_getamask;
3183 3225          _ucred_getamask;
3184      -        ucred_getasid;
     3226 +        ucred_getamask;
3185 3227          _ucred_getasid;
3186      -        ucred_getatid;
     3228 +        ucred_getasid;
3187 3229          _ucred_getatid;
3188      -        ucred_getauid;
     3230 +        ucred_getatid;
3189 3231          _ucred_getauid;
     3232 +        ucred_getauid;
3190 3233          _ulltostr;
3191 3234          _uncached_getgrgid_r;
3192 3235          _uncached_getgrnam_r;
3193 3236          _uncached_getpwnam_r;
3194 3237          _uncached_getpwuid_r;
3195 3238          __ungetwc_xpg5;
3196 3239          _unordered;
3197 3240          utssys;
3198 3241          _verrfp;
3199 3242          _verrxfp;
↓ open down ↓ 2 lines elided ↑ open up ↑
3202 3245          _warnfp;
3203 3246          _warnxfp;
3204 3247          __wcsftime_xpg5;
3205 3248          __wcstok_xpg5;
3206 3249          wdbindf;
3207 3250          wdchkind;
3208 3251          wddelim;
3209 3252          _wrtchk;
3210 3253          _xflsbuf;
3211 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;
3212 3264          zone_add_datalink;
3213 3265          zone_boot;
3214 3266          zone_check_datalink;
3215 3267          zone_create;
3216 3268          zone_destroy;
3217 3269          zone_enter;
3218 3270          zone_getattr;
3219 3271          zone_get_id;
3220 3272          zone_list;
3221 3273          zone_list_datalink;
↓ open down ↓ 200 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX