xref: /illumos-gate/exception_lists/interface_cmp (revision 8985fdeb88232ee9dc3abdd49511245d209480f1)
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#
23# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27# This file provides exceptions to the usual rules applied to sharable
28# objects by intf_cmp. All strings are Perl regular expressions that
29# are compared to file, version, and symbol names. In addition to the
30# standard Perl syntax, there is one extension:
31#
32#	MACH(dir)
33#
34# is expanded into a regular expression that matches the given
35# directory, or a 64-bit subdirectory of the directory with the
36# name of a 64-bit architecture. For example, MACH(lib) will match
37# any of the following:
38#
39#	lib
40#	lib/amd64
41#	lib/sparcv9
42#
43
44
45## libbsm
46#
47# - Removed interfaces: setauclassfile, setaueventfile setauuserfile testac
48#	4686423 undocumented interfaces are not used
49# - Removed interfaces: auditsvc
50#	6638707 implement the removal of auditsvc(2) as noted in PSARC/2002/665
51#
52DELSYM	^(auditsvc|setauclassfile|setaueventfile|setauuserfile|testac)$	\
53	^SUNW_(0\.[7-8]|1\.[1-2])$	\
54	^MACH(lib)/libbsm\.so\.1$
55
56
57## libmalloc / libmapmalloc
58#
59# - Objects that provide malloc implementations had functions intentionally
60#   removed by:
61#	6464344 malloc library cleanup
62#	PSARC 2006/477 malloc library cleanup
63#
64DELSYM	^(_cfree|_mallinfo|_mallopt)$	\
65	^SUNW_1\.1$	\
66	^usr/MACH(lib)/libmalloc\.so\.1$
67DELSYM	^(mallinfo|mallopt)$	\
68	^SUNW_(0\.7|1\.1)$	\
69	^usr/MACH(lib)/libmapmalloc\.so\.1$
70DELSYM	^(_cfree|_?mallinfo|_?mallopt|_memalign|_valloc)$	\
71	^SUNW_1\.1$	\
72	^usr/MACH(lib)/watchmalloc\.so\.1$
73
74
75## libc
76#
77# - In Solaris 10, libc version SUNW_1.23 was incorrectly defined. In a
78#   subsequent update, those symbols were properly transfered to SUNW_1.22.4.
79#   However, SUNW_1.23 had to remain in place as an empty version to satisfy
80#   executables already in the field that were bound to it.
81#	6763000 libc versioning needs a little tlc in Solaris 10
82#   The following excludes an empty top version SUNW_1.23 from triggering
83#   a flood of "added interface" errors.
84#
85EMPTY_TOPVERSION	^SUNW_1\.23$	^MACH(lib)/libc\.so\.1$
86EMPTY_TOPVERSION	^SUNW_1\.23$	^usr/lib/libc/libc_hwcap\d+\.so\.1$
87
88
89## libnsl
90#
91# - The function _inet_aton was removed from libnsl.so.1 as part of
92#	6700179 expunge synonyms.h
93#	PSARC 2008/309 expunge synonyms.h
94# - Version SUN_1.10 was vacated when inet_aton was backported into SUNW_1.9.1
95#	4944187 getaddrinfo doesn't convert broadcast address if dns
96#		isn't in nsswitch.conf
97#	6747055 Solaris 10 apps using recent version of libnsl.so do
98#		not run on Nevada
99#
100DELSYM	^_inet_aton$	^SUNW_1\.9\.1$	^MACH(lib)/libnsl\.so\.1$
101EMPTY_TOPVERSION	^SUNW_1\.10$	^MACH(lib)/libnsl\.so\.1$
102
103
104## libnsl
105#
106# The following functions are removed from libnsl.so.1 as part of
107#	6874309 Remove NIS+ from Solaris
108#	PSARC 2009/530 Removal of NIS+
109#
110DELSYM  ^nis_add$       \
111	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
112	^MACH(lib)/libnsl\.so\.1$
113DELSYM  ^nis_add_entry$ \
114	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
115	^MACH(lib)/libnsl\.so\.1$
116DELSYM  ^nis_addmember$ \
117	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
118	^MACH(lib)/libnsl\.so\.1$
119DELSYM  ^nis_checkpoint$        \
120	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
121	^MACH(lib)/libnsl\.so\.1$
122DELSYM  ^nis_creategroup$       \
123	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
124	^MACH(lib)/libnsl\.so\.1$
125DELSYM  ^nis_destroygroup$      \
126	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
127	^MACH(lib)/libnsl\.so\.1$
128DELSYM  ^nis_first_entry$       \
129	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
130	^MACH(lib)/libnsl\.so\.1$
131DELSYM  ^nis_freenames$ \
132	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
133	^MACH(lib)/libnsl\.so\.1$
134DELSYM  ^nis_freeresult$        \
135	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
136	^MACH(lib)/libnsl\.so\.1$
137DELSYM  ^nis_freeservlist$      \
138	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
139	^MACH(lib)/libnsl\.so\.1$
140DELSYM  ^nis_freetags$  \
141	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
142	^MACH(lib)/libnsl\.so\.1$
143DELSYM  ^nis_getnames$  \
144	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
145	^MACH(lib)/libnsl\.so\.1$
146DELSYM  ^nis_getservlist$       \
147	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
148	^MACH(lib)/libnsl\.so\.1$
149DELSYM  ^nis_ismember$  \
150	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
151	^MACH(lib)/libnsl\.so\.1$
152DELSYM  ^nis_lerror$    \
153	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
154	^MACH(lib)/libnsl\.so\.1$
155DELSYM  ^nis_list$      \
156	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
157	^MACH(lib)/libnsl\.so\.1$
158DELSYM  ^nis_local_principal$   \
159	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
160	^MACH(lib)/libnsl\.so\.1$
161DELSYM  ^nis_lookup$    \
162	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
163	^MACH(lib)/libnsl\.so\.1$
164DELSYM  ^nis_mkdir$     \
165	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
166	^MACH(lib)/libnsl\.so\.1$
167DELSYM  ^nis_modify$    \
168	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
169	^MACH(lib)/libnsl\.so\.1$
170DELSYM  ^nis_modify_entry$      \
171	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
172	^MACH(lib)/libnsl\.so\.1$
173DELSYM  ^nis_next_entry$        \
174	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
175	^MACH(lib)/libnsl\.so\.1$
176DELSYM  ^nis_perror$    \
177	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
178	^MACH(lib)/libnsl\.so\.1$
179DELSYM  ^nis_ping$      \
180	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
181	^MACH(lib)/libnsl\.so\.1$
182DELSYM  ^nis_print_group_entry$ \
183	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
184	^MACH(lib)/libnsl\.so\.1$
185DELSYM  ^nis_print_object$      \
186	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
187	^MACH(lib)/libnsl\.so\.1$
188DELSYM  ^nis_remove$    \
189	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
190	^MACH(lib)/libnsl\.so\.1$
191DELSYM  ^nis_remove_entry$      \
192	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
193	^MACH(lib)/libnsl\.so\.1$
194DELSYM  ^nis_removemember$      \
195	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
196	^MACH(lib)/libnsl\.so\.1$
197DELSYM  ^nis_rmdir$     \
198	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
199	^MACH(lib)/libnsl\.so\.1$
200DELSYM  ^nis_servstate$ \
201	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
202	^MACH(lib)/libnsl\.so\.1$
203DELSYM  ^nis_sperrno$   \
204	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
205	^MACH(lib)/libnsl\.so\.1$
206DELSYM  ^nis_sperror$   \
207	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
208	^MACH(lib)/libnsl\.so\.1$
209DELSYM  ^nis_sperror_r$ \
210	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
211	^MACH(lib)/libnsl\.so\.1$
212DELSYM  ^nis_stats$	\
213	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
214	^MACH(lib)/libnsl\.so\.1$
215DELSYM  ^nis_verifygroup$       \
216	^SUNW_(0\.[7-9])|(1\.[1-9](\.1)?)$      \
217	^MACH(lib)/libnsl\.so\.1$
218
219
220## libpapi
221#
222# - FSG_1.0 is a label for the Free Standards Group, version 1 of this library
223#	6346505 print commands should use PAPI for service interaction
224#		(LSARC/2003/547)
225#
226EMPTY_TOPVERSION	^FSG_1\.0$	^usr/lib/libpapi.so.0$
227
228
229## libresolv2
230#
231# - Version SUNW_2.3 is empty
232#	6689937 libresolv2's mapfile-vers needs updating to line up
233#		with S10 changes
234#
235EMPTY_TOPVERSION	^SUNW_2\.3$	^MACH(lib)/libresolv\.so\.2$
236
237
238## librtld_db
239#
240# - rd_fix_phdrs() was introduced into Solaris 10 to support branded zones,
241#   and was removed as part of:
242#	6599700 librtld_db needs better plugin support
243#
244DELSYM	^rd_fix_phdrs$	^SUNW_1\.1$	^MACH(lib)/librtld_db\.so\.1$
245
246
247## libtecla
248#
249#    - gl_completion_action() was renamed pca_path_completions()
250#    - gl_set_term_size was moved from tecla_1.4 to tecla_l.5
251#    - The version tecla_l.5 (note the "el" (l) instead of a one (1) is
252#      intentional. See the libtecla mapfile for details.
253#
254DELSYM	^gl_completion_action$	\
255	^tecla_1\.[2-4]$	\
256	^usr/MACH(lib)/libtecla\.so\.1$
257DELSYM	^gl_set_term_size$	\
258	^tecla_1\.4$		\
259	^usr/MACH(lib)/libtecla\.so\.1$
260ADDSYM	^pca_path_completions$		\
261	^(tecla_1\.[2346]|tecla_l\.5)$	\
262	^usr/MACH(lib)/libtecla\.so\.1$
263