1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 24# Copyright 2018 Nexenta Systems, Inc. 25# 26 27# 28# MAPFILE HEADER START 29# 30# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 31# Object versioning must comply with the rules detailed in 32# 33# usr/src/lib/README.mapfiles 34# 35# You should not be making modifications here until you've read the most current 36# copy of that file. If you need help, contact a gatekeeper for guidance. 37# 38# MAPFILE HEADER END 39# 40 41$mapfile_version 2 42 43SYMBOL_VERSION ILLUMOS_0.1 { # illumos additions 44 global: 45 svc_tp_create_addr; 46} SUNW_1.10; 47 48SYMBOL_VERSION SUNW_1.10 { # SunOS 5.11 (Solaris 11) 49 global: 50 SUNW_1.10; 51} SUNW_1.9.1; 52 53SYMBOL_VERSION SUNW_1.9.1 { # SunOS 5.10 (Solaris 10 update 5) 54 global: 55 inet_aton { TYPE = FUNCTION; FILTER = libc.so.1 }; 56} SUNW_1.9; 57 58SYMBOL_VERSION SUNW_1.9 { # SunOS 5.10 (Solaris 10) 59 global: 60 freeipsecalgent; 61 getipsecalgbyname; 62 getipsecalgbynum; 63 getipsecprotobyname; 64 getipsecprotobynum; 65 svc_fd_negotiate_ucred; 66 svc_getcallerucred; 67} SUNW_1.8; 68 69SYMBOL_VERSION SUNW_1.8 { # SunOS 5.9 (Solaris 9) 70 global: 71 clnt_send; 72 svc_add_input; 73 svc_remove_input; 74} SUNW_1.7; 75 76SYMBOL_VERSION SUNW_1.7 { # SunOS 5.8 (Solaris 8) 77 global: 78 freehostent; 79 getipnodebyaddr; 80 getipnodebyname; 81 inet_ntop { TYPE = FUNCTION; FILTER = libc.so.1 }; 82 inet_pton { TYPE = FUNCTION; FILTER = libc.so.1 }; 83} SUNW_1.6; 84 85SYMBOL_VERSION SUNW_1.6 { # SunOS 5.7 (Solaris 7) 86 global: 87 _xti_rcvreldata; 88 _xti_rcvv; 89 _xti_rcvvudata; 90 _xti_sndreldata; 91 _xti_sndv; 92 _xti_sndvudata; 93 _xti_sysconf; 94 _xti_xns5_accept; 95 _xti_xns5_snd; 96} SUNW_1.5; 97 98# The empty versions SUNW_1.2 through SUNW_1.5 must be preserved because 99# applications built on Solaris 2.6 Beta (when they did contain symbols) 100# may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1 101 102SYMBOL_VERSION SUNW_1.5 { 103 global: 104 SUNW_1.5; 105} SUNW_1.4; 106 107SYMBOL_VERSION SUNW_1.4 { 108 global: 109 SUNW_1.4; 110} SUNW_1.3; 111 112SYMBOL_VERSION SUNW_1.3 { 113 global: 114 SUNW_1.3; 115} SUNW_1.2; 116 117SYMBOL_VERSION SUNW_1.2 { 118 global: 119 SUNW_1.2; 120} SUNW_1.1; 121 122SYMBOL_VERSION SUNW_1.1 { # SunOS 5.6 (Solaris 2.6) 123 global: 124 clnt_create_vers_timed; 125 clnt_door_create; 126$if _ELF32 127 _new_svc_fdset; 128$endif 129 rpc_gss_getcred; 130 rpc_gss_get_error; 131 rpc_gss_get_mechanisms; 132 rpc_gss_get_mech_info; 133 rpc_gss_get_principal_name; 134 rpc_gss_get_versions; 135 rpc_gss_is_installed; 136 rpc_gss_max_data_length; 137 rpc_gss_mech_to_oid; 138 rpc_gss_qop_to_num; 139 rpc_gss_seccreate; 140 rpc_gss_set_callback; 141 rpc_gss_set_defaults; 142 rpc_gss_set_svc_name; 143 rpc_gss_svc_max_data_length; 144 svc_door_create; 145 svc_max_pollfd; 146 svc_pollfd; 147 _xti_accept; 148 _xti_alloc; 149 _xti_bind; 150 _xti_close; 151 _xti_connect; 152 _xti_error; 153 _xti_free; 154 _xti_getinfo; 155 _xti_getprotaddr; 156 _xti_getstate; 157 _xti_listen; 158 _xti_look; 159 _xti_open; 160 _xti_optmgmt; 161 _xti_rcv; 162 _xti_rcvconnect; 163 _xti_rcvdis; 164 _xti_rcvrel; 165 _xti_rcvudata; 166 _xti_rcvuderr; 167 _xti_snd; 168 _xti_snddis; 169 _xti_sndrel; 170 _xti_sndudata; 171 _xti_strerror; 172 _xti_sync; 173 _xti_unbind; 174} SUNW_0.9; 175 176SYMBOL_VERSION SUNW_0.9 { # SunOS 5.5 (Solaris 2.5) 177 global: 178 clnt_create_timed; 179 clnt_tp_create_timed; 180 getrpcport; 181} SUNW_0.8; 182 183SYMBOL_VERSION SUNW_0.8 { # SunOS 5.4 (Solaris 2.4) 184 global: 185 rpc_control; 186 svc_done; 187} SUNW_0.7; 188 189# SUNW_0.7 is complicated by ABI issues: 190# 191# - On 32-bit sparc, SUNW_0.7 contains __rpc_createerr and svc_exit, and 192# inherits everyting else from SISCD_2.3, which in turn inherits from 193# SYSVABI_1.3. 194# - On 32-bit X86, there is no SISCD_2.3, the symbols it contained are 195# instead found in SUNW_0.7, which directly inherits SYSVABI_1.3. 196# - The other platforms do not have SISCD_2.3, or SYSVABI_1.3, and everything 197# is directly found in in SUNW_0.7, which does not inherit anything. 198# 199SYMBOL_VERSION SUNW_0.7 { # SunOS 5.3 (Solaris 2.3) 200 global: 201 authdes_create; 202 authdes_lock; 203 auth_destroy; 204 callrpc; 205 clnt_broadcast; 206 clnt_call; 207 clnt_control; 208 clnt_create_vers; 209 clnt_destroy; 210 clnt_freeres; 211 clnt_geterr; 212 clntraw_create; 213 clnttcp_create; 214 clntudp_bufcreate; 215 clntudp_create; 216 dbmclose; 217 dbminit; 218 delete; 219 des_setparity; 220 dial; 221 doconfig; 222 endhostent; 223 endrpcent; 224 fetch; 225 firstkey; 226 gethostbyaddr_r; 227 gethostbyname_r; 228 gethostent; 229 gethostent_r; 230 get_myaddress; 231 getrpcbyname; 232 getrpcbyname_r; 233 getrpcbynumber; 234 getrpcbynumber_r; 235 getrpcent; 236 getrpcent_r; 237 h_errno { FLAGS = NODIRECT }; 238 inet_ntoa_r { TYPE = FUNCTION; FILTER = libc.so.1 }; 239 key_secretkey_is_set; 240 maxbno; 241 nc_sperror; 242 netdir_perror; 243 netdir_sperror; 244 nextkey; 245 nis_clone_object; 246 nis_destroy_object; 247 nis_dir_cmp; 248 nis_domain_of; 249 nis_leaf_of; 250 nis_leaf_of_r; 251 nis_local_directory; 252 nis_local_group; 253 nis_local_host; 254 nis_name_of; 255 pmap_getmaps; 256 pmap_getport; 257 pmap_rmtcall; 258 pmap_set; 259 pmap_unset; 260 registerrpc; 261 __rpc_createerr; 262 sethostent; 263 setrpcent; 264 store; 265 svc_auth_reg; 266 svc_control; 267 svc_destroy; 268 svc_dg_enablecache; 269 svcfd_create; 270 svc_exit; 271 svc_freeargs; 272 svc_getargs; 273 svc_getreq; 274 svc_getreq_common; 275 svc_getreq_poll; 276 svc_getrpccaller; 277 svcraw_create; 278 svc_register; 279 svctcp_create; 280 svcudp_bufcreate; 281 svcudp_create; 282 svc_unregister; 283 __t_errno; 284 t_getname; 285 t_nerr; 286 t_strerror; 287 undial; 288 xdr_destroy; 289 xdr_getpos; 290 xdr_hyper; 291 xdr_inline; 292 xdr_longlong_t; 293 xdr_quadruple; 294 xdrrec_endofrecord; 295 xdrrec_readbytes; 296 xdr_setpos; 297 xdr_sizeof; 298 xdr_u_hyper; 299 xdr_u_int; 300 xdr_u_longlong_t; 301 yp_all; 302 yp_bind; 303 yperr_string; 304 yp_first; 305 yp_get_default_domain; 306 yp_master; 307 yp_match; 308 yp_next; 309 yp_order; 310 ypprot_err; 311 yp_unbind; 312 yp_update; 313$if _sparc && _ELF32 314} SISCD_2.3; 315 316SYMBOL_VERSION SISCD_2.3 { 317 global: 318$endif 319 gethostbyaddr; 320 gethostbyname; 321 inet_addr { TYPE = FUNCTION; FILTER = libc.so.1 }; 322 inet_netof { TYPE = FUNCTION; FILTER = libc.so.1 }; 323 inet_ntoa { TYPE = FUNCTION; FILTER = libc.so.1 }; 324 _null_auth; 325 rpc_broadcast_exp; 326 svc_fdset; 327$if _ELF32 328} SYSVABI_1.3; 329 330SYMBOL_VERSION SYSVABI_1.3 { 331 global: 332$endif 333 authdes_getucred; 334 authdes_seccreate; 335 authnone_create; 336 authsys_create; 337 authsys_create_default; 338 clnt_create; 339 clnt_dg_create; 340 clnt_pcreateerror; 341 clnt_perrno; 342 clnt_perror; 343 clnt_raw_create; 344 clnt_spcreateerror; 345 clnt_sperrno; 346 clnt_sperror; 347 clnt_tli_create; 348 clnt_tp_create; 349 clnt_vc_create; 350 endnetconfig; 351 endnetpath; 352 freenetconfigent; 353 getnetconfig; 354 getnetconfigent; 355 getnetname; 356 getnetpath; 357 getpublickey; 358 getsecretkey; 359 host2netname; 360 key_decryptsession; 361 key_encryptsession; 362 key_gendes; 363 key_setsecret; 364 nc_perror; 365 _nderror; 366 netdir_free; 367 netdir_getbyaddr; 368 netdir_getbyname; 369 netdir_options; 370 netname2host; 371 netname2user; 372 rpcb_getaddr; 373 rpcb_getmaps; 374 rpcb_gettime; 375 rpcb_rmtcall; 376 rpc_broadcast; 377 rpcb_set; 378 rpcb_unset; 379 rpc_call; 380 rpc_createerr; 381 rpc_reg; 382 setnetconfig; 383 setnetpath; 384 svc_create; 385 svc_dg_create; 386 svcerr_auth; 387 svcerr_decode; 388 svcerr_noproc; 389 svcerr_noprog; 390 svcerr_progvers; 391 svcerr_systemerr; 392 svcerr_weakauth; 393 svc_fd_create; 394 svc_getreqset; 395 svc_raw_create; 396 svc_reg; 397 svc_run; 398 svc_sendreply; 399 svc_tli_create; 400 svc_tp_create; 401 svc_unreg; 402 svc_vc_create; 403 t_accept; 404 taddr2uaddr; 405 t_alloc; 406 t_bind; 407 t_close; 408 t_connect; 409 t_errno; 410 t_error; 411 t_free; 412 t_getinfo; 413 t_getstate; 414 t_listen; 415 t_look; 416 t_open; 417 t_optmgmt; 418 t_rcv; 419 t_rcvconnect; 420 t_rcvdis; 421 t_rcvrel; 422 t_rcvudata; 423 t_rcvuderr; 424 t_snd; 425 t_snddis; 426 t_sndrel; 427 t_sndudata; 428 t_sync; 429 t_unbind; 430 uaddr2taddr; 431 user2netname; 432 xdr_accepted_reply; 433 xdr_array; 434 xdr_authsys_parms; 435 xdr_bool; 436 xdr_bytes; 437 xdr_callhdr; 438 xdr_callmsg; 439 xdr_char; 440 xdr_double; 441 xdr_enum; 442 xdr_float; 443 xdr_free; 444 xdr_int; 445 xdr_long; 446 xdrmem_create; 447 xdr_opaque; 448 xdr_opaque_auth; 449 xdr_pointer; 450 xdrrec_create; 451 xdrrec_eof; 452 xdrrec_skiprecord; 453 xdr_reference; 454 xdr_rejected_reply; 455 xdr_replymsg; 456 xdr_short; 457 xdrstdio_create; 458 xdr_string; 459 xdr_u_char; 460 xdr_u_long; 461 xdr_union; 462 xdr_u_short; 463 xdr_vector; 464 xdr_void; 465 xdr_wrapstring; 466 xprt_register; 467 xprt_unregister; 468}; 469 470 471# There really should be only one SUNWprivate version. 472# Don't add any more. Add new private symbols to SUNWprivate_1.5 473 474SYMBOL_VERSION SUNWprivate_1.5 { 475 global: 476 clnt_create_service_timed; 477 inet_matchaddr; 478} SUNWprivate_1.4; 479 480SYMBOL_VERSION SUNWprivate_1.4 { 481 global: 482 _build_internal_algs; 483 _check_daemon_lock; 484 _clean_trash; 485 _create_daemon_lock; 486 _duplicate_alg; 487 _enter_daemon_lock; 488 _real_getipsecalgs; 489 _real_getipsecprotos; 490 str2hostent6; 491 _str_to_ipsec_exec_mode; 492 __yp_all_cflookup; 493} SUNWprivate_1.3; 494 495SYMBOL_VERSION SUNWprivate_1.3 { 496 global: 497 key_call_ruid; 498 key_removesecret_g_ruid; 499 key_secretkey_is_set_g_ruid; 500 key_setnet_g_ruid; 501 key_setnet_ruid; 502} SUNWprivate_1.2; 503 504SYMBOL_VERSION SUNWprivate_1.2 { 505 global: 506 _doexeclist; 507 _dup_execstr; 508 _endauthattr; 509 _endauuser; 510 _endexecattr; 511 __endhostent6; 512 _endprofattr; 513 _enduserattr; 514 _escape; 515 _exec_cleanup; 516 _exec_wild_id; 517 _fgetuserattr; 518 _free_execstr; 519 _getauthattr; 520 _getauthnam; 521 _getauuserent; 522 _getauusernam; 523 _getexecattr; 524 _getexecprof; 525 __gethostent6; 526 _getprofattr; 527 _getprofnam; 528 _getuserattr; 529 _getusernam; 530 __nis_netconfig2ep; 531 __nis_netconfig_matches_ep; 532 _readbufline; 533 __rpc_bindresvport_ipv6; 534 _setauthattr; 535 _setauuser; 536 _setexecattr; 537 __sethostent6; 538 _setprofattr; 539 _setuserattr; 540 _strdup_null; 541 _strpbrk_escape; 542 _strtok_escape; 543 _switch_getipnodebyaddr_r; 544 _switch_getipnodebyname_r; 545 _uncached_getipnodebyaddr; 546 _uncached_getipnodebyname; 547 _unescape; 548 __yp_first_cflookup; 549 __yp_match_cflookup; 550 __yp_match_rsvdport_cflookup; 551 __yp_next_cflookup; 552} SUNWprivate_1.1; 553 554SYMBOL_VERSION SUNWprivate_1.1 { 555 global: 556 __authenticate; 557 bitno; 558 blkno; 559 calchash; 560 cbc_crypt; 561 __cbc_triple_crypt; 562 check_version; 563 __clnt_create_loopback; 564 dbrdonly; 565 __des_crypt; 566 des_setparity_g; 567 dirbuf; 568 dirf; 569 ecb_crypt; 570 __empty_yp_cache; 571 firsthash; 572 __gen_common_dhkeys_g; 573 __gen_dhkeys; 574 __gen_dhkeys_g; 575 getdomainname; 576 gethostname { TYPE = FUNCTION; FILTER = libc.so.1 }; 577 _get_hostserv_inetnetdir_byaddr; 578 _get_hostserv_inetnetdir_byname; 579 __getnetnamebyuid; 580 __getpublickey_cached; 581 __getpublickey_cached_g; 582 __getpublickey_flush; 583 __getpublickey_flush_g; 584 getpublickey_g; 585 getsecretkey_g; 586 hashinc; 587 _herrno2nss; 588 hmask; 589 __inet_address_count; 590 __inet_free_local_interfaces; 591 __inet_get_addr; 592 __inet_get_local_interfaces; 593 __inet_get_networka; 594 __inet_get_uaddr; 595 __inet_uaddr_is_local; 596 key_call; 597 key_decryptsession_g; 598 key_decryptsession_pk; 599 key_decryptsession_pk_g; 600 __key_decryptsession_pk_LOCAL; 601 key_encryptsession_g; 602 key_encryptsession_pk; 603 key_encryptsession_pk_g; 604 __key_encryptsession_pk_LOCAL; 605 key_gendes_g; 606 __key_gendes_LOCAL; 607 key_get_conv; 608 key_get_conv_g; 609 key_removesecret_g; 610 key_secretkey_is_set_g; 611 key_setnet; 612 key_setnet_g; 613 key_setsecret_g; 614 makdatum; 615 __nderror; 616 __netdir_getbyaddr_nosrv; 617 __nis_authtype2mechalias; 618 __nis_clnt_create; 619 __nis_dhext_extract_pkey; 620 __nis_get_mechanism_library; 621 __nis_get_mechanisms; 622 __nis_get_mechanism_symbol; 623 nis_get_static_storage; 624 __nis_gssprin2netname; 625 __nis_keyalg2authtype; 626 __nis_keyalg2mechalias; 627 __nis_mechalias2authtype; 628 __nis_mechname2alias; 629 nis_read_obj; 630 __nis_release_mechanisms; 631 __nis_rpc_domain; 632 __nis_translate_mechanism; 633 nis_write_obj; 634 __nsl_dom; 635 __nss2herrno; 636 nss_ioctl; 637 order_haddrlist_af; 638 pagbuf; 639 pagf; 640 passwd2des; 641 passwd2des_g; 642 __rpcbind_is_up; 643 __rpc_bindresvport; 644 rpcb_taddr2uaddr; 645 rpcb_uaddr2taddr; 646 __rpc_control; 647 __rpc_dtbsize; 648 __rpc_endconf; 649 __rpcfd_to_nconf; 650 __rpc_get_a_size; 651 __rpc_getconf; 652 __rpc_getconfip; 653 __rpc_get_default_domain; 654 __rpc_get_local_uid; 655 __rpc_get_t_size; 656 __rpc_matchserv; 657 __rpc_negotiate_uid; 658 __rpc_select_to_poll; 659 __rpc_setconf; 660 __rpc_timeval_to_msec; 661 __rpc_tli_set_options; 662 rtime_tli; 663 setdomainname; 664 __seterr_reply; 665 str2hostent; 666 str2servent; 667 __svcauth_des; 668 svc_get_local_cred; 669 _svc_getreqset_proc; 670 __svc_get_svcauth; 671 __svc_set_proc_cleanup_cb; 672 __svc_vc_dup; 673 __svc_vc_dupcache_init; 674 __svc_vc_dupdone; 675 svc_xprt_alloc; 676 svc_xprt_free; 677 _switch_gethostbyaddr_r; 678 _switch_gethostbyname_r; 679 t_errlist; 680 tiusr_statetbl; 681 _uncached_gethostbyaddr_r; 682 _uncached_gethostbyname_r; 683 usingypmap; 684 xdecrypt; 685 xdecrypt_g; 686 xdr_authdes_cred; 687 xdr_authdes_verf; 688 xdr_cryptkeyarg; 689 xdr_cryptkeyarg2; 690 xdr_cryptkeyarg3; 691 xdr_cryptkeyres; 692 xdr_cryptkeyres3; 693 xdr_datum; 694 xdr_des_block; 695 xdr_deskeyarg3; 696 xdr_deskeyarray; 697 xdr_directory_obj; 698 xdr_endpoint; 699 xdr_entry_obj; 700 xdr_getcredres; 701 xdr_getcredres3; 702 xdr_gid_t; 703 xdr_int16_t; 704 xdr_int32_t; 705 xdr_int64_t; 706 xdr_int8_t; 707 xdr_keybuf; 708 xdr_keybuf3; 709 xdr_key_netstarg; 710 xdr_key_netstarg3; 711 xdr_key_netstres; 712 xdr_key_netstres3; 713 xdr_keynum_t; 714 xdr_keystatus; 715 xdr_mechtype; 716 xdr_netbuf; 717 xdr_netnamestr; 718 xdr_netobj; 719 xdr_nis_attr; 720 xdr_nis_name; 721 xdr_nis_object; 722 xdr_nis_oid; 723 xdr_nis_server; 724 xdr_objdata; 725 xdr_pmap; 726 xdr_pmaplist; 727 xdr_pmaplist_ptr; 728 xdr_rmtcallargs; 729 xdr_rmtcallres; 730 xdr_rpcb; 731 xdr_rpcb_entry; 732 xdr_rpcb_entry_list_ptr; 733 xdr_rpcblist; 734 xdr_rpcblist_ptr; 735 xdr_rpcb_rmtcallargs; 736 xdr_rpcb_rmtcallres; 737 xdr_rpcbs_addrlist; 738 xdr_rpcbs_addrlist_ptr; 739 xdr_rpcbs_proc; 740 xdr_rpcbs_rmtcalllist; 741 xdr_rpcbs_rmtcalllist_ptr; 742 xdr_rpcb_stat; 743 xdr_rpcb_stat_byvers; 744 xdr_setkeyarg3; 745 xdr_table_obj; 746 xdr_uid_t; 747 xdr_uint16_t; 748 xdr_uint32_t; 749 xdr_uint64_t; 750 xdr_uint8_t; 751 xdr_ulonglong_t; 752 xdr_unixcred; 753 xdr_ypall; 754 xdr_ypbind_domain; 755 xdr_ypbind_resp; 756 xdr_ypbind_resptype; 757 xdr_ypbind_setdom; 758 xdr_yp_buf; 759 xdr_ypdelete_args; 760 xdr_ypdomain_wrap_string; 761 xdr_ypmap_parms; 762 xdr_ypmap_wrap_string; 763 xdr_ypowner_wrap_string; 764 xdr_yppasswd; 765 xdr_yppushresp_xfr; 766 xdr_ypreq_key; 767 xdr_ypreq_newxfr; 768 xdr_ypreq_nokey; 769 xdr_ypreq_xfr; 770 xdr_ypresp_key_val; 771 xdr_ypresp_maplist; 772 xdr_ypresp_master; 773 xdr_ypresp_order; 774 xdr_ypresp_val; 775 xdr_ypupdate_args; 776 xencrypt; 777 xencrypt_g; 778 __yp_add_binding; 779 __yp_all_rsvdport; 780 ypbindproc_domain_3; 781 __yp_clnt_create_rsvdport; 782 __yp_dobind; 783 __yp_master_rsvdport; 784 yp_match_rsvdport; 785 __yp_rel_binding; 786 local: 787 *; 788}; 789