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