xref: /illumos-gate/usr/src/lib/libadm/common/mapfile-vers (revision d8e10381a0083d7717710b0db7e64707bc0f3ff8)
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# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41SYMBOL_VERSION SUNW_1.2 {
42    global:
43	read_extvtoc;
44	write_extvtoc;
45} SUNW_1.1;
46
47# Due to mistakes made early in the history of this library, there are
48# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
49# Don't add any symbols to this version.
50
51SYMBOL_VERSION SUNW_1.1 {
52    global:
53	SUNW_1.1;
54} SUNW_0.7;
55
56SYMBOL_VERSION SUNW_0.7 {
57    global:
58	pkgdir	{ ASSERT = { TYPE = OBJECT; SIZE = addrsize; }; };
59	read_vtoc;
60	write_vtoc;
61};
62
63SYMBOL_VERSION SUNWprivate_1.1 {
64    global:
65	_adddevtabrec;
66	_adddgrptabrec;
67	allocmenu;
68	ckdate;
69	ckdate_err;
70	ckdate_hlp;
71	ckdate_val;
72	ckgid;
73	ckgid_dsp;
74	ckgid_err;
75	ckgid_hlp;
76	ckgid_val;
77	ckindent	{
78			  ASSERT = {
79				  TYPE = OBJECT;
80				  SIZE = 4;
81				};
82			};
83	ckint;
84	ckint_err;
85	ckint_hlp;
86	ckint_val;
87	ckitem;
88	ckitem_err;
89	ckitem_hlp;
90	ckkeywd;
91	ckpath;
92	ckpath_err;
93	ckpath_hlp;
94	ckpath_stx;
95	ckpath_val;
96	ckquit		{
97			  ASSERT = {
98				  TYPE = OBJECT;
99				  SIZE = 4;
100				};
101			};
102	ckrange;
103	ckrange_err;
104	ckrange_hlp;
105	ckrange_val;
106	ckstr;
107	ckstr_err;
108	ckstr_hlp;
109	ckstr_val;
110	cktime;
111	cktime_err;
112	cktime_hlp;
113	cktime_val;
114	ckuid;
115	ckuid_dsp;
116	ckuid_err;
117	ckuid_hlp;
118	ckuid_val;
119	ckwidth		{
120			  ASSERT = {
121				  TYPE = OBJECT;
122				  SIZE = 4;
123				};
124			};
125	ckyorn;
126	ckyorn_err;
127	ckyorn_hlp;
128	ckyorn_val;
129	devattr;
130	devfree;
131	devreserv;
132	_devtabpath;
133	_dgrptabpath;
134	_enddevtab;
135	fpkginfo;
136	fpkginst;
137	fpkgparam;
138	get_ABI_namelngth;
139	getdev;
140	getdgrp;
141	getfullblkname;
142	getfullrawname;
143	getinput;
144	get_install_root;
145	get_PKGADM;
146	get_PKGLOC;
147	getvol;
148	_getvol;
149	listdev;
150	listdgrp;
151	_moddevtabrec;
152	_opendevtab;
153	_opendgrptab;
154	pkgfile		{
155			  ASSERT = {
156				  TYPE = OBJECT;
157				  SIZE = addrsize;
158				};
159			};
160	pkginfo;
161	pkginfofind;
162	pkgnmchk;
163	pkgparam;
164	printmenu;
165	puterror;
166	puthelp;
167	putprmpt;
168	puttext;
169	reservdev;
170	_rmdevtabattrs;
171	_rmdevtabrec;
172	_rmdgrpmems;
173	_rmdgrptabrec;
174	_rsvtabpath;
175	set_ABI_namelngth;
176	set_install_root;
177	setinvis;
178	setitem;
179	set_PKGADM;
180	set_PKGLOC;
181	set_PKGpaths;
182	_validalias;
183    local:
184	*;
185};
186
187
188$if _sparc || (_x86 && _ELF32)
189# The following applies to sparc (32/64-bit), and 32-bit x86:
190#
191# It was a mistake ever to have exported these symbols from libadm.
192# They are now being redirected to libgen where they really belong,
193# except for 'circf' and 'sed', which do not exist in libgen and
194# are being retained as dummy variables in libadm.
195
196SYMBOL_VERSION SUNW_0.7 {
197    global:
198	circf	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
199	sed	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
200	nbra	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
201	loc1	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
202	loc2	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
203	locs	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
204};
205
206SYMBOL_VERSION SUNWprivate_1.1 {
207    global:
208	advance	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
209	compile	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
210	step	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
211};
212$endif
213