xref: /titanic_51/exception_lists/interface_check (revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944)
1*75ce41a5SAli Bahrami#
2*75ce41a5SAli Bahrami# CDDL HEADER START
3*75ce41a5SAli Bahrami#
4*75ce41a5SAli Bahrami# The contents of this file are subject to the terms of the
5*75ce41a5SAli Bahrami# Common Development and Distribution License (the "License").
6*75ce41a5SAli Bahrami# You may not use this file except in compliance with the License.
7*75ce41a5SAli Bahrami#
8*75ce41a5SAli Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*75ce41a5SAli Bahrami# or http://www.opensolaris.org/os/licensing.
10*75ce41a5SAli Bahrami# See the License for the specific language governing permissions
11*75ce41a5SAli Bahrami# and limitations under the License.
12*75ce41a5SAli Bahrami#
13*75ce41a5SAli Bahrami# When distributing Covered Code, include this CDDL HEADER in each
14*75ce41a5SAli Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*75ce41a5SAli Bahrami# If applicable, add the following below this CDDL HEADER, with the
16*75ce41a5SAli Bahrami# fields enclosed by brackets "[]" replaced with your own identifying
17*75ce41a5SAli Bahrami# information: Portions Copyright [yyyy] [name of copyright owner]
18*75ce41a5SAli Bahrami#
19*75ce41a5SAli Bahrami# CDDL HEADER END
20*75ce41a5SAli Bahrami#
21*75ce41a5SAli Bahrami
22*75ce41a5SAli Bahrami#
23*75ce41a5SAli Bahrami# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*75ce41a5SAli Bahrami# Use is subject to license terms.
25*75ce41a5SAli Bahrami#
26*75ce41a5SAli Bahrami
27*75ce41a5SAli Bahrami# This file provides exceptions to the usual rules applied to sharable
28*75ce41a5SAli Bahrami# objects by intf_check. All strings are Perl regular expressions that
29*75ce41a5SAli Bahrami# are compared to file names. In addition to the standard Perl syntax,
30*75ce41a5SAli Bahrami# there is one extension:
31*75ce41a5SAli Bahrami#
32*75ce41a5SAli Bahrami#	MACH(dir)
33*75ce41a5SAli Bahrami#
34*75ce41a5SAli Bahrami# is expanded into a regular expression that matches the given
35*75ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the
36*75ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match
37*75ce41a5SAli Bahrami# any of the following:
38*75ce41a5SAli Bahrami#
39*75ce41a5SAli Bahrami#	lib
40*75ce41a5SAli Bahrami#	lib/amd64
41*75ce41a5SAli Bahrami#	lib/sparcv9
42*75ce41a5SAli Bahrami
43*75ce41a5SAli Bahrami
44*75ce41a5SAli Bahrami# Sharable objects underneath these parts of the tree are taken to be plugins.
45*75ce41a5SAli Bahrami# Plugins are not required to have versioned file names, and are not required
46*75ce41a5SAli Bahrami# to be internally versioned.
47*75ce41a5SAli Bahrami#
48*75ce41a5SAli BahramiPLUGIN		^usr/apache/libexec
49*75ce41a5SAli BahramiPLUGIN		^usr/lib/devfsadm
50*75ce41a5SAli BahramiPLUGIN		^usr/lib/efcode/.*\.so$
51*75ce41a5SAli BahramiPLUGIN		^usr/lib/elfedit
52*75ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/plugins
53*75ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/schemes
54*75ce41a5SAli BahramiPLUGIN		^usr/lib/fm/topo/plugins
55*75ce41a5SAli BahramiPLUGIN		^usr/lib/fwflash
56*75ce41a5SAli BahramiPLUGIN		^usr/lib/iconv
57*75ce41a5SAli BahramiPLUGIN		^usr/lib/inet/ppp
58*75ce41a5SAli BahramiPLUGIN		^usr/lib/mdb
59*75ce41a5SAli BahramiPLUGIN		^usr/lib/mms
60*75ce41a5SAli BahramiPLUGIN		^usr/lib/pci
61*75ce41a5SAli BahramiPLUGIN		^usr/lib/picl/plugins
62*75ce41a5SAli BahramiPLUGIN		^usr/lib/python2.4
63*75ce41a5SAli BahramiPLUGIN		^usr/lib/rcm/modules
64*75ce41a5SAli BahramiPLUGIN		^usr/lib/scsi/plugins
65*75ce41a5SAli BahramiPLUGIN		^usr/lib/sysevent/modules
66*75ce41a5SAli BahramiPLUGIN		^usr/perl5/5\.[^\\]*/lib
67*75ce41a5SAli BahramiPLUGIN		^usr/platform
68*75ce41a5SAli BahramiPLUGIN		^usr/sadm/lib/wbem
69*75ce41a5SAli Bahrami
70*75ce41a5SAli Bahrami
71*75ce41a5SAli Bahrami# sbcp is a special case, and not a plugin. However, it does not have a
72*75ce41a5SAli Bahrami# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
73*75ce41a5SAli BahramiPLUGIN	^usr/4lib/sbcp$
74*75ce41a5SAli Bahrami
75*75ce41a5SAli Bahrami
76*75ce41a5SAli Bahrami# Objects that are not expected to contain versioning information.
77*75ce41a5SAli Bahrami# Note that PLUGIN objects are automatically exempt from this,
78*75ce41a5SAli Bahrami# so these directives are generally applied to non-plugin objects
79*75ce41a5SAli BahramiNOVERDEF	^usr/4lib/libc\.so\.
80*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
81*75ce41a5SAli BahramiNOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
82*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
83*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
84*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
85*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/madv\.so\.1$
86*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
87*75ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
88*75ce41a5SAli BahramiNOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
89*75ce41a5SAli BahramiNOVERDEF	^usr/lib/libmilter\.so\.1$
90*75ce41a5SAli BahramiNOVERDEF	^usr/lib/libwrap\.so\.1\.0$
91*75ce41a5SAli BahramiNOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
92*75ce41a5SAli BahramiNOVERDEF	^usr/lib/picl/plugins$
93*75ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
94*75ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
95*75ce41a5SAli Bahrami
96*75ce41a5SAli Bahrami
97*75ce41a5SAli Bahrami# Objects that are allowed to deviate from our standard version
98*75ce41a5SAli Bahrami# names.
99*75ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
100*75ce41a5SAli Bahrami
101*75ce41a5SAli Bahrami
102*75ce41a5SAli Bahrami# These libc variants have an SONAME of libc\.so\.1$
103*75ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
104*75ce41a5SAli Bahrami
105*75ce41a5SAli Bahrami
106*75ce41a5SAli Bahrami# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
107*75ce41a5SAli Bahrami# That means that the base version will also be /usr/lib/ld.so.1, which
108*75ce41a5SAli Bahrami# is non-standard.
109*75ce41a5SAli BahramiNONSTD_VERNAME	^usr/lib/libsys\.so\.1$
110