xref: /illumos-gate/usr/src/lib/libadm/common/mapfile-vers (revision 8222814ef8560ee0ba222eca8ca5acffc6cd0e44)
1f808c858Sraf#
2f808c858Sraf# CDDL HEADER START
3f808c858Sraf#
4f808c858Sraf# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
7f808c858Sraf#
8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f808c858Sraf# or http://www.opensolaris.org/os/licensing.
10f808c858Sraf# See the License for the specific language governing permissions
11f808c858Sraf# and limitations under the License.
12f808c858Sraf#
13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each
14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the
16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18f808c858Sraf#
19f808c858Sraf# CDDL HEADER END
20f808c858Sraf#
21f808c858Sraf#
22cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23f808c858Sraf#
24342440ecSPrasad Singamsetty
25bfed486aSAli Bahrami#
26bfed486aSAli Bahrami# MAPFILE HEADER START
27bfed486aSAli Bahrami#
28bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
32bfed486aSAli Bahrami#
33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami# MAPFILE HEADER END
37bfed486aSAli Bahrami#
38bfed486aSAli Bahrami
39cd3e9333SAli Bahrami$mapfile_version 2
40cd3e9333SAli Bahrami
41cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 {
42342440ecSPrasad Singamsetty    global:
43342440ecSPrasad Singamsetty	read_extvtoc;
44342440ecSPrasad Singamsetty	write_extvtoc;
45342440ecSPrasad Singamsetty} SUNW_1.1;
46f808c858Sraf
47f808c858Sraf# Due to mistakes made early in the history of this library, there are
48f808c858Sraf# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
49f808c858Sraf# Don't add any symbols to this version.
50f808c858Sraf
51cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
52f808c858Sraf    global:
53f808c858Sraf	SUNW_1.1;
54f808c858Sraf} SUNW_0.7;
55f808c858Sraf
56cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
57f808c858Sraf    global:
58*8222814eSRichard Lowe	pkgdir	{ ASSERT = { TYPE = OBJECT; SIZE = addrsize; }; };
59f808c858Sraf	read_vtoc;
60f808c858Sraf	write_vtoc;
61f808c858Sraf};
62f808c858Sraf
63cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
64f808c858Sraf    global:
65f808c858Sraf	_adddevtabrec;
66f808c858Sraf	_adddgrptabrec;
67f808c858Sraf	allocmenu;
68f808c858Sraf	ckdate;
69f808c858Sraf	ckdate_err;
70f808c858Sraf	ckdate_hlp;
71f808c858Sraf	ckdate_val;
72f808c858Sraf	ckgid;
73f808c858Sraf	ckgid_dsp;
74f808c858Sraf	ckgid_err;
75f808c858Sraf	ckgid_hlp;
76f808c858Sraf	ckgid_val;
77*8222814eSRichard Lowe	ckindent	{
78*8222814eSRichard Lowe			  ASSERT = {
79*8222814eSRichard Lowe				  TYPE = OBJECT;
80*8222814eSRichard Lowe				  SIZE = 4;
81*8222814eSRichard Lowe				};
82*8222814eSRichard Lowe			};
83f808c858Sraf	ckint;
84f808c858Sraf	ckint_err;
85f808c858Sraf	ckint_hlp;
86f808c858Sraf	ckint_val;
87f808c858Sraf	ckitem;
88f808c858Sraf	ckitem_err;
89f808c858Sraf	ckitem_hlp;
90f808c858Sraf	ckkeywd;
91f808c858Sraf	ckpath;
92f808c858Sraf	ckpath_err;
93f808c858Sraf	ckpath_hlp;
94f808c858Sraf	ckpath_stx;
95f808c858Sraf	ckpath_val;
96*8222814eSRichard Lowe	ckquit		{
97*8222814eSRichard Lowe			  ASSERT = {
98*8222814eSRichard Lowe				  TYPE = OBJECT;
99*8222814eSRichard Lowe				  SIZE = 4;
100*8222814eSRichard Lowe				};
101*8222814eSRichard Lowe			};
102f808c858Sraf	ckrange;
103f808c858Sraf	ckrange_err;
104f808c858Sraf	ckrange_hlp;
105f808c858Sraf	ckrange_val;
106f808c858Sraf	ckstr;
107f808c858Sraf	ckstr_err;
108f808c858Sraf	ckstr_hlp;
109f808c858Sraf	ckstr_val;
110f808c858Sraf	cktime;
111f808c858Sraf	cktime_err;
112f808c858Sraf	cktime_hlp;
113f808c858Sraf	cktime_val;
114f808c858Sraf	ckuid;
115f808c858Sraf	ckuid_dsp;
116f808c858Sraf	ckuid_err;
117f808c858Sraf	ckuid_hlp;
118f808c858Sraf	ckuid_val;
119*8222814eSRichard Lowe	ckwidth		{
120*8222814eSRichard Lowe			  ASSERT = {
121*8222814eSRichard Lowe				  TYPE = OBJECT;
122*8222814eSRichard Lowe				  SIZE = 4;
123*8222814eSRichard Lowe				};
124*8222814eSRichard Lowe			};
125f808c858Sraf	ckyorn;
126f808c858Sraf	ckyorn_err;
127f808c858Sraf	ckyorn_hlp;
128f808c858Sraf	ckyorn_val;
129f808c858Sraf	devattr;
130f808c858Sraf	devfree;
131f808c858Sraf	devreserv;
132f808c858Sraf	_devtabpath;
133f808c858Sraf	_dgrptabpath;
134f808c858Sraf	_enddevtab;
135f808c858Sraf	fpkginfo;
136f808c858Sraf	fpkginst;
137f808c858Sraf	fpkgparam;
138f808c858Sraf	get_ABI_namelngth;
139f808c858Sraf	getdev;
140f808c858Sraf	getdgrp;
141f808c858Sraf	getfullblkname;
142f808c858Sraf	getfullrawname;
143f808c858Sraf	getinput;
144f808c858Sraf	get_install_root;
145f808c858Sraf	get_PKGADM;
146f808c858Sraf	get_PKGLOC;
147f808c858Sraf	getvol;
148f808c858Sraf	_getvol;
149f808c858Sraf	listdev;
150f808c858Sraf	listdgrp;
151f808c858Sraf	_moddevtabrec;
152f808c858Sraf	_opendevtab;
153f808c858Sraf	_opendgrptab;
154*8222814eSRichard Lowe	pkgfile		{
155*8222814eSRichard Lowe			  ASSERT = {
156*8222814eSRichard Lowe				  TYPE = OBJECT;
157*8222814eSRichard Lowe				  SIZE = addrsize;
158*8222814eSRichard Lowe				};
159*8222814eSRichard Lowe			};
160f808c858Sraf	pkginfo;
161f808c858Sraf	pkginfofind;
162f808c858Sraf	pkgnmchk;
163f808c858Sraf	pkgparam;
164f808c858Sraf	printmenu;
165f808c858Sraf	puterror;
166f808c858Sraf	puthelp;
167f808c858Sraf	putprmpt;
168f808c858Sraf	puttext;
169f808c858Sraf	reservdev;
170f808c858Sraf	_rmdevtabattrs;
171f808c858Sraf	_rmdevtabrec;
172f808c858Sraf	_rmdgrpmems;
173f808c858Sraf	_rmdgrptabrec;
174f808c858Sraf	_rsvtabpath;
175f808c858Sraf	set_ABI_namelngth;
176f808c858Sraf	set_install_root;
177f808c858Sraf	setinvis;
178f808c858Sraf	setitem;
179f808c858Sraf	set_PKGADM;
180f808c858Sraf	set_PKGLOC;
181f808c858Sraf	set_PKGpaths;
182f808c858Sraf	_validalias;
183f808c858Sraf    local:
184f808c858Sraf	*;
185f808c858Sraf};
186cd3e9333SAli Bahrami
187cd3e9333SAli Bahrami
188cd3e9333SAli Bahrami$if _sparc || (_x86 && _ELF32)
189cd3e9333SAli Bahrami# The following applies to sparc (32/64-bit), and 32-bit x86:
190cd3e9333SAli Bahrami#
191cd3e9333SAli Bahrami# It was a mistake ever to have exported these symbols from libadm.
192cd3e9333SAli Bahrami# They are now being redirected to libgen where they really belong,
193cd3e9333SAli Bahrami# except for 'circf' and 'sed', which do not exist in libgen and
194cd3e9333SAli Bahrami# are being retained as dummy variables in libadm.
195cd3e9333SAli Bahrami
196cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
197cd3e9333SAli Bahrami    global:
198*8222814eSRichard Lowe	circf	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
199*8222814eSRichard Lowe	sed	{ ASSERT = { TYPE = OBJECT; SIZE = 4; }; };
200*8222814eSRichard Lowe	nbra	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
201*8222814eSRichard Lowe	loc1	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
202*8222814eSRichard Lowe	loc2	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
203*8222814eSRichard Lowe	locs	{ TYPE = DATA; FILTER = libgen.so.1; SIZE = addrsize; };
204cd3e9333SAli Bahrami};
205cd3e9333SAli Bahrami
206cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
207cd3e9333SAli Bahrami    global:
208*8222814eSRichard Lowe	advance	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
209*8222814eSRichard Lowe	compile	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
210*8222814eSRichard Lowe	step	{ TYPE = FUNCTION; FILTER = libgen.so.1; };
211cd3e9333SAli Bahrami};
212cd3e9333SAli Bahrami$endif
213