blob: e97322fac357a63853b69b77f4131d01146276af [file] [log] [blame]
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
# This file provides exceptions to the usual rules applied to shared
# objects by interface_check. All strings are Perl regular expressions
# that are compared to file names. In addition to the standard Perl
# syntax, there is one extension:
#
# MACH(dir)
#
# is expanded into a regular expression that matches the given
# directory, or a 64-bit subdirectory of the directory with the
# name of a 64-bit architecture. For example, MACH(lib) will match
# any of the following:
#
# lib
# lib/amd64
# lib/sparcv9
# Shared objects underneath these parts of the tree are taken to be plugins.
# Plugins are not required to have versioned file names, and are not required
# to be internally versioned.
#
PLUGIN ^usr/lib/devfsadm
PLUGIN ^usr/lib/efcode/.*\.so$
PLUGIN ^usr/lib/elfedit
PLUGIN ^usr/lib/fm/fmd/plugins
PLUGIN ^usr/lib/fm/fmd/schemes
PLUGIN ^usr/lib/fm/topo/plugins
PLUGIN ^usr/lib/fwflash
PLUGIN ^usr/lib/iconv
PLUGIN ^usr/lib/inet/ppp
PLUGIN ^usr/lib/lp/ipp
PLUGIN ^usr/lib/mdb
PLUGIN ^usr/lib/pci
PLUGIN ^usr/lib/picl/plugins
PLUGIN ^usr/lib/python2.[467]
PLUGIN ^usr/lib/python3.[56789]
PLUGIN ^usr/lib/rcm/modules
PLUGIN ^usr/lib/scsi/plugins
PLUGIN ^usr/lib/sysevent/modules
PLUGIN ^usr/perl5/5\.[^\\]*/lib
PLUGIN ^usr/platform
PLUGIN ^usr/sadm/lib/wbem
# We unfortunately can't use MACH() here, since .../64/ is literal, and not a
# link to to amd64 or sparcv9
PLUGIN ^usr/lib/dtrace/libdtrace_forceload\.so$
PLUGIN ^usr/lib/dtrace/64/libdtrace_forceload\.so$
# Objects that are not expected to contain versioning information.
# Note that PLUGIN objects are automatically exempt from this,
# so these directives are generally applied to non-plugin objects
NOVERDEF ^usr/MACH(lib)/0\@0\.so\.1$
NOVERDEF ^usr/lib/MACH(abi)/apptrace\.so\.1$
NOVERDEF ^usr/MACH(lib)/libfru.*\.so\.1$
NOVERDEF ^usr/MACH(lib)/libkrb5\.so\.1$
NOVERDEF ^usr/MACH(lib)/libzpool\.so\.1$
NOVERDEF ^usr/MACH(lib)/madv\.so\.1$
NOVERDEF ^usr/MACH(lib)/mpss\.so\.1$
NOVERDEF ^usr/MACH(lib)/s10_brand\.so\.1$
NOVERDEF ^usr/MACH(lib)/s10_npreload\.so\.1$
NOVERDEF ^usr/MACH(lib)/sn1_brand\.so\.1$
NOVERDEF ^usr/lib/fs/[^/]*/fstyp\.so\.1$
NOVERDEF ^usr/lib/libmilter\.so\.1$
NOVERDEF ^usr/lib/libwrap\.so\.1\.0$
NOVERDEF ^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
NOVERDEF ^usr/lib/picl/plugins$
NOVERDEF ^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
NOVERDEF ^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
# Objects that are allowed to deviate from our standard version
# names.
NONSTD_VERNAME ^MACH(lib)/libsqlite-sys\.so\.
NONSTD_VERNAME ^usr/MACH(lib)/libtecla\.so\.1$
# These libc variants have an SONAME of libc\.so\.1$
NONSTD_VERNAME ^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$