xref: /titanic_41/exception_lists/interface_check (revision f33c1cdb6d38eb0715f03cf492f31c3d4d395c98)
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_check. All strings are Perl regular expressions that
29# are compared to file names. In addition to the standard Perl syntax,
30# 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# Sharable objects underneath these parts of the tree are taken to be plugins.
45# Plugins are not required to have versioned file names, and are not required
46# to be internally versioned.
47#
48PLUGIN		^usr/apache/libexec
49PLUGIN		^usr/lib/devfsadm
50PLUGIN		^usr/lib/efcode/.*\.so$
51PLUGIN		^usr/lib/elfedit
52PLUGIN		^usr/lib/fm/fmd/plugins
53PLUGIN		^usr/lib/fm/fmd/schemes
54PLUGIN		^usr/lib/fm/topo/plugins
55PLUGIN		^usr/lib/fwflash
56PLUGIN		^usr/lib/iconv
57PLUGIN		^usr/lib/inet/ppp
58PLUGIN		^usr/lib/mdb
59PLUGIN		^usr/lib/mms
60PLUGIN		^usr/lib/pci
61PLUGIN		^usr/lib/picl/plugins
62PLUGIN		^usr/lib/python2.4
63PLUGIN		^usr/lib/rcm/modules
64PLUGIN		^usr/lib/scsi/plugins
65PLUGIN		^usr/lib/sysevent/modules
66PLUGIN		^usr/perl5/5\.[^\\]*/lib
67PLUGIN		^usr/platform
68PLUGIN		^usr/sadm/lib/wbem
69
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)/sn1_brand\.so\.1$
88NOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
89NOVERDEF	^usr/lib/libmilter\.so\.1$
90NOVERDEF	^usr/lib/libwrap\.so\.1\.0$
91NOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
92NOVERDEF	^usr/lib/picl/plugins$
93NOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
94NOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
95
96
97# Objects that are allowed to deviate from our standard version
98# names.
99NONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
100
101
102# These libc variants have an SONAME of libc\.so\.1$
103NONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
104
105
106# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
107# That means that the base version will also be /usr/lib/ld.so.1, which
108# is non-standard.
109NONSTD_VERNAME	^usr/lib/libsys\.so\.1$
110