110355SAli.Bahrami@Sun.COM#
210355SAli.Bahrami@Sun.COM# CDDL HEADER START
310355SAli.Bahrami@Sun.COM#
410355SAli.Bahrami@Sun.COM# The contents of this file are subject to the terms of the
510355SAli.Bahrami@Sun.COM# Common Development and Distribution License (the "License").
610355SAli.Bahrami@Sun.COM# You may not use this file except in compliance with the License.
710355SAli.Bahrami@Sun.COM#
810355SAli.Bahrami@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
910355SAli.Bahrami@Sun.COM# or http://www.opensolaris.org/os/licensing.
1010355SAli.Bahrami@Sun.COM# See the License for the specific language governing permissions
1110355SAli.Bahrami@Sun.COM# and limitations under the License.
1210355SAli.Bahrami@Sun.COM#
1310355SAli.Bahrami@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
1410355SAli.Bahrami@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1510355SAli.Bahrami@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
1610355SAli.Bahrami@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
1710355SAli.Bahrami@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
1810355SAli.Bahrami@Sun.COM#
1910355SAli.Bahrami@Sun.COM# CDDL HEADER END
2010355SAli.Bahrami@Sun.COM#
2110355SAli.Bahrami@Sun.COM
2210355SAli.Bahrami@Sun.COM#
2310355SAli.Bahrami@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2410355SAli.Bahrami@Sun.COM# Use is subject to license terms.
2510355SAli.Bahrami@Sun.COM#
2610355SAli.Bahrami@Sun.COM
2710355SAli.Bahrami@Sun.COM# This file provides exceptions to the usual rules applied to sharable
2810355SAli.Bahrami@Sun.COM# objects by intf_check. All strings are Perl regular expressions that
2910355SAli.Bahrami@Sun.COM# are compared to file names. In addition to the standard Perl syntax,
3010355SAli.Bahrami@Sun.COM# there is one extension:
3110355SAli.Bahrami@Sun.COM#
3210355SAli.Bahrami@Sun.COM#	MACH(dir)
3310355SAli.Bahrami@Sun.COM#
3410355SAli.Bahrami@Sun.COM# is expanded into a regular expression that matches the given
3510355SAli.Bahrami@Sun.COM# directory, or a 64-bit subdirectory of the directory with the
3610355SAli.Bahrami@Sun.COM# name of a 64-bit architecture. For example, MACH(lib) will match
3710355SAli.Bahrami@Sun.COM# any of the following:
3810355SAli.Bahrami@Sun.COM#
3910355SAli.Bahrami@Sun.COM#	lib
4010355SAli.Bahrami@Sun.COM#	lib/amd64
4110355SAli.Bahrami@Sun.COM#	lib/sparcv9
4210355SAli.Bahrami@Sun.COM
4310355SAli.Bahrami@Sun.COM
4410355SAli.Bahrami@Sun.COM# Sharable objects underneath these parts of the tree are taken to be plugins.
4510355SAli.Bahrami@Sun.COM# Plugins are not required to have versioned file names, and are not required
4610355SAli.Bahrami@Sun.COM# to be internally versioned.
4710355SAli.Bahrami@Sun.COM#
4810355SAli.Bahrami@Sun.COMPLUGIN		^usr/apache/libexec
4910355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/devfsadm
5010355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/efcode/.*\.so$
5110355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/elfedit
5210355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/fm/fmd/plugins
5310355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/fm/fmd/schemes
5410355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/fm/topo/plugins
5510355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/fwflash
5610355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/iconv
5710355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/inet/ppp
5810355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/mdb
5910355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/mms
6010355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/pci
6110355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/picl/plugins
6210355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/python2.4
6310355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/rcm/modules
6410355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/scsi/plugins
6510355SAli.Bahrami@Sun.COMPLUGIN		^usr/lib/sysevent/modules
6610355SAli.Bahrami@Sun.COMPLUGIN		^usr/perl5/5\.[^\\]*/lib
6710355SAli.Bahrami@Sun.COMPLUGIN		^usr/platform
6810355SAli.Bahrami@Sun.COMPLUGIN		^usr/sadm/lib/wbem
6910355SAli.Bahrami@Sun.COM
7010355SAli.Bahrami@Sun.COM
7110355SAli.Bahrami@Sun.COM# sbcp is a special case, and not a plugin. However, it does not have a
7210355SAli.Bahrami@Sun.COM# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
7310355SAli.Bahrami@Sun.COMPLUGIN	^usr/4lib/sbcp$
7410355SAli.Bahrami@Sun.COM
7510355SAli.Bahrami@Sun.COM
7610355SAli.Bahrami@Sun.COM# Objects that are not expected to contain versioning information.
7710355SAli.Bahrami@Sun.COM# Note that PLUGIN objects are automatically exempt from this,
7810355SAli.Bahrami@Sun.COM# so these directives are generally applied to non-plugin objects
7910355SAli.Bahrami@Sun.COMNOVERDEF	^usr/4lib/libc\.so\.
8010355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
8110355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
8210355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
8310355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
8410355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
8510355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/madv\.so\.1$
8610355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
87*10844SGerald.Jelinek@Sun.COMNOVERDEF	^usr/MACH(lib)/s10_brand\.so\.1$
88*10844SGerald.Jelinek@Sun.COMNOVERDEF	^usr/MACH(lib)/s10_npreload\.so\.1$
8910355SAli.Bahrami@Sun.COMNOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
9010355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
9110355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/libmilter\.so\.1$
9210355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/libwrap\.so\.1\.0$
9310355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
9410355SAli.Bahrami@Sun.COMNOVERDEF	^usr/lib/picl/plugins$
9510355SAli.Bahrami@Sun.COMNOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
9610355SAli.Bahrami@Sun.COMNOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
9710355SAli.Bahrami@Sun.COM
9810355SAli.Bahrami@Sun.COM
9910355SAli.Bahrami@Sun.COM# Objects that are allowed to deviate from our standard version
10010355SAli.Bahrami@Sun.COM# names.
10110355SAli.Bahrami@Sun.COMNONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
10210355SAli.Bahrami@Sun.COM
10310355SAli.Bahrami@Sun.COM
10410355SAli.Bahrami@Sun.COM# These libc variants have an SONAME of libc\.so\.1$
10510355SAli.Bahrami@Sun.COMNONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
10610355SAli.Bahrami@Sun.COM
10710355SAli.Bahrami@Sun.COM
10810355SAli.Bahrami@Sun.COM# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
10910355SAli.Bahrami@Sun.COM# That means that the base version will also be /usr/lib/ld.so.1, which
11010355SAli.Bahrami@Sun.COM# is non-standard.
11110355SAli.Bahrami@Sun.COMNONSTD_VERNAME	^usr/lib/libsys\.so\.1$
112