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