xref: /freebsd/lib/libthr/pthread.map (revision 85999a0155e389415cc476110fd5614baf543a55)
1/*
2 * $FreeBSD$
3 */
4
5LIBTHREAD_1_0 {
6global:
7	___creat;
8	___pause;
9	___pselect;
10	___sleep;
11	___system;
12	___tcdrain;
13	___usleep;
14	___wait;
15	___waitpid;
16	__accept;
17	__aio_suspend;
18	__close;
19	__connect;
20	__error;
21	__fcntl;
22	__fsync;
23	__msync;
24	__nanosleep;
25	__open;
26	__poll;
27	__pthread_cond_timedwait;
28	__pthread_cond_wait;
29	__pthread_mutex_init;
30	__pthread_mutex_lock;
31	__pthread_mutex_timedlock;
32	__pthread_mutex_trylock;
33	__read;
34	__readv;
35	__recvfrom;
36	__recvmsg;
37	__select;
38	__sendmsg;
39	__sendto;
40	__sigsuspend;
41	__sigtimedwait;
42	__sigwait;
43	__sigwaitinfo;
44	__wait3;
45	__wait4;
46	__write;
47	__writev;
48	_fork;
49	_pthread_atfork;
50	_pthread_barrier_destroy;
51	_pthread_barrier_init;
52	_pthread_barrier_wait;
53	_pthread_barrierattr_destroy;
54	_pthread_barrierattr_getpshared;
55	_pthread_barrierattr_init;
56	_pthread_barrierattr_setpshared;
57	_pthread_attr_destroy;
58	_pthread_attr_get_np;
59	_pthread_attr_getdetachstate;
60	_pthread_attr_getguardsize;
61	_pthread_attr_getinheritsched;
62	_pthread_attr_getschedparam;
63	_pthread_attr_getschedpolicy;
64	_pthread_attr_getscope;
65	_pthread_attr_getstack;
66	_pthread_attr_getstackaddr;
67	_pthread_attr_getstacksize;
68	_pthread_attr_init;
69	_pthread_attr_setcreatesuspend_np;
70	_pthread_attr_setdetachstate;
71	_pthread_attr_setguardsize;
72	_pthread_attr_setinheritsched;
73	_pthread_attr_setschedparam;
74	_pthread_attr_setschedpolicy;
75	_pthread_attr_setscope;
76	_pthread_attr_setstack;
77	_pthread_attr_setstackaddr;
78	_pthread_attr_setstacksize;
79	_pthread_cancel;
80	_pthread_cleanup_pop;
81	_pthread_cleanup_push;
82	_pthread_cond_broadcast;
83	_pthread_cond_destroy;
84	_pthread_cond_init;
85	_pthread_cond_signal;
86	_pthread_cond_timedwait;
87	_pthread_cond_wait;
88	_pthread_condattr_destroy;
89	_pthread_condattr_getclock;
90	_pthread_condattr_getpshared;
91	_pthread_condattr_init;
92	_pthread_condattr_setclock;
93	_pthread_condattr_setpshared;
94	_pthread_create;
95	_pthread_detach;
96	_pthread_equal;
97	_pthread_exit;
98	_pthread_getconcurrency;
99	_pthread_getprio;
100	_pthread_getschedparam;
101	_pthread_getspecific;
102	_pthread_join;
103	_pthread_key_create;
104	_pthread_key_delete;
105	_pthread_kill;
106	_pthread_main_np;
107	_pthread_multi_np;
108	_pthread_mutex_destroy;
109	_pthread_mutex_getprioceiling;
110	_pthread_mutex_init;
111	_pthread_mutex_lock;
112	_pthread_mutex_setprioceiling;
113	_pthread_mutex_timedlock;
114	_pthread_mutex_trylock;
115	_pthread_mutex_unlock;
116	_pthread_mutexattr_destroy;
117	_pthread_mutexattr_getkind_np;
118	_pthread_mutexattr_getprioceiling;
119	_pthread_mutexattr_getprotocol;
120	_pthread_mutexattr_getpshared;
121	_pthread_mutexattr_gettype;
122	_pthread_mutexattr_init;
123	_pthread_mutexattr_setkind_np;
124	_pthread_mutexattr_setprioceiling;
125	_pthread_mutexattr_setprotocol;
126	_pthread_mutexattr_setpshared;
127	_pthread_mutexattr_settype;
128	_pthread_once;
129	_pthread_resume_all_np;
130	_pthread_resume_np;
131	_pthread_rwlock_destroy;
132	_pthread_rwlock_init;
133	_pthread_rwlock_rdlock;
134	_pthread_rwlock_timedrdlock;
135	_pthread_rwlock_timedwrlock;
136	_pthread_rwlock_tryrdlock;
137	_pthread_rwlock_trywrlock;
138	_pthread_rwlock_unlock;
139	_pthread_rwlock_wrlock;
140	_pthread_rwlockattr_destroy;
141	_pthread_rwlockattr_getpshared;
142	_pthread_rwlockattr_init;
143	_pthread_rwlockattr_setpshared;
144	_pthread_self;
145	_pthread_set_name_np;
146	_pthread_setcancelstate;
147	_pthread_setcanceltype;
148	_pthread_setconcurrency;
149	_pthread_setprio;
150	_pthread_setschedparam;
151	_pthread_setspecific;
152	_pthread_sigmask;
153	_pthread_single_np;
154	_pthread_spin_destroy;
155	_pthread_spin_init;
156	_pthread_spin_lock;
157	_pthread_spin_trylock;
158	_pthread_spin_unlock;
159	_pthread_suspend_all_np;
160	_pthread_suspend_np;
161	_pthread_switch_add_np;
162	_pthread_switch_delete_np;
163	_pthread_testcancel;
164	_pthread_timedjoin_np;
165	_pthread_yield;
166	_raise;
167	_sem_destroy;
168	_sem_getvalue;
169	_sem_init;
170	_sem_post;
171	_sem_timedwait;
172	_sem_trywait;
173	_sem_wait;
174	_sigaction;
175	_sigprocmask;
176	_sigsuspend;
177	_sigtimedwait;
178	_sigwait;
179	_sigwaitinfo;
180	_spinlock;
181	_spinlock_debug;
182	_spinunlock;
183	_vfork;
184	accept;
185	aio_suspend;
186	close;
187	connect;
188	creat;
189	execve;
190	fcntl;
191	fork;
192	fsync;
193	msync;
194	nanosleep;
195	open;
196	pause;
197	poll;
198	pselect;
199	pthread_atfork;
200	pthread_barrier_destroy;
201	pthread_barrier_init;
202	pthread_barrier_wait;
203	pthread_barrierattr_destroy;
204	pthread_barrierattr_getpshared;
205	pthread_barrierattr_init;
206	pthread_barrierattr_setpshared;
207	pthread_attr_destroy;
208	pthread_attr_get_np;
209	pthread_attr_getdetachstate;
210	pthread_attr_getguardsize;
211	pthread_attr_getinheritsched;
212	pthread_attr_getschedparam;
213	pthread_attr_getschedpolicy;
214	pthread_attr_getscope;
215	pthread_attr_getstack;
216	pthread_attr_getstackaddr;
217	pthread_attr_getstacksize;
218	pthread_attr_init;
219	pthread_attr_setcreatesuspend_np;
220	pthread_attr_setdetachstate;
221	pthread_attr_setguardsize;
222	pthread_attr_setinheritsched;
223	pthread_attr_setschedparam;
224	pthread_attr_setschedpolicy;
225	pthread_attr_setscope;
226	pthread_attr_setstack;
227	pthread_attr_setstackaddr;
228	pthread_attr_setstacksize;
229	pthread_cancel;
230	pthread_cleanup_pop;
231	pthread_cleanup_push;
232	pthread_cond_broadcast;
233	pthread_cond_destroy;
234	pthread_cond_init;
235	pthread_cond_signal;
236	pthread_cond_timedwait;
237	pthread_cond_wait;
238	pthread_condattr_destroy;
239	pthread_condattr_getclock;
240	pthread_condattr_getpshared;
241	pthread_condattr_init;
242	pthread_condattr_setclock;
243	pthread_condattr_setpshared;
244	pthread_create;
245	pthread_detach;
246	pthread_equal;
247	pthread_exit;
248	pthread_getconcurrency;
249	pthread_getprio;
250	pthread_getschedparam;
251	pthread_getspecific;
252	pthread_join;
253	pthread_key_create;
254	pthread_key_delete;
255	pthread_kill;
256	pthread_main_np;
257	pthread_multi_np;
258	pthread_mutex_destroy;
259	pthread_mutex_getprioceiling;
260	pthread_mutex_init;
261	pthread_mutex_lock;
262	pthread_mutex_setprioceiling;
263	pthread_mutex_timedlock;
264	pthread_mutex_trylock;
265	pthread_mutex_unlock;
266	pthread_mutexattr_destroy;
267	pthread_mutexattr_getkind_np;
268	pthread_mutexattr_getprioceiling;
269	pthread_mutexattr_getpshared;
270	pthread_mutexattr_getprotocol;
271	pthread_mutexattr_gettype;
272	pthread_mutexattr_init;
273	pthread_mutexattr_setkind_np;
274	pthread_mutexattr_setprioceiling;
275	pthread_mutexattr_setprotocol;
276	pthread_mutexattr_setpshared;
277	pthread_mutexattr_settype;
278	pthread_once;
279	pthread_resume_all_np;
280	pthread_resume_np;
281	pthread_rwlock_destroy;
282	pthread_rwlock_init;
283	pthread_rwlock_rdlock;
284	pthread_rwlock_timedrdlock;
285	pthread_rwlock_timedwrlock;
286	pthread_rwlock_tryrdlock;
287	pthread_rwlock_trywrlock;
288	pthread_rwlock_unlock;
289	pthread_rwlock_wrlock;
290	pthread_rwlockattr_destroy;
291	pthread_rwlockattr_getpshared;
292	pthread_rwlockattr_init;
293	pthread_rwlockattr_setpshared;
294	pthread_self;
295	pthread_set_name_np;
296	pthread_setcancelstate;
297	pthread_setcanceltype;
298	pthread_setconcurrency;
299	pthread_setprio;
300	pthread_setschedparam;
301	pthread_setspecific;
302	pthread_sigmask;
303	pthread_single_np;
304	pthread_spin_destroy;
305	pthread_spin_init;
306	pthread_spin_lock;
307	pthread_spin_trylock;
308	pthread_spin_unlock;
309	pthread_suspend_all_np;
310	pthread_suspend_np;
311	pthread_switch_add_np;
312	pthread_switch_delete_np;
313	pthread_testcancel;
314	pthread_timedjoin_np;
315	pthread_yield;
316	raise;
317	read;
318	readv;
319	recvfrom;
320	recvmsg;
321	select;
322	sem_destroy;
323	sem_getvalue;
324	sem_init;
325	sem_post;
326	sem_timedwait;
327	sem_trywait;
328	sem_wait;
329	sendmsg;
330	sendto;
331	sigaction;
332	sigprocmask;
333	sigsuspend;
334	sigwait;
335	sigwaitinfo;
336	sigtimedwait;
337	sleep;
338	system;
339	tcdrain;
340	usleep;
341	vfork;
342	wait;
343	wait3;
344	wait4;
345	waitpid;
346	write;
347	writev;
348
349	/* Debugger needs these. */
350	_libthr_debug;
351	_thread_active_threads;
352	_thread_bp_create;
353	_thread_bp_death;
354	_thread_event_mask;
355	_thread_keytable;
356	_thread_last_event;
357	_thread_list;
358	_thread_max_keys;
359	_thread_off_attr_flags;
360	_thread_off_dtv;
361	_thread_off_event_buf;
362	_thread_off_event_mask;
363	_thread_off_key_allocated;
364	_thread_off_key_destructor;
365	_thread_off_linkmap;
366	_thread_off_next;
367	_thread_off_report_events;
368	_thread_off_state;
369	_thread_off_tcb;
370	_thread_off_tid;
371	_thread_off_tlsindex;
372	_thread_size_key;
373	_thread_state_running;
374	_thread_state_zoombie;
375local:
376	*;
377};
378
379/*
380 * Use the same naming scheme as libc.
381 */
382FBSD_1.0 {
383global:
384	__error;
385	accept;
386	aio_suspend;
387	close;
388	connect;
389	creat;
390	execve;
391	fcntl;
392	fork;
393	fsync;
394	msync;
395	nanosleep;
396	open;
397	pause;
398	poll;
399	pselect;
400	pthread_atfork;
401	pthread_barrier_destroy;
402	pthread_barrier_init;
403	pthread_barrier_wait;
404	pthread_barrierattr_destroy;
405	pthread_barrierattr_getpshared;
406	pthread_barrierattr_init;
407	pthread_barrierattr_setpshared;
408	pthread_attr_destroy;
409	pthread_attr_get_np;
410	pthread_attr_getdetachstate;
411	pthread_attr_getguardsize;
412	pthread_attr_getinheritsched;
413	pthread_attr_getschedparam;
414	pthread_attr_getschedpolicy;
415	pthread_attr_getscope;
416	pthread_attr_getstack;
417	pthread_attr_getstackaddr;
418	pthread_attr_getstacksize;
419	pthread_attr_init;
420	pthread_attr_setcreatesuspend_np;
421	pthread_attr_setdetachstate;
422	pthread_attr_setguardsize;
423	pthread_attr_setinheritsched;
424	pthread_attr_setschedparam;
425	pthread_attr_setschedpolicy;
426	pthread_attr_setscope;
427	pthread_attr_setstack;
428	pthread_attr_setstackaddr;
429	pthread_attr_setstacksize;
430	pthread_cancel;
431	pthread_cleanup_pop;
432	pthread_cleanup_push;
433	pthread_cond_broadcast;
434	pthread_cond_destroy;
435	pthread_cond_init;
436	pthread_cond_signal;
437	pthread_cond_timedwait;
438	pthread_cond_wait;
439	pthread_condattr_destroy;
440	pthread_condattr_getclock;
441	pthread_condattr_getpshared;
442	pthread_condattr_init;
443	pthread_condattr_setclock;
444	pthread_condattr_setpshared;
445	pthread_create;
446	pthread_detach;
447	pthread_equal;
448	pthread_exit;
449	pthread_getconcurrency;
450	pthread_getprio;
451	pthread_getschedparam;
452	pthread_getspecific;
453	pthread_join;
454	pthread_key_create;
455	pthread_key_delete;
456	pthread_kill;
457	pthread_main_np;
458	pthread_multi_np;
459	pthread_mutex_destroy;
460	pthread_mutex_getprioceiling;
461	pthread_mutex_init;
462	pthread_mutex_lock;
463	pthread_mutex_setprioceiling;
464	pthread_mutex_timedlock;
465	pthread_mutex_trylock;
466	pthread_mutex_unlock;
467	pthread_mutexattr_destroy;
468	pthread_mutexattr_getkind_np;
469	pthread_mutexattr_getprioceiling;
470	pthread_mutexattr_getpshared;
471	pthread_mutexattr_getprotocol;
472	pthread_mutexattr_gettype;
473	pthread_mutexattr_init;
474	pthread_mutexattr_setkind_np;
475	pthread_mutexattr_setprioceiling;
476	pthread_mutexattr_setprotocol;
477	pthread_mutexattr_setpshared;
478	pthread_mutexattr_settype;
479	pthread_once;
480	pthread_resume_all_np;
481	pthread_resume_np;
482	pthread_rwlock_destroy;
483	pthread_rwlock_init;
484	pthread_rwlock_rdlock;
485	pthread_rwlock_timedrdlock;
486	pthread_rwlock_timedwrlock;
487	pthread_rwlock_tryrdlock;
488	pthread_rwlock_trywrlock;
489	pthread_rwlock_unlock;
490	pthread_rwlock_wrlock;
491	pthread_rwlockattr_destroy;
492	pthread_rwlockattr_getpshared;
493	pthread_rwlockattr_init;
494	pthread_rwlockattr_setpshared;
495	pthread_self;
496	pthread_set_name_np;
497	pthread_setcancelstate;
498	pthread_setcanceltype;
499	pthread_setconcurrency;
500	pthread_setprio;
501	pthread_setschedparam;
502	pthread_setspecific;
503	pthread_sigmask;
504	pthread_single_np;
505	pthread_spin_destroy;
506	pthread_spin_init;
507	pthread_spin_lock;
508	pthread_spin_trylock;
509	pthread_spin_unlock;
510	pthread_suspend_all_np;
511	pthread_suspend_np;
512	pthread_switch_add_np;
513	pthread_switch_delete_np;
514	pthread_testcancel;
515	pthread_timedjoin_np;
516	pthread_yield;
517	raise;
518	read;
519	readv;
520	recvfrom;
521	recvmsg;
522	select;
523	sem_destroy;
524	sem_getvalue;
525	sem_init;
526	sem_post;
527	sem_timedwait;
528	sem_trywait;
529	sem_wait;
530	sendmsg;
531	sendto;
532	sigaction;
533	sigprocmask;
534	sigsuspend;
535	sigwait;
536	sigwaitinfo;
537	sigtimedwait;
538	sleep;
539	system;
540	tcdrain;
541	usleep;
542	vfork;
543	wait;
544	wait3;
545	wait4;
546	waitpid;
547	write;
548	writev;
549local:
550	*;
551};
552
553/*
554 * List the private interfaces reserved for use in FreeBSD libraries.
555 * These are not part of our application ABI.
556 */
557FBSDprivate_1.0 {
558global:
559	___creat;
560	___pause;
561	___pselect;
562	___sleep;
563	___system;
564	___tcdrain;
565	___usleep;
566	___wait;
567	___waitpid;
568	__accept;
569	__aio_suspend;
570	__close;
571	__connect;
572	__fcntl;
573	__fsync;
574	__msync;
575	__nanosleep;
576	__open;
577	__poll;
578	__pthread_cond_timedwait;
579	__pthread_cond_wait;
580	__pthread_mutex_init;
581	__pthread_mutex_lock;
582	__pthread_mutex_timedlock;
583	__pthread_mutex_trylock;
584	__read;
585	__readv;
586	__recvfrom;
587	__recvmsg;
588	__select;
589	__sendmsg;
590	__sendto;
591	__sigsuspend;
592	__sigtimedwait;
593	__sigwait;
594	__sigwaitinfo;
595	__wait3;
596	__wait4;
597	__write;
598	__writev;
599	_fork;
600	_pthread_atfork;
601	_pthread_barrier_destroy;
602	_pthread_barrier_init;
603	_pthread_barrier_wait;
604	_pthread_barrierattr_destroy;
605	_pthread_barrierattr_getpshared;
606	_pthread_barrierattr_init;
607	_pthread_barrierattr_setpshared;
608	_pthread_attr_destroy;
609	_pthread_attr_get_np;
610	_pthread_attr_getdetachstate;
611	_pthread_attr_getguardsize;
612	_pthread_attr_getinheritsched;
613	_pthread_attr_getschedparam;
614	_pthread_attr_getschedpolicy;
615	_pthread_attr_getscope;
616	_pthread_attr_getstack;
617	_pthread_attr_getstackaddr;
618	_pthread_attr_getstacksize;
619	_pthread_attr_init;
620	_pthread_attr_setcreatesuspend_np;
621	_pthread_attr_setdetachstate;
622	_pthread_attr_setguardsize;
623	_pthread_attr_setinheritsched;
624	_pthread_attr_setschedparam;
625	_pthread_attr_setschedpolicy;
626	_pthread_attr_setscope;
627	_pthread_attr_setstack;
628	_pthread_attr_setstackaddr;
629	_pthread_attr_setstacksize;
630	_pthread_cancel;
631	_pthread_cleanup_pop;
632	_pthread_cleanup_push;
633	_pthread_cond_broadcast;
634	_pthread_cond_destroy;
635	_pthread_cond_init;
636	_pthread_cond_signal;
637	_pthread_cond_timedwait;
638	_pthread_cond_wait;
639	_pthread_condattr_destroy;
640	_pthread_condattr_getclock;
641	_pthread_condattr_getpshared;
642	_pthread_condattr_init;
643	_pthread_condattr_setclock;
644	_pthread_condattr_setpshared;
645	_pthread_create;
646	_pthread_detach;
647	_pthread_equal;
648	_pthread_exit;
649	_pthread_getconcurrency;
650	_pthread_getprio;
651	_pthread_getschedparam;
652	_pthread_getspecific;
653	_pthread_join;
654	_pthread_key_create;
655	_pthread_key_delete;
656	_pthread_kill;
657	_pthread_main_np;
658	_pthread_multi_np;
659	_pthread_mutex_destroy;
660	_pthread_mutex_getprioceiling;
661	_pthread_mutex_init;
662	_pthread_mutex_lock;
663	_pthread_mutex_setprioceiling;
664	_pthread_mutex_timedlock;
665	_pthread_mutex_trylock;
666	_pthread_mutex_unlock;
667	_pthread_mutexattr_destroy;
668	_pthread_mutexattr_getkind_np;
669	_pthread_mutexattr_getprioceiling;
670	_pthread_mutexattr_getprotocol;
671	_pthread_mutexattr_getpshared;
672	_pthread_mutexattr_gettype;
673	_pthread_mutexattr_init;
674	_pthread_mutexattr_setkind_np;
675	_pthread_mutexattr_setprioceiling;
676	_pthread_mutexattr_setprotocol;
677	_pthread_mutexattr_setpshared;
678	_pthread_mutexattr_settype;
679	_pthread_once;
680	_pthread_resume_all_np;
681	_pthread_resume_np;
682	_pthread_rwlock_destroy;
683	_pthread_rwlock_init;
684	_pthread_rwlock_rdlock;
685	_pthread_rwlock_timedrdlock;
686	_pthread_rwlock_timedwrlock;
687	_pthread_rwlock_tryrdlock;
688	_pthread_rwlock_trywrlock;
689	_pthread_rwlock_unlock;
690	_pthread_rwlock_wrlock;
691	_pthread_rwlockattr_destroy;
692	_pthread_rwlockattr_getpshared;
693	_pthread_rwlockattr_init;
694	_pthread_rwlockattr_setpshared;
695	_pthread_self;
696	_pthread_set_name_np;
697	_pthread_setcancelstate;
698	_pthread_setcanceltype;
699	_pthread_setconcurrency;
700	_pthread_setprio;
701	_pthread_setschedparam;
702	_pthread_setspecific;
703	_pthread_sigmask;
704	_pthread_single_np;
705	_pthread_spin_destroy;
706	_pthread_spin_init;
707	_pthread_spin_lock;
708	_pthread_spin_trylock;
709	_pthread_spin_unlock;
710	_pthread_suspend_all_np;
711	_pthread_suspend_np;
712	_pthread_switch_add_np;
713	_pthread_switch_delete_np;
714	_pthread_testcancel;
715	_pthread_timedjoin_np;
716	_pthread_yield;
717	_raise;
718	_sem_destroy;
719	_sem_getvalue;
720	_sem_init;
721	_sem_post;
722	_sem_timedwait;
723	_sem_trywait;
724	_sem_wait;
725	_sigaction;
726	_sigprocmask;
727	_sigsuspend;
728	_sigtimedwait;
729	_sigwait;
730	_sigwaitinfo;
731	_spinlock;
732	_spinlock_debug;
733	_spinunlock;
734	_vfork;
735
736	/* Debugger needs these. */
737	_libthr_debug;
738	_thread_active_threads;
739	_thread_bp_create;
740	_thread_bp_death;
741	_thread_event_mask;
742	_thread_keytable;
743	_thread_last_event;
744	_thread_list;
745	_thread_max_keys;
746	_thread_off_attr_flags;
747	_thread_off_dtv;
748	_thread_off_event_buf;
749	_thread_off_event_mask;
750	_thread_off_key_allocated;
751	_thread_off_key_destructor;
752	_thread_off_linkmap;
753	_thread_off_next;
754	_thread_off_report_events;
755	_thread_off_state;
756	_thread_off_tcb;
757	_thread_off_tid;
758	_thread_off_tlsindex;
759	_thread_size_key;
760	_thread_state_running;
761	_thread_state_zoombie;
762local:
763	*;
764};
765