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.
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.
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]
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
27 # MAPFILE HEADER START
29 # WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
30 # Object versioning must comply with the rules detailed in
32 # usr/src/lib/README.mapfiles
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.
41 # All function names added to this or any other libc mapfile
42 # must be placed under the 'protected:' designation.
43 # The 'global:' designation is used *only* for data
44 # items and for the members of the malloc() family.
48 # README README README README README README: how to update this file
49 # 1) each version of Solaris/OpenSolaris gets a version number.
50 # (Actually since Solaris is actually a series of OpenSolaris releases
51 # we'll just use OpenSolaris for this exercise.)
52 # OpenSolaris 2008.11 gets 1.23
53 # OpenSolaris 2009.04 gets 1.24
55 # 2) each project integration uses a unique version number.
56 # PSARC/2008/123 gets 1.24.1
57 # PSARC/2008/456 gets 1.24.2
62 SUNW_1.23 { # SunOS 5.11 (Solaris 11)
123 mq_reltimedreceive_np;
138 posix_spawn_file_actions_addclosefrom_np;
139 posix_spawnattr_getsigignore_np;
140 posix_spawnattr_setsigignore_np;
141 pthread_key_create_once_np;
142 pthread_mutexattr_getrobust;
143 pthread_mutexattr_setrobust;
144 pthread_mutex_consistent;
146 sched_get_priority_max;
147 sched_get_priority_min;
149 sched_rr_get_interval;
195 SUNW_1.22.4 { # s10u7 - SunOS 5.10 (Solaris 10) patch additions
201 SUNW_1.22.3 { # SunOS 5.10 (Solaris 10) patch additions
209 SUNW_1.22.2 { # SunOS 5.10 (Solaris 10) patch additions
216 SUNW_1.22.1 { # SunOS 5.10 (Solaris 10) patch additions
220 atomic_add_char = NODYNSORT;
221 atomic_add_char_nv = NODYNSORT;
222 atomic_add_int = NODYNSORT;
223 atomic_add_int_nv = NODYNSORT;
224 atomic_add_ptr = NODYNSORT;
225 atomic_add_ptr_nv = NODYNSORT;
226 atomic_add_short = NODYNSORT;
227 atomic_add_short_nv = NODYNSORT;
235 atomic_and_uchar = NODYNSORT;
236 atomic_and_uchar_nv = NODYNSORT;
237 atomic_and_uint_nv = NODYNSORT;
238 atomic_and_ulong = NODYNSORT;
239 atomic_and_ulong_nv = NODYNSORT;
240 atomic_and_ushort = NODYNSORT;
241 atomic_and_ushort_nv = NODYNSORT;
246 atomic_cas_ptr = NODYNSORT;
247 atomic_cas_uchar = NODYNSORT;
248 atomic_cas_uint = NODYNSORT;
249 atomic_cas_ulong = NODYNSORT;
250 atomic_cas_ushort = NODYNSORT;
251 atomic_clear_long_excl = NODYNSORT;
260 atomic_dec_uchar = NODYNSORT;
261 atomic_dec_uchar_nv = NODYNSORT;
262 atomic_dec_uint = NODYNSORT;
263 atomic_dec_uint_nv = NODYNSORT;
264 atomic_dec_ulong = NODYNSORT;
265 atomic_dec_ulong_nv = NODYNSORT;
266 atomic_dec_ushort = NODYNSORT;
267 atomic_dec_ushort_nv = NODYNSORT;
276 atomic_inc_uchar = NODYNSORT;
277 atomic_inc_uchar_nv = NODYNSORT;
278 atomic_inc_uint = NODYNSORT;
279 atomic_inc_uint_nv = NODYNSORT;
280 atomic_inc_ulong = NODYNSORT;
281 atomic_inc_ulong_nv = NODYNSORT;
282 atomic_inc_ushort = NODYNSORT;
283 atomic_inc_ushort_nv = NODYNSORT;
291 atomic_or_uchar = NODYNSORT;
292 atomic_or_uchar_nv = NODYNSORT;
293 atomic_or_uint_nv = NODYNSORT;
294 atomic_or_ulong = NODYNSORT;
295 atomic_or_ulong_nv = NODYNSORT;
296 atomic_or_ushort = NODYNSORT;
297 atomic_or_ushort_nv = NODYNSORT;
298 atomic_set_long_excl = NODYNSORT;
303 atomic_swap_ptr = NODYNSORT;
304 atomic_swap_uchar = NODYNSORT;
305 atomic_swap_uint = NODYNSORT;
306 atomic_swap_ulong = NODYNSORT;
307 atomic_swap_ushort = NODYNSORT;
314 SUNW_1.22 { # SunOS 5.10 (Solaris 10)
324 atomic_add_long = NODYNSORT;
325 atomic_add_long_nv = NODYNSORT;
327 atomic_and_uint = NODYNSORT;
329 atomic_or_uint = NODYNSORT;
364 posix_spawnattr_destroy;
365 posix_spawnattr_getflags;
366 posix_spawnattr_getpgroup;
367 posix_spawnattr_getschedparam;
368 posix_spawnattr_getschedpolicy;
369 posix_spawnattr_getsigdefault;
370 posix_spawnattr_getsigmask;
371 posix_spawnattr_init;
372 posix_spawnattr_setflags;
373 posix_spawnattr_setpgroup;
374 posix_spawnattr_setschedparam;
375 posix_spawnattr_setschedpolicy;
376 posix_spawnattr_setsigdefault;
377 posix_spawnattr_setsigmask;
378 posix_spawn_file_actions_addclose;
379 posix_spawn_file_actions_adddup2;
380 posix_spawn_file_actions_addopen;
381 posix_spawn_file_actions_destroy;
382 posix_spawn_file_actions_init;
441 pthread_attr_getstack;
442 pthread_attr_setstack;
443 pthread_barrierattr_destroy;
444 pthread_barrierattr_getpshared;
445 pthread_barrierattr_init;
446 pthread_barrierattr_setpshared;
447 pthread_barrier_destroy;
448 pthread_barrier_init;
449 pthread_barrier_wait;
450 pthread_condattr_getclock;
451 pthread_condattr_setclock;
452 pthread_mutexattr_getrobust_np = NODYNSORT;
453 pthread_mutexattr_setrobust_np = NODYNSORT;
454 pthread_mutex_consistent_np = NODYNSORT;
455 pthread_mutex_reltimedlock_np;
456 pthread_mutex_timedlock;
457 pthread_rwlock_reltimedrdlock_np;
458 pthread_rwlock_reltimedwrlock_np;
459 pthread_rwlock_timedrdlock;
460 pthread_rwlock_timedwrlock;
461 pthread_setschedprio;
462 pthread_spin_destroy;
465 pthread_spin_trylock;
467 rctlblk_set_recipient_pid;
524 SUNW_1.21.3 { # SunOS 5.9 (Solaris 9) patch additions
529 SUNW_1.21.2 { # SunOS 5.9 (Solaris 9) patch additions
546 SUNW_1.21.1 { # SunOS 5.9 (Solaris 9) patch additions
551 SUNW_1.21 { # SunOS 5.9 (Solaris 9)
555 bind_textdomain_codeset;
574 _gethomelgroup = NODYNSORT;
580 _lwp_cond_reltimedwait;
593 pthread_cond_reltimedwait_np;
594 rctlblk_get_enforced_value;
595 rctlblk_get_firing_time;
596 rctlblk_get_global_action;
597 rctlblk_get_global_flags;
598 rctlblk_get_local_action;
599 rctlblk_get_local_flags;
600 rctlblk_get_privilege;
601 rctlblk_get_recipient_pid;
603 rctlblk_set_local_action;
604 rctlblk_set_local_flags;
605 rctlblk_set_privilege;
625 SUNW_1.20.4 { # SunOS 5.8 (Solaris 8) patch additions
631 SUNW_1.20.1 { # SunOS 5.8 (Solaris 8) patch additions
655 SUNW_1.20 { # SunOS 5.8 (Solaris 8)
674 SUNW_1.18 { # SunOS 5.7 (Solaris 7)
696 pthread_attr_getguardsize;
697 pthread_attr_setguardsize;
698 pthread_getconcurrency;
699 pthread_mutexattr_gettype;
700 pthread_mutexattr_settype;
701 pthread_rwlockattr_destroy;
702 pthread_rwlockattr_getpshared;
703 pthread_rwlockattr_init;
704 pthread_rwlockattr_setpshared;
705 pthread_rwlock_destroy;
707 pthread_rwlock_rdlock;
708 pthread_rwlock_tryrdlock;
709 pthread_rwlock_trywrlock;
710 pthread_rwlock_unlock;
711 pthread_rwlock_wrlock;
712 pthread_setconcurrency;
732 # The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
733 # applications built on Solaris 2.6 Beta (when they did contain symbols)
734 # may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
816 SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
887 pthread_attr_destroy;
888 pthread_attr_getdetachstate;
889 pthread_attr_getinheritsched;
890 pthread_attr_getschedparam;
891 pthread_attr_getschedpolicy;
892 pthread_attr_getscope;
893 pthread_attr_getstackaddr;
894 pthread_attr_getstacksize;
896 pthread_attr_setdetachstate;
897 pthread_attr_setinheritsched;
898 pthread_attr_setschedparam;
899 pthread_attr_setschedpolicy;
900 pthread_attr_setscope;
901 pthread_attr_setstackaddr;
902 pthread_attr_setstacksize;
904 __pthread_cleanup_pop;
905 __pthread_cleanup_push;
910 pthread_getschedparam;
918 pthread_setcancelstate;
919 pthread_setcanceltype;
920 pthread_setschedparam;
931 rwlock_destroy = NODYNSORT;
932 _rwlock_destroy = NODYNSORT;
941 sync_instruction_memory;
1003 SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
1022 pthread_condattr_destroy;
1023 pthread_condattr_getpshared;
1024 pthread_condattr_init;
1025 pthread_condattr_setpshared;
1026 pthread_cond_broadcast;
1027 pthread_cond_destroy;
1029 pthread_cond_signal;
1030 pthread_cond_timedwait;
1032 pthread_mutexattr_destroy;
1033 pthread_mutexattr_getprioceiling;
1034 pthread_mutexattr_getprotocol;
1035 pthread_mutexattr_getpshared;
1036 pthread_mutexattr_init;
1037 pthread_mutexattr_setprioceiling;
1038 pthread_mutexattr_setprotocol;
1039 pthread_mutexattr_setpshared;
1040 pthread_mutex_destroy;
1041 pthread_mutex_getprioceiling;
1044 pthread_mutex_setprioceiling;
1045 pthread_mutex_trylock;
1046 pthread_mutex_unlock;
1068 SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
1073 cond_broadcast = NODYNSORT;
1074 cond_destroy = NODYNSORT;
1076 cond_signal = NODYNSORT;
1088 mutex_destroy = NODYNSORT;
1090 mutex_lock = NODYNSORT;
1091 mutex_trylock = NODYNSORT;
1092 mutex_unlock = NODYNSORT;
1099 rw_rdlock = NODYNSORT;
1101 rw_tryrdlock = NODYNSORT;
1102 rw_trywrlock = NODYNSORT;
1103 rw_unlock = NODYNSORT;
1105 rw_wrlock = NODYNSORT;
1124 thr_self = NODYNSORT;
1137 SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
1140 isnanf = FUNCTION FILTER libm.so.2;
1144 memalign = NODIRECT;
1145 modff = FUNCTION FILTER libm.so.2;
1146 nss_default_finders;
1168 decimal_to_extended;
1169 decimal_to_quadruple;
1183 extended_to_decimal;
1250 _lwp_cond_broadcast;
1252 _lwp_cond_timedwait;
1277 _nss_XbyY_buf_alloc;
1279 __nsw_extended_action;
1302 quadruple_to_decimal;
1355 # There should never be more than one SUNWprivate version.
1356 # Don't add any more. Add new private symbols to SUNWprivate_1.1
1364 __environ_lock = NODIRECT;
1368 _isnanf = FUNCTION FILTER libm.so.2;
1378 _lib_version = NODIRECT;
1379 _logb = FUNCTION FILTER libm.so.2;
1384 _modff = FUNCTION FILTER libm.so.2;
1394 _nss_default_finders;
1399 thr_probe_getfunc_addr;
1425 core_get_default_content;
1426 core_get_default_path;
1427 core_get_global_content;
1428 core_get_global_path;
1430 core_get_process_content;
1431 core_get_process_path;
1432 core_set_default_content;
1433 core_set_default_path;
1434 core_set_global_content;
1435 core_set_global_path;
1437 core_set_process_content;
1438 core_set_process_path;
1479 _forkall = NODYNSORT;
1496 _get_exit_frame_monitor;
1526 _lgrp_home_fast = NODYNSORT;
1552 __mbst_get_consumed_array;
1554 __mbst_get_nconsumed;
1558 __mbst_set_consumed_array;
1560 __mbst_set_nconsumed;
1572 _mutex_destroy = NODYNSORT;
1574 _mutex_init = NODYNSORT;
1575 _mutex_unlock = NODYNSORT;
1580 __nis_get_environment;
1582 _nss_db_state_destr;
1583 nss_default_key2str;
1588 _nss_initf_netgroup;
1591 nss_packed_arg_init;
1592 nss_packed_context_init;
1594 nss_packed_set_status;
1598 __nsw_extended_action_v1;
1599 __nsw_freeconfig_v1;
1609 _pthread_setcleanupinit;
1628 set_setcontext_enforcement;
1629 set_l10n_alternate_root;
1668 __strptime_dontzero;
1677 thr_continue_allmutators;
1678 _thr_continue_allmutators;
1679 thr_continue_mutator;
1680 _thr_continue_mutator;
1683 thr_mutators_barrier;
1684 _thr_mutators_barrier;
1694 thr_suspend_allmutators;
1695 _thr_suspend_allmutators;
1696 thr_suspend_mutator;
1697 _thr_suspend_mutator;
1721 _uncached_getgrgid_r;
1722 _uncached_getgrnam_r;
1723 _uncached_getpwnam_r;
1724 _uncached_getpwuid_r;
1779 zone_check_datalink;
1788 zone_remove_datalink;
1792 # The following functions should not be exported from libc,
1793 # but /lib/libm.so.2, some older versions of the Studio
1794 # compiler/debugger components, and some ancient programs
1795 # found in /usr/dist reference them. When we no longer
1796 # care about these old and broken binary objects, these
1797 # symbols should be deleted.
1799 _cond_broadcast = NODYNSORT;
1800 _cond_init = NODYNSORT;
1801 _cond_signal = NODYNSORT;
1802 _cond_wait = NODYNSORT;
1805 _getc_unlocked = NODYNSORT;
1806 _llseek = NODYNSORT;
1807 _pthread_attr_getdetachstate = NODYNSORT;
1808 _pthread_attr_getinheritsched = NODYNSORT;
1809 _pthread_attr_getschedparam = NODYNSORT;
1810 _pthread_attr_getschedpolicy = NODYNSORT;
1811 _pthread_attr_getscope = NODYNSORT;
1812 _pthread_attr_getstackaddr = NODYNSORT;
1813 _pthread_attr_getstacksize = NODYNSORT;
1814 _pthread_attr_init = NODYNSORT;
1815 _pthread_condattr_getpshared = NODYNSORT;
1816 _pthread_condattr_init = NODYNSORT;
1817 _pthread_cond_init = NODYNSORT;
1818 _pthread_create = NODYNSORT;
1819 _pthread_getschedparam = NODYNSORT;
1820 _pthread_join = NODYNSORT;
1821 _pthread_key_create = NODYNSORT;
1822 _pthread_mutexattr_getprioceiling = NODYNSORT;
1823 _pthread_mutexattr_getprotocol = NODYNSORT;
1824 _pthread_mutexattr_getpshared = NODYNSORT;
1825 _pthread_mutexattr_init = NODYNSORT;
1826 _pthread_mutex_getprioceiling = NODYNSORT;
1827 _pthread_mutex_init = NODYNSORT;
1828 _pthread_sigmask = NODYNSORT;
1829 _rwlock_init = NODYNSORT;
1830 _rw_rdlock = NODYNSORT;
1831 _rw_unlock = NODYNSORT;
1832 _rw_wrlock = NODYNSORT;
1833 _sbrk_unlocked = NODYNSORT;
1834 _select = NODYNSORT;
1835 _sema_init = NODYNSORT;
1836 _sema_post = NODYNSORT;
1837 _sema_trywait = NODYNSORT;
1838 _sema_wait = NODYNSORT;
1840 _thr_create = NODYNSORT;
1841 _thr_exit = NODYNSORT;
1842 _thr_getprio = NODYNSORT;
1843 _thr_getspecific = NODYNSORT;
1844 _thr_join = NODYNSORT;
1845 _thr_keycreate = NODYNSORT;
1846 _thr_kill = NODYNSORT;
1847 _thr_main = NODYNSORT;
1848 _thr_self = NODYNSORT;
1849 _thr_setspecific = NODYNSORT;
1850 _thr_sigsetmask = NODYNSORT;
1851 _thr_stksegment = NODYNSORT;
1852 _ungetc_unlocked = NODYNSORT;
1854 __imax_lldiv = NODYNSORT;
1855 _ti_thr_self = NODYNSORT;