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# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
22#
23
24#
25# MAPFILE HEADER START
26#
27# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
28# Object versioning must comply with the rules detailed in
29#
30#	usr/src/lib/README.mapfiles
31#
32# You should not be making modifications here until you've read the most current
33# copy of that file. If you need help, contact a gatekeeper for guidance.
34#
35# MAPFILE HEADER END
36#
37
38$mapfile_version 2
39
40#
41# DO NOT TOUCH THIS FILE.
42# This file declares interfaces that are cast in stone.
43# They offer interfaces that will never change.
44# DO NOT TOUCH THIS FILE.
45#
46
47SYMBOL_VERSION SUNW_1.4 {
48    global:
49	cond_reltimedwait			{ TYPE = FUNCTION };
50	pthread_cond_reltimedwait_np		{ TYPE = FUNCTION };
51    local:
52	*;
53} SUNW_1.3;
54
55SYMBOL_VERSION SUNW_1.3 {
56    global:
57	pthread_mutexattr_getrobust_np		{ TYPE = FUNCTION };
58	pthread_mutexattr_setrobust_np		{ TYPE = FUNCTION };
59	pthread_mutex_consistent_np		{ TYPE = FUNCTION };
60} SUNW_1.2;
61
62SYMBOL_VERSION SUNW_1.2 {
63    global:
64	getmsg					{ TYPE = FUNCTION };
65	getpmsg					{ TYPE = FUNCTION };
66	lockf					{ TYPE = FUNCTION };
67	msgrcv					{ TYPE = FUNCTION };
68	msgsnd					{ TYPE = FUNCTION };
69	poll					{ TYPE = FUNCTION };
70	pread					{ TYPE = FUNCTION };
71	pthread_attr_getguardsize		{ TYPE = FUNCTION };
72	pthread_attr_setguardsize		{ TYPE = FUNCTION };
73	pthread_getconcurrency			{ TYPE = FUNCTION };
74	pthread_mutexattr_gettype		{ TYPE = FUNCTION };
75	pthread_mutexattr_settype		{ TYPE = FUNCTION };
76	pthread_rwlockattr_destroy		{ TYPE = FUNCTION };
77	pthread_rwlockattr_getpshared		{ TYPE = FUNCTION };
78	pthread_rwlockattr_init			{ TYPE = FUNCTION };
79	pthread_rwlockattr_setpshared		{ TYPE = FUNCTION };
80	pthread_rwlock_destroy			{ TYPE = FUNCTION };
81	pthread_rwlock_init			{ TYPE = FUNCTION };
82	pthread_rwlock_rdlock			{ TYPE = FUNCTION };
83	pthread_rwlock_tryrdlock		{ TYPE = FUNCTION };
84	pthread_rwlock_trywrlock		{ TYPE = FUNCTION };
85	pthread_rwlock_unlock			{ TYPE = FUNCTION };
86	pthread_rwlock_wrlock			{ TYPE = FUNCTION };
87	pthread_setconcurrency			{ TYPE = FUNCTION };
88	putmsg					{ TYPE = FUNCTION };
89	putpmsg					{ TYPE = FUNCTION };
90	pwrite					{ TYPE = FUNCTION };
91	readv					{ TYPE = FUNCTION };
92	select					{ TYPE = FUNCTION };
93	sigpause				{ TYPE = FUNCTION };
94	usleep					{ TYPE = FUNCTION };
95	wait3					{ TYPE = FUNCTION };
96	waitid					{ TYPE = FUNCTION };
97	writev					{ TYPE = FUNCTION };
98	__xpg4_putmsg				{ TYPE = FUNCTION };
99	__xpg4_putpmsg				{ TYPE = FUNCTION };
100
101$if _ELF32		# largefile APIs
102	lockf64					{ TYPE = FUNCTION };
103	pread64					{ TYPE = FUNCTION };
104	pwrite64				{ TYPE = FUNCTION };
105$endif
106} SUNW_1.1;
107
108SYMBOL_VERSION SUNW_1.1 {
109    global:
110$if _ELF32		# largefile APIs
111	creat64					{ TYPE = FUNCTION };
112	open64					{ TYPE = FUNCTION };
113$else
114	SUNW_1.1;
115$endif
116} SUNW_0.9;
117
118SYMBOL_VERSION SUNW_0.9 {
119    global:
120	alarm					{ TYPE = FUNCTION };
121	close					{ TYPE = FUNCTION };
122	cond_broadcast				{ TYPE = FUNCTION };
123	cond_destroy				{ TYPE = FUNCTION };
124	cond_init				{ TYPE = FUNCTION };
125	cond_signal				{ TYPE = FUNCTION };
126	cond_timedwait				{ TYPE = FUNCTION };
127	cond_wait				{ TYPE = FUNCTION };
128	creat					{ TYPE = FUNCTION };
129	fcntl					{ TYPE = FUNCTION };
130	fork					{ TYPE = FUNCTION };
131	fork1					{ TYPE = FUNCTION };
132	fsync					{ TYPE = FUNCTION };
133	_getfp					{ TYPE = FUNCTION };
134	msync					{ TYPE = FUNCTION };
135	mutex_destroy				{ TYPE = FUNCTION };
136	mutex_init				{ TYPE = FUNCTION };
137	_mutex_lock				{ TYPE = FUNCTION };
138	mutex_lock				{ TYPE = FUNCTION };
139	mutex_trylock				{ TYPE = FUNCTION };
140	mutex_unlock				{ TYPE = FUNCTION };
141	open					{ TYPE = FUNCTION };
142	pause					{ TYPE = FUNCTION };
143	pthread_attr_destroy			{ TYPE = FUNCTION };
144	pthread_attr_getdetachstate		{ TYPE = FUNCTION };
145	pthread_attr_getinheritsched		{ TYPE = FUNCTION };
146	pthread_attr_getschedparam		{ TYPE = FUNCTION };
147	pthread_attr_getschedpolicy		{ TYPE = FUNCTION };
148	pthread_attr_getscope			{ TYPE = FUNCTION };
149	pthread_attr_getstackaddr		{ TYPE = FUNCTION };
150	pthread_attr_getstacksize		{ TYPE = FUNCTION };
151	pthread_attr_init			{ TYPE = FUNCTION };
152	pthread_attr_setdetachstate		{ TYPE = FUNCTION };
153	pthread_attr_setinheritsched		{ TYPE = FUNCTION };
154	pthread_attr_setschedparam		{ TYPE = FUNCTION };
155	pthread_attr_setschedpolicy		{ TYPE = FUNCTION };
156	pthread_attr_setscope			{ TYPE = FUNCTION };
157	pthread_attr_setstackaddr		{ TYPE = FUNCTION };
158	pthread_attr_setstacksize		{ TYPE = FUNCTION };
159	pthread_cancel				{ TYPE = FUNCTION };
160	__pthread_cleanup_pop			{ TYPE = FUNCTION };
161	__pthread_cleanup_push			{ TYPE = FUNCTION };
162	pthread_condattr_destroy		{ TYPE = FUNCTION };
163	pthread_condattr_getpshared		{ TYPE = FUNCTION };
164	pthread_condattr_init			{ TYPE = FUNCTION };
165	pthread_condattr_setpshared		{ TYPE = FUNCTION };
166	pthread_cond_broadcast			{ TYPE = FUNCTION };
167	pthread_cond_destroy			{ TYPE = FUNCTION };
168	pthread_cond_init			{ TYPE = FUNCTION };
169	pthread_cond_signal			{ TYPE = FUNCTION };
170	pthread_cond_timedwait			{ TYPE = FUNCTION };
171	pthread_cond_wait			{ TYPE = FUNCTION };
172	pthread_create				{ TYPE = FUNCTION };
173	pthread_detach				{ TYPE = FUNCTION };
174	pthread_equal				{ TYPE = FUNCTION };
175	pthread_exit				{ TYPE = FUNCTION };
176	pthread_getschedparam			{ TYPE = FUNCTION };
177	pthread_getspecific			{ TYPE = FUNCTION };
178	pthread_join				{ TYPE = FUNCTION };
179	pthread_key_create			{ TYPE = FUNCTION };
180	pthread_key_delete			{ TYPE = FUNCTION };
181	pthread_kill				{ TYPE = FUNCTION };
182	pthread_mutexattr_destroy		{ TYPE = FUNCTION };
183	pthread_mutexattr_getprioceiling	{ TYPE = FUNCTION };
184	pthread_mutexattr_getprotocol		{ TYPE = FUNCTION };
185	pthread_mutexattr_getpshared		{ TYPE = FUNCTION };
186	pthread_mutexattr_init			{ TYPE = FUNCTION };
187	pthread_mutexattr_setprioceiling	{ TYPE = FUNCTION };
188	pthread_mutexattr_setprotocol		{ TYPE = FUNCTION };
189	pthread_mutexattr_setpshared		{ TYPE = FUNCTION };
190	pthread_mutex_destroy			{ TYPE = FUNCTION };
191	pthread_mutex_getprioceiling		{ TYPE = FUNCTION };
192	pthread_mutex_init			{ TYPE = FUNCTION };
193	pthread_mutex_lock			{ TYPE = FUNCTION };
194	pthread_mutex_setprioceiling		{ TYPE = FUNCTION };
195	pthread_mutex_trylock			{ TYPE = FUNCTION };
196	pthread_mutex_unlock			{ TYPE = FUNCTION };
197	pthread_once				{ TYPE = FUNCTION };
198	pthread_self				{ TYPE = FUNCTION };
199	pthread_setcancelstate			{ TYPE = FUNCTION };
200	pthread_setcanceltype			{ TYPE = FUNCTION };
201	pthread_setschedparam			{ TYPE = FUNCTION };
202	pthread_setspecific			{ TYPE = FUNCTION };
203	pthread_sigmask				{ TYPE = FUNCTION };
204	pthread_testcancel			{ TYPE = FUNCTION };
205	read					{ TYPE = FUNCTION };
206	rwlock_init				{ TYPE = FUNCTION };
207	rw_rdlock				{ TYPE = FUNCTION };
208	rw_tryrdlock				{ TYPE = FUNCTION };
209	rw_trywrlock				{ TYPE = FUNCTION };
210	rw_unlock				{ TYPE = FUNCTION };
211	rw_wrlock				{ TYPE = FUNCTION };
212	sema_destroy				{ TYPE = FUNCTION };
213	sema_init				{ TYPE = FUNCTION };
214	sema_post				{ TYPE = FUNCTION };
215	sema_trywait				{ TYPE = FUNCTION };
216	sema_wait				{ TYPE = FUNCTION };
217	setitimer				{ TYPE = FUNCTION };
218	sigaction				{ TYPE = FUNCTION };
219	siglongjmp				{ TYPE = FUNCTION };
220	sigprocmask				{ TYPE = FUNCTION };
221	sigsetjmp				{ TYPE = FUNCTION };
222	sigsuspend				{ TYPE = FUNCTION };
223	sigwait					{ TYPE = FUNCTION };
224	sleep					{ TYPE = FUNCTION };
225	tcdrain					{ TYPE = FUNCTION };
226	thr_continue				{ TYPE = FUNCTION };
227	thr_create				{ TYPE = FUNCTION };
228	thr_exit				{ TYPE = FUNCTION };
229	thr_getconcurrency			{ TYPE = FUNCTION };
230	thr_getprio				{ TYPE = FUNCTION };
231	thr_getspecific				{ TYPE = FUNCTION };
232	thr_join				{ TYPE = FUNCTION };
233	thr_keycreate				{ TYPE = FUNCTION };
234	thr_kill				{ TYPE = FUNCTION };
235	thr_main				{ TYPE = FUNCTION };
236	thr_min_stack				{ TYPE = FUNCTION };
237	thr_self				{ TYPE = FUNCTION };
238	thr_setconcurrency			{ TYPE = FUNCTION };
239	thr_setprio				{ TYPE = FUNCTION };
240	thr_setspecific				{ TYPE = FUNCTION };
241	thr_sigsetmask				{ TYPE = FUNCTION };
242	thr_stksegment				{ TYPE = FUNCTION };
243	thr_suspend				{ TYPE = FUNCTION };
244	thr_yield				{ TYPE = FUNCTION };
245	wait					{ TYPE = FUNCTION };
246	waitpid					{ TYPE = FUNCTION };
247	write					{ TYPE = FUNCTION };
248};
249
250SYMBOL_VERSION SUNWprivate_1.1 {
251    global:
252	_alarm					{ TYPE = FUNCTION };
253	_fork					{ TYPE = FUNCTION };
254	_mutex_destroy				{ TYPE = FUNCTION };
255	_mutex_init				{ TYPE = FUNCTION };
256	_mutex_unlock				{ TYPE = FUNCTION };
257	_pthread_setcleanupinit			{ TYPE = FUNCTION };
258	_resume					{ TYPE = FUNCTION };
259	_resume_ret				{ TYPE = FUNCTION };
260	_sema_destroy				{ TYPE = FUNCTION };
261	_setitimer				{ TYPE = FUNCTION };
262	_sigaction				{ TYPE = FUNCTION };
263	_siglongjmp				{ TYPE = FUNCTION };
264	_sigprocmask				{ TYPE = FUNCTION };
265	_sigsetjmp				{ TYPE = FUNCTION };
266	_sigsuspend				{ TYPE = FUNCTION };
267	_sleep					{ TYPE = FUNCTION };
268	_thr_create				{ TYPE = FUNCTION };
269	_thr_getspecific			{ TYPE = FUNCTION };
270	_thr_join				{ TYPE = FUNCTION };
271	_thr_keycreate				{ TYPE = FUNCTION };
272	_thr_main				{ TYPE = FUNCTION };
273	thr_probe_setup				{ TYPE = FUNCTION };
274	_thr_self				{ TYPE = FUNCTION };
275	_thr_setspecific			{ TYPE = FUNCTION };
276};
277