xref: /illumos-gate/exception_lists/interface_check (revision c160bf3613805cfb4a89a0433ae896d3594f551f)
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# This file provides exceptions to the usual rules applied to shared
26# objects by interface_check. All strings are Perl regular expressions
27# that are compared to file names. In addition to the standard Perl
28# syntax, there is one extension:
29#
30#	MACH(dir)
31#
32# is expanded into a regular expression that matches the given
33# directory, or a 64-bit subdirectory of the directory with the
34# name of a 64-bit architecture. For example, MACH(lib) will match
35# any of the following:
36#
37#	lib
38#	lib/amd64
39#	lib/sparcv9
40
41
42# Shared objects underneath these parts of the tree are taken to be plugins.
43# Plugins are not required to have versioned file names, and are not required
44# to be internally versioned.
45#
46PLUGIN		^usr/lib/devfsadm
47PLUGIN		^usr/lib/efcode/.*\.so$
48PLUGIN		^usr/lib/elfedit
49PLUGIN		^usr/lib/fm/fmd/plugins
50PLUGIN		^usr/lib/fm/fmd/schemes
51PLUGIN		^usr/lib/fm/topo/plugins
52PLUGIN		^usr/lib/fwflash
53PLUGIN		^usr/lib/iconv
54PLUGIN		^usr/lib/inet/ppp
55PLUGIN		^usr/lib/lp/ipp
56PLUGIN		^usr/lib/mdb
57PLUGIN		^usr/lib/pci
58PLUGIN		^usr/lib/picl/plugins
59PLUGIN		^usr/lib/python2.[467]
60PLUGIN		^usr/lib/rcm/modules
61PLUGIN		^usr/lib/scsi/plugins
62PLUGIN		^usr/lib/sysevent/modules
63PLUGIN		^usr/perl5/5\.[^\\]*/lib
64PLUGIN		^usr/platform
65PLUGIN		^usr/sadm/lib/wbem
66# We unfortunately can't use MACH() here, since .../64/ is literal, and not a
67# link to to amd64 or sparcv9
68PLUGIN		^usr/lib/dtrace/libdtrace_forceload\.so$
69PLUGIN		^usr/lib/dtrace/64/libdtrace_forceload\.so$
70
71# sbcp is a special case, and not a plugin. However, it does not have a
72# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
73PLUGIN	^usr/4lib/sbcp$
74
75
76# Objects that are not expected to contain versioning information.
77# Note that PLUGIN objects are automatically exempt from this,
78# so these directives are generally applied to non-plugin objects
79NOVERDEF	^usr/4lib/libc\.so\.
80NOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
81NOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
82NOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
83NOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
84NOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
85NOVERDEF	^usr/MACH(lib)/madv\.so\.1$
86NOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
87NOVERDEF	^usr/MACH(lib)/s10_brand\.so\.1$
88NOVERDEF	^usr/MACH(lib)/s10_npreload\.so\.1$
89NOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
90NOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
91NOVERDEF	^usr/lib/libmilter\.so\.1$
92NOVERDEF	^usr/lib/libwrap\.so\.1\.0$
93NOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
94NOVERDEF	^usr/lib/picl/plugins$
95NOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
96NOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
97
98
99# Objects that are allowed to deviate from our standard version
100# names.
101NONSTD_VERNAME	^MACH(lib)/libsqlite-sys\.so\.
102NONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
103
104# These libc variants have an SONAME of libc\.so\.1$
105NONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
106
107# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
108# That means that the base version will also be /usr/lib/ld.so.1, which
109# is non-standard.
110NONSTD_VERNAME	^usr/lib/libsys\.so\.1$
111