xref: /titanic_41/exception_lists/interface_check (revision 5253169e90b276216b53d82f9ba4c56334db5740)
174b5a35dSPaul Cheng#
274b5a35dSPaul Cheng# CDDL HEADER START
374b5a35dSPaul Cheng#
474b5a35dSPaul Cheng# The contents of this file are subject to the terms of the
574b5a35dSPaul Cheng# Common Development and Distribution License (the "License").
674b5a35dSPaul Cheng# You may not use this file except in compliance with the License.
774b5a35dSPaul Cheng#
874b5a35dSPaul Cheng# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
974b5a35dSPaul Cheng# or http://www.opensolaris.org/os/licensing.
1074b5a35dSPaul Cheng# See the License for the specific language governing permissions
1174b5a35dSPaul Cheng# and limitations under the License.
1274b5a35dSPaul Cheng#
1374b5a35dSPaul Cheng# When distributing Covered Code, include this CDDL HEADER in each
1474b5a35dSPaul Cheng# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1574b5a35dSPaul Cheng# If applicable, add the following below this CDDL HEADER, with the
1674b5a35dSPaul Cheng# fields enclosed by brackets "[]" replaced with your own identifying
1774b5a35dSPaul Cheng# information: Portions Copyright [yyyy] [name of copyright owner]
1874b5a35dSPaul Cheng#
1974b5a35dSPaul Cheng# CDDL HEADER END
2074b5a35dSPaul Cheng#
2174b5a35dSPaul Cheng
2274b5a35dSPaul Cheng
230a925b19SPaul Cheng# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
2475ce41a5SAli Bahrami
25*5253169eSAli Bahrami# This file provides exceptions to the usual rules applied to shared
26*5253169eSAli Bahrami# objects by interface_check. All strings are Perl regular expressions
27*5253169eSAli Bahrami# that are compared to file names. In addition to the standard Perl
28*5253169eSAli Bahrami# syntax, there is one extension:
2975ce41a5SAli Bahrami#
3075ce41a5SAli Bahrami#	MACH(dir)
3175ce41a5SAli Bahrami#
3275ce41a5SAli Bahrami# is expanded into a regular expression that matches the given
3375ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the
3475ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match
3575ce41a5SAli Bahrami# any of the following:
3675ce41a5SAli Bahrami#
3775ce41a5SAli Bahrami#	lib
3875ce41a5SAli Bahrami#	lib/amd64
3975ce41a5SAli Bahrami#	lib/sparcv9
4075ce41a5SAli Bahrami
4175ce41a5SAli Bahrami
42*5253169eSAli Bahrami# Shared objects underneath these parts of the tree are taken to be plugins.
4375ce41a5SAli Bahrami# Plugins are not required to have versioned file names, and are not required
4475ce41a5SAli Bahrami# to be internally versioned.
4575ce41a5SAli Bahrami#
4675ce41a5SAli BahramiPLUGIN		^usr/apache/libexec
4775ce41a5SAli BahramiPLUGIN		^usr/lib/devfsadm
4875ce41a5SAli BahramiPLUGIN		^usr/lib/efcode/.*\.so$
4975ce41a5SAli BahramiPLUGIN		^usr/lib/elfedit
5075ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/plugins
5175ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/schemes
5275ce41a5SAli BahramiPLUGIN		^usr/lib/fm/topo/plugins
5375ce41a5SAli BahramiPLUGIN		^usr/lib/fwflash
5475ce41a5SAli BahramiPLUGIN		^usr/lib/iconv
5575ce41a5SAli BahramiPLUGIN		^usr/lib/inet/ppp
5675ce41a5SAli BahramiPLUGIN		^usr/lib/mdb
5775ce41a5SAli BahramiPLUGIN		^usr/lib/pci
5875ce41a5SAli BahramiPLUGIN		^usr/lib/picl/plugins
5975ce41a5SAli BahramiPLUGIN		^usr/lib/python2.4
6075ce41a5SAli BahramiPLUGIN		^usr/lib/rcm/modules
6175ce41a5SAli BahramiPLUGIN		^usr/lib/scsi/plugins
6275ce41a5SAli BahramiPLUGIN		^usr/lib/sysevent/modules
6375ce41a5SAli BahramiPLUGIN		^usr/perl5/5\.[^\\]*/lib
6475ce41a5SAli BahramiPLUGIN		^usr/platform
6575ce41a5SAli BahramiPLUGIN		^usr/sadm/lib/wbem
6675ce41a5SAli Bahrami
6775ce41a5SAli Bahrami
6875ce41a5SAli Bahrami# sbcp is a special case, and not a plugin. However, it does not have a
6975ce41a5SAli Bahrami# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
7075ce41a5SAli BahramiPLUGIN	^usr/4lib/sbcp$
7175ce41a5SAli Bahrami
7275ce41a5SAli Bahrami
7375ce41a5SAli Bahrami# Objects that are not expected to contain versioning information.
7475ce41a5SAli Bahrami# Note that PLUGIN objects are automatically exempt from this,
7575ce41a5SAli Bahrami# so these directives are generally applied to non-plugin objects
7675ce41a5SAli BahramiNOVERDEF	^usr/4lib/libc\.so\.
7775ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
7875ce41a5SAli BahramiNOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
7975ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
8075ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
8175ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
8275ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/madv\.so\.1$
8375ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
841ae9ce9bSGerald JelinekNOVERDEF	^usr/MACH(lib)/s10_brand\.so\.1$
851ae9ce9bSGerald JelinekNOVERDEF	^usr/MACH(lib)/s10_npreload\.so\.1$
8675ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
8775ce41a5SAli BahramiNOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
8875ce41a5SAli BahramiNOVERDEF	^usr/lib/libmilter\.so\.1$
8975ce41a5SAli BahramiNOVERDEF	^usr/lib/libwrap\.so\.1\.0$
9075ce41a5SAli BahramiNOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
9175ce41a5SAli BahramiNOVERDEF	^usr/lib/picl/plugins$
9275ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
9375ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
9475ce41a5SAli Bahrami
9575ce41a5SAli Bahrami
9675ce41a5SAli Bahrami# Objects that are allowed to deviate from our standard version
9775ce41a5SAli Bahrami# names.
9875ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
9975ce41a5SAli Bahrami
10075ce41a5SAli Bahrami
10175ce41a5SAli Bahrami# These libc variants have an SONAME of libc\.so\.1$
10275ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
10375ce41a5SAli Bahrami
10475ce41a5SAli Bahrami
10575ce41a5SAli Bahrami# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
10675ce41a5SAli Bahrami# That means that the base version will also be /usr/lib/ld.so.1, which
10775ce41a5SAli Bahrami# is non-standard.
10875ce41a5SAli BahramiNONSTD_VERNAME	^usr/lib/libsys\.so\.1$
109