175ce41a5SAli Bahrami# 275ce41a5SAli Bahrami# CDDL HEADER START 375ce41a5SAli Bahrami# 475ce41a5SAli Bahrami# The contents of this file are subject to the terms of the 575ce41a5SAli Bahrami# Common Development and Distribution License (the "License"). 675ce41a5SAli Bahrami# You may not use this file except in compliance with the License. 775ce41a5SAli Bahrami# 875ce41a5SAli Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 975ce41a5SAli Bahrami# or http://www.opensolaris.org/os/licensing. 1075ce41a5SAli Bahrami# See the License for the specific language governing permissions 1175ce41a5SAli Bahrami# and limitations under the License. 1275ce41a5SAli Bahrami# 1375ce41a5SAli Bahrami# When distributing Covered Code, include this CDDL HEADER in each 1475ce41a5SAli Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1575ce41a5SAli Bahrami# If applicable, add the following below this CDDL HEADER, with the 1675ce41a5SAli Bahrami# fields enclosed by brackets "[]" replaced with your own identifying 1775ce41a5SAli Bahrami# information: Portions Copyright [yyyy] [name of copyright owner] 1875ce41a5SAli Bahrami# 1975ce41a5SAli Bahrami# CDDL HEADER END 2075ce41a5SAli Bahrami# 2175ce41a5SAli Bahrami 2275ce41a5SAli Bahrami# 2375ce41a5SAli Bahrami# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2475ce41a5SAli Bahrami# Use is subject to license terms. 2575ce41a5SAli Bahrami# 2675ce41a5SAli Bahrami 2775ce41a5SAli Bahrami# This file provides exceptions to the usual rules applied to sharable 2875ce41a5SAli Bahrami# objects by intf_check. All strings are Perl regular expressions that 2975ce41a5SAli Bahrami# are compared to file names. In addition to the standard Perl syntax, 3075ce41a5SAli Bahrami# there is one extension: 3175ce41a5SAli Bahrami# 3275ce41a5SAli Bahrami# MACH(dir) 3375ce41a5SAli Bahrami# 3475ce41a5SAli Bahrami# is expanded into a regular expression that matches the given 3575ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the 3675ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match 3775ce41a5SAli Bahrami# any of the following: 3875ce41a5SAli Bahrami# 3975ce41a5SAli Bahrami# lib 4075ce41a5SAli Bahrami# lib/amd64 4175ce41a5SAli Bahrami# lib/sparcv9 4275ce41a5SAli Bahrami 4375ce41a5SAli Bahrami 4475ce41a5SAli Bahrami# Sharable objects underneath these parts of the tree are taken to be plugins. 4575ce41a5SAli Bahrami# Plugins are not required to have versioned file names, and are not required 4675ce41a5SAli Bahrami# to be internally versioned. 4775ce41a5SAli Bahrami# 4875ce41a5SAli BahramiPLUGIN ^usr/apache/libexec 4975ce41a5SAli BahramiPLUGIN ^usr/lib/devfsadm 5075ce41a5SAli BahramiPLUGIN ^usr/lib/efcode/.*\.so$ 5175ce41a5SAli BahramiPLUGIN ^usr/lib/elfedit 5275ce41a5SAli BahramiPLUGIN ^usr/lib/fm/fmd/plugins 5375ce41a5SAli BahramiPLUGIN ^usr/lib/fm/fmd/schemes 5475ce41a5SAli BahramiPLUGIN ^usr/lib/fm/topo/plugins 5575ce41a5SAli BahramiPLUGIN ^usr/lib/fwflash 5675ce41a5SAli BahramiPLUGIN ^usr/lib/iconv 5775ce41a5SAli BahramiPLUGIN ^usr/lib/inet/ppp 5875ce41a5SAli BahramiPLUGIN ^usr/lib/mdb 5975ce41a5SAli BahramiPLUGIN ^usr/lib/mms 6075ce41a5SAli BahramiPLUGIN ^usr/lib/pci 6175ce41a5SAli BahramiPLUGIN ^usr/lib/picl/plugins 6275ce41a5SAli BahramiPLUGIN ^usr/lib/python2.4 6375ce41a5SAli BahramiPLUGIN ^usr/lib/rcm/modules 6475ce41a5SAli BahramiPLUGIN ^usr/lib/scsi/plugins 6575ce41a5SAli BahramiPLUGIN ^usr/lib/sysevent/modules 6675ce41a5SAli BahramiPLUGIN ^usr/perl5/5\.[^\\]*/lib 6775ce41a5SAli BahramiPLUGIN ^usr/platform 6875ce41a5SAli BahramiPLUGIN ^usr/sadm/lib/wbem 6975ce41a5SAli Bahrami 7075ce41a5SAli Bahrami 7175ce41a5SAli Bahrami# sbcp is a special case, and not a plugin. However, it does not have a 7275ce41a5SAli Bahrami# versioned name, and does not contain versioning, so the PLUGIN exemptions fit. 7375ce41a5SAli BahramiPLUGIN ^usr/4lib/sbcp$ 7475ce41a5SAli Bahrami 7575ce41a5SAli Bahrami 7675ce41a5SAli Bahrami# Objects that are not expected to contain versioning information. 7775ce41a5SAli Bahrami# Note that PLUGIN objects are automatically exempt from this, 7875ce41a5SAli Bahrami# so these directives are generally applied to non-plugin objects 7975ce41a5SAli BahramiNOVERDEF ^usr/4lib/libc\.so\. 8075ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/0\@0\.so\.1$ 8175ce41a5SAli BahramiNOVERDEF ^usr/lib/MACH(abi)/apptrace\.so\.1$ 8275ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libfru.*\.so\.1$ 8375ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libkrb5\.so\.1$ 8475ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libzpool\.so\.1$ 8575ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/madv\.so\.1$ 8675ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/mpss\.so\.1$ 87*1ae9ce9bSGerald JelinekNOVERDEF ^usr/MACH(lib)/s10_brand\.so\.1$ 88*1ae9ce9bSGerald JelinekNOVERDEF ^usr/MACH(lib)/s10_npreload\.so\.1$ 8975ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/sn1_brand\.so\.1$ 9075ce41a5SAli BahramiNOVERDEF ^usr/lib/fs/[^/]*/fstyp\.so\.1$ 9175ce41a5SAli BahramiNOVERDEF ^usr/lib/libmilter\.so\.1$ 9275ce41a5SAli BahramiNOVERDEF ^usr/lib/libwrap\.so\.1\.0$ 9375ce41a5SAli BahramiNOVERDEF ^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$ 9475ce41a5SAli BahramiNOVERDEF ^usr/lib/picl/plugins$ 9575ce41a5SAli BahramiNOVERDEF ^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$ 9675ce41a5SAli BahramiNOVERDEF ^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$ 9775ce41a5SAli Bahrami 9875ce41a5SAli Bahrami 9975ce41a5SAli Bahrami# Objects that are allowed to deviate from our standard version 10075ce41a5SAli Bahrami# names. 10175ce41a5SAli BahramiNONSTD_VERNAME ^usr/MACH(lib)/libtecla\.so\.1$ 10275ce41a5SAli Bahrami 10375ce41a5SAli Bahrami 10475ce41a5SAli Bahrami# These libc variants have an SONAME of libc\.so\.1$ 10575ce41a5SAli BahramiNONSTD_VERNAME ^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$ 10675ce41a5SAli Bahrami 10775ce41a5SAli Bahrami 10875ce41a5SAli Bahrami# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1 10975ce41a5SAli Bahrami# That means that the base version will also be /usr/lib/ld.so.1, which 11075ce41a5SAli Bahrami# is non-standard. 11175ce41a5SAli BahramiNONSTD_VERNAME ^usr/lib/libsys\.so\.1$ 112