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