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 2024 Oxide Computer Company
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 SUNWprivate_1.1 {
43    global:
44	addipsecalg;
45	addipsecproto;
46	bail;
47	bail_msg;
48	dbgstr2num;
49	delipsecalgbyname;
50	delipsecalgbynum;
51	delipsecprotobyname;
52	delipsecprotobynum;
53	do_inet_ntop;
54	do_interactive;
55	dump_aalg;
56	dump_ealg;
57	dump_tcpsigalg;
58	dump_key;
59	dump_keystr;
60	dump_sadb_idtype;
61	dump_sockaddr;
62$if _x86 && _ELF64
63	env		{ ASSERT = { TYPE = OBJECT; SIZE = 64; }; };
64$elif _x86 && _ELF32
65	env		{ ASSERT = { TYPE = OBJECT; SIZE = 40; }; };
66$elif _sparc && _ELF64
67	env		{ ASSERT = { TYPE = OBJECT; SIZE = 96; }; };
68$elif _sparc && _ELF32
69	env		{ ASSERT = { TYPE = OBJECT; SIZE = 48; }; };
70$else
71$error Unknown architecture
72$endif
73	_errfp		{ TYPE = FUNCTION; FILTER = libc.so.1; };
74	_errxfp		{ TYPE = FUNCTION; FILTER = libc.so.1; };
75	getipsecalgs;
76	getipsecprotos;
77	gettcpsigalgbyname;
78	gettcpsigalgbynum;
79	in_masktoprefix;
80	interactive	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
81	ipsecalgs_diag;
82	ipsecproto_get_exec_mode;
83	ipsecproto_set_exec_mode;
84	ipsecutil_exit;
85	ipsec_convert_sens_to_bslabel;
86	ipsec_convert_bslabel_to_string;
87	ipsec_convert_bslabel_to_hex;
88	ipsec_convert_sl_to_sens;
89	keysock_diag;
90	kmc_insert_mapping;
91	kmc_lookup_by_cookie;
92	lineno		{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
93	lines_added	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
94	lines_parsed	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
95	list_ints;
96	nflag		{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
97	bytecnt2out;
98	bytecnt2str;
99	debugfile	{
100			  ASSERT = {
101				  TYPE = OBJECT;
102				  SIZE = addrsize;
103				};
104			};
105	my_fmri		{
106			  ASSERT = {
107				  TYPE = OBJECT;
108				  SIZE = addrsize;
109				};
110			};
111	opensavefile;
112	parsedbgopts;
113	pflag		{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
114	print_address;
115	print_asn1_name;
116	print_diagnostic;
117	print_eprop;
118	print_ident;
119	print_key;
120	print_keystr;
121	print_kmc;
122	print_lifetimes;
123	print_prop;
124	print_sa;
125	print_sadb_msg;
126	print_samsg;
127	print_sens;
128	print_spirange;
129	print_supp;
130	printsatime;
131	privstr2num;
132	readfile	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
133	rparsealg;
134	rparsetcpsigalg;
135	rparseidtype;
136	rparsesatype;
137	save_address;
138	save_assoc;
139	save_ident;
140	save_key;
141	save_keystr;
142	save_lifetime;
143	secs2out;
144	secs2str;
145	spdsock_diag;
146	spdsock_get_ext;
147	_verrfp		{ TYPE = FUNCTION; FILTER = libc.so.1; };
148	_verrxfp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
149	_vwarnfp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
150	_vwarnxfp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
151	_warnfp		{ TYPE = FUNCTION; FILTER = libc.so.1; };
152	_warnxfp	{ TYPE = FUNCTION; FILTER = libc.so.1; };
153    local:
154	*;
155};
156