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