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 255253169eSAli Bahrami# This file provides exceptions to the usual rules applied to shared 265253169eSAli Bahrami# objects by interface_check. All strings are Perl regular expressions 275253169eSAli Bahrami# that are compared to file names. In addition to the standard Perl 285253169eSAli 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 425253169eSAli 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/lib/devfsadm 4775ce41a5SAli BahramiPLUGIN ^usr/lib/efcode/.*\.so$ 4875ce41a5SAli BahramiPLUGIN ^usr/lib/elfedit 4975ce41a5SAli BahramiPLUGIN ^usr/lib/fm/fmd/plugins 5075ce41a5SAli BahramiPLUGIN ^usr/lib/fm/fmd/schemes 5175ce41a5SAli BahramiPLUGIN ^usr/lib/fm/topo/plugins 5275ce41a5SAli BahramiPLUGIN ^usr/lib/fwflash 5375ce41a5SAli BahramiPLUGIN ^usr/lib/iconv 5475ce41a5SAli BahramiPLUGIN ^usr/lib/inet/ppp 55b0e753ddSGordon RossPLUGIN ^usr/lib/lp/ipp 5675ce41a5SAli BahramiPLUGIN ^usr/lib/mdb 5775ce41a5SAli BahramiPLUGIN ^usr/lib/pci 5875ce41a5SAli BahramiPLUGIN ^usr/lib/picl/plugins 592e648a8bSLori AltPLUGIN ^usr/lib/python2.[46] 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 662c2a4b29SRichard Lowe# We unfortunately can't use MACH() here, since .../64/ is literal, and not a 672c2a4b29SRichard Lowe# link to to amd64 or sparcv9 682c2a4b29SRichard LowePLUGIN ^usr/lib/dtrace/libdtrace_forceload\.so$ 692c2a4b29SRichard LowePLUGIN ^usr/lib/dtrace/64/libdtrace_forceload\.so$ 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$ 871ae9ce9bSGerald JelinekNOVERDEF ^usr/MACH(lib)/s10_brand\.so\.1$ 881ae9ce9bSGerald 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. 101*9e7640efSGordon RossNONSTD_VERNAME ^MACH(lib)/libsqlite-sys\.so\. 10275ce41a5SAli BahramiNONSTD_VERNAME ^usr/MACH(lib)/libtecla\.so\.1$ 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# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1 10875ce41a5SAli Bahrami# That means that the base version will also be /usr/lib/ld.so.1, which 10975ce41a5SAli Bahrami# is non-standard. 11075ce41a5SAli BahramiNONSTD_VERNAME ^usr/lib/libsys\.so\.1$ 111