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