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# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
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	inet_matchaddr;
472} SUNWprivate_1.4;
473
474SYMBOL_VERSION SUNWprivate_1.4 {
475    global:
476	_build_internal_algs;
477	_check_daemon_lock;
478	_clean_trash;
479	_create_daemon_lock;
480	_duplicate_alg;
481	_enter_daemon_lock;
482	_real_getipsecalgs;
483	_real_getipsecprotos;
484	str2hostent6;
485	_str_to_ipsec_exec_mode;
486	__yp_all_cflookup;
487} SUNWprivate_1.3;
488
489SYMBOL_VERSION SUNWprivate_1.3 {
490    global:
491	key_call_ruid;
492	key_removesecret_g_ruid;
493	key_secretkey_is_set_g_ruid;
494	key_setnet_g_ruid;
495	key_setnet_ruid;
496} SUNWprivate_1.2;
497
498SYMBOL_VERSION SUNWprivate_1.2 {
499    global:
500	_doexeclist;
501	_dup_execstr;
502	_endauthattr;
503	_endauuser;
504	_endexecattr;
505	__endhostent6;
506	_endprofattr;
507	_enduserattr;
508	_escape;
509	_exec_cleanup;
510	_exec_wild_id;
511	_fgetuserattr;
512	_free_execstr;
513	_getauthattr;
514	_getauthnam;
515	_getauuserent;
516	_getauusernam;
517	_getexecattr;
518	_getexecprof;
519	__gethostent6;
520	_getprofattr;
521	_getprofnam;
522	_getuserattr;
523	_getusernam;
524	__nis_netconfig2ep;
525	__nis_netconfig_matches_ep;
526	_readbufline;
527	__rpc_bindresvport_ipv6;
528	_setauthattr;
529	_setauuser;
530	_setexecattr;
531	__sethostent6;
532	_setprofattr;
533	_setuserattr;
534	_strdup_null;
535	_strpbrk_escape;
536	_strtok_escape;
537	_switch_getipnodebyaddr_r;
538	_switch_getipnodebyname_r;
539	_uncached_getipnodebyaddr;
540	_uncached_getipnodebyname;
541	_unescape;
542	__yp_first_cflookup;
543	__yp_match_cflookup;
544	__yp_match_rsvdport_cflookup;
545	__yp_next_cflookup;
546} SUNWprivate_1.1;
547
548SYMBOL_VERSION SUNWprivate_1.1 {
549    global:
550	__authenticate;
551	bitno;
552	blkno;
553	calchash;
554	cbc_crypt;
555	__cbc_triple_crypt;
556	check_version;
557	__clnt_create_loopback;
558	dbrdonly;
559	__des_crypt;
560	des_setparity_g;
561	dirbuf;
562	dirf;
563	ecb_crypt;
564	__empty_yp_cache;
565	firsthash;
566	__gen_common_dhkeys_g;
567	__gen_dhkeys;
568	__gen_dhkeys_g;
569	getdomainname;
570	gethostname		{ TYPE = FUNCTION; FILTER = libc.so.1 };
571	_get_hostserv_inetnetdir_byaddr;
572	_get_hostserv_inetnetdir_byname;
573	__getnetnamebyuid;
574	__getpublickey_cached;
575	__getpublickey_cached_g;
576        __getpublickey_flush;
577        __getpublickey_flush_g;
578	getpublickey_g;
579	getsecretkey_g;
580	hashinc;
581	_herrno2nss;
582	hmask;
583	__inet_address_count;
584	__inet_free_local_interfaces;
585	__inet_get_addr;
586	__inet_get_local_interfaces;
587	__inet_get_networka;
588	__inet_get_uaddr;
589	__inet_uaddr_is_local;
590	key_call;
591	key_decryptsession_g;
592	key_decryptsession_pk;
593	key_decryptsession_pk_g;
594	__key_decryptsession_pk_LOCAL;
595	key_encryptsession_g;
596	key_encryptsession_pk;
597	key_encryptsession_pk_g;
598	__key_encryptsession_pk_LOCAL;
599	key_gendes_g;
600	__key_gendes_LOCAL;
601	key_get_conv;
602	key_get_conv_g;
603	key_removesecret_g;
604	key_secretkey_is_set_g;
605	key_setnet;
606	key_setnet_g;
607	key_setsecret_g;
608	makdatum;
609	__nderror;
610	__netdir_getbyaddr_nosrv;
611	__nis_authtype2mechalias;
612	__nis_clnt_create;
613	__nis_dhext_extract_pkey;
614	__nis_get_mechanism_library;
615	__nis_get_mechanisms;
616	__nis_get_mechanism_symbol;
617        nis_get_static_storage;
618	__nis_gssprin2netname;
619	__nis_keyalg2authtype;
620	__nis_keyalg2mechalias;
621	__nis_mechalias2authtype;
622	__nis_mechname2alias;
623        nis_read_obj;
624	__nis_release_mechanisms;
625	__nis_rpc_domain;
626	__nis_translate_mechanism;
627        nis_write_obj;
628	__nsl_dom;
629	__nss2herrno;
630	nss_ioctl;
631	order_haddrlist_af;
632	pagbuf;
633	pagf;
634	passwd2des;
635	passwd2des_g;
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_set_proc_cleanup_cb;
666	__svc_vc_dup;
667	__svc_vc_dupcache_init;
668	__svc_vc_dupdone;
669	svc_xprt_alloc;
670	svc_xprt_free;
671	_switch_gethostbyaddr_r;
672	_switch_gethostbyname_r;
673	t_errlist;
674	tiusr_statetbl;
675	_uncached_gethostbyaddr_r;
676	_uncached_gethostbyname_r;
677	usingypmap;
678	xdecrypt;
679	xdecrypt_g;
680	xdr_authdes_cred;
681	xdr_authdes_verf;
682	xdr_cryptkeyarg;
683	xdr_cryptkeyarg2;
684	xdr_cryptkeyarg3;
685	xdr_cryptkeyres;
686	xdr_cryptkeyres3;
687	xdr_datum;
688	xdr_des_block;
689	xdr_deskeyarg3;
690	xdr_deskeyarray;
691	xdr_directory_obj;
692	xdr_endpoint;
693	xdr_entry_obj;
694	xdr_getcredres;
695	xdr_getcredres3;
696	xdr_gid_t;
697	xdr_int16_t;
698	xdr_int32_t;
699	xdr_int64_t;
700	xdr_int8_t;
701	xdr_keybuf;
702	xdr_keybuf3;
703	xdr_key_netstarg;
704	xdr_key_netstarg3;
705	xdr_key_netstres;
706	xdr_key_netstres3;
707	xdr_keynum_t;
708	xdr_keystatus;
709	xdr_mechtype;
710	xdr_netbuf;
711	xdr_netnamestr;
712	xdr_netobj;
713	xdr_nis_attr;
714	xdr_nis_name;
715	xdr_nis_object;
716	xdr_nis_oid;
717	xdr_nis_server;
718	xdr_objdata;
719	xdr_pmap;
720	xdr_pmaplist;
721	xdr_pmaplist_ptr;
722	xdr_rmtcallargs;
723	xdr_rmtcallres;
724	xdr_rpcb;
725	xdr_rpcb_entry;
726	xdr_rpcb_entry_list_ptr;
727	xdr_rpcblist;
728	xdr_rpcblist_ptr;
729	xdr_rpcb_rmtcallargs;
730	xdr_rpcb_rmtcallres;
731	xdr_rpcbs_addrlist;
732	xdr_rpcbs_addrlist_ptr;
733	xdr_rpcbs_proc;
734	xdr_rpcbs_rmtcalllist;
735	xdr_rpcbs_rmtcalllist_ptr;
736	xdr_rpcb_stat;
737	xdr_rpcb_stat_byvers;
738	xdr_setkeyarg3;
739	xdr_table_obj;
740	xdr_uid_t;
741	xdr_uint16_t;
742	xdr_uint32_t;
743	xdr_uint64_t;
744	xdr_uint8_t;
745	xdr_ulonglong_t;
746	xdr_unixcred;
747	xdr_ypall;
748	xdr_ypbind_domain;
749	xdr_ypbind_resp;
750	xdr_ypbind_resptype;
751	xdr_ypbind_setdom;
752	xdr_yp_buf;
753	xdr_ypdelete_args;
754	xdr_ypdomain_wrap_string;
755	xdr_ypmap_parms;
756	xdr_ypmap_wrap_string;
757	xdr_ypowner_wrap_string;
758	xdr_yppasswd;
759	xdr_yppushresp_xfr;
760	xdr_ypreq_key;
761	xdr_ypreq_newxfr;
762	xdr_ypreq_nokey;
763	xdr_ypreq_xfr;
764	xdr_ypresp_key_val;
765	xdr_ypresp_maplist;
766	xdr_ypresp_master;
767	xdr_ypresp_order;
768	xdr_ypresp_val;
769	xdr_ypupdate_args;
770	xencrypt;
771	xencrypt_g;
772	__yp_add_binding;
773	__yp_all_rsvdport;
774	ypbindproc_domain_3;
775	__yp_clnt_create_rsvdport;
776	__yp_dobind;
777	__yp_master_rsvdport;
778	yp_match_rsvdport;
779	__yp_rel_binding;
780    local:
781	*;
782};
783