xref: /titanic_50/exception_lists/interface_check (revision af92a18e11dad63444c90b2655258da84e644faf)
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.
248cfa78e6SAndy Fiddaman# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
2575ce41a5SAli Bahrami
265253169eSAli Bahrami# This file provides exceptions to the usual rules applied to shared
275253169eSAli Bahrami# objects by interface_check. All strings are Perl regular expressions
285253169eSAli Bahrami# that are compared to file names. In addition to the standard Perl
295253169eSAli Bahrami# syntax, there is one extension:
3075ce41a5SAli Bahrami#
3175ce41a5SAli Bahrami#	MACH(dir)
3275ce41a5SAli Bahrami#
3375ce41a5SAli Bahrami# is expanded into a regular expression that matches the given
3475ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the
3575ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match
3675ce41a5SAli Bahrami# any of the following:
3775ce41a5SAli Bahrami#
3875ce41a5SAli Bahrami#	lib
3975ce41a5SAli Bahrami#	lib/amd64
4075ce41a5SAli Bahrami#	lib/sparcv9
4175ce41a5SAli Bahrami
4275ce41a5SAli Bahrami
435253169eSAli Bahrami# Shared objects underneath these parts of the tree are taken to be plugins.
4475ce41a5SAli Bahrami# Plugins are not required to have versioned file names, and are not required
4575ce41a5SAli Bahrami# to be internally versioned.
4675ce41a5SAli Bahrami#
4775ce41a5SAli BahramiPLUGIN		^usr/lib/devfsadm
4875ce41a5SAli BahramiPLUGIN		^usr/lib/efcode/.*\.so$
4975ce41a5SAli BahramiPLUGIN		^usr/lib/elfedit
5075ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/plugins
5175ce41a5SAli BahramiPLUGIN		^usr/lib/fm/fmd/schemes
5275ce41a5SAli BahramiPLUGIN		^usr/lib/fm/topo/plugins
5375ce41a5SAli BahramiPLUGIN		^usr/lib/fwflash
5475ce41a5SAli BahramiPLUGIN		^usr/lib/iconv
5575ce41a5SAli BahramiPLUGIN		^usr/lib/inet/ppp
56b0e753ddSGordon RossPLUGIN		^usr/lib/lp/ipp
5775ce41a5SAli BahramiPLUGIN		^usr/lib/mdb
5875ce41a5SAli BahramiPLUGIN		^usr/lib/pci
5975ce41a5SAli BahramiPLUGIN		^usr/lib/picl/plugins
6024bb1048SAlexander PyhalovPLUGIN		^usr/lib/python2.[467]
61*af92a18eSAndy FiddamanPLUGIN		^usr/lib/python3.[56789]
6275ce41a5SAli BahramiPLUGIN		^usr/lib/rcm/modules
6375ce41a5SAli BahramiPLUGIN		^usr/lib/scsi/plugins
6475ce41a5SAli BahramiPLUGIN		^usr/lib/sysevent/modules
6575ce41a5SAli BahramiPLUGIN		^usr/perl5/5\.[^\\]*/lib
6675ce41a5SAli BahramiPLUGIN		^usr/platform
6775ce41a5SAli BahramiPLUGIN		^usr/sadm/lib/wbem
682c2a4b29SRichard Lowe# We unfortunately can't use MACH() here, since .../64/ is literal, and not a
692c2a4b29SRichard Lowe# link to to amd64 or sparcv9
702c2a4b29SRichard LowePLUGIN		^usr/lib/dtrace/libdtrace_forceload\.so$
712c2a4b29SRichard LowePLUGIN		^usr/lib/dtrace/64/libdtrace_forceload\.so$
7275ce41a5SAli Bahrami
7375ce41a5SAli Bahrami# sbcp is a special case, and not a plugin. However, it does not have a
7475ce41a5SAli Bahrami# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
7575ce41a5SAli BahramiPLUGIN	^usr/4lib/sbcp$
7675ce41a5SAli Bahrami
7775ce41a5SAli Bahrami
7875ce41a5SAli Bahrami# Objects that are not expected to contain versioning information.
7975ce41a5SAli Bahrami# Note that PLUGIN objects are automatically exempt from this,
8075ce41a5SAli Bahrami# so these directives are generally applied to non-plugin objects
8175ce41a5SAli BahramiNOVERDEF	^usr/4lib/libc\.so\.
8275ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
8375ce41a5SAli BahramiNOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
8475ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
8575ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
8675ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
8775ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/madv\.so\.1$
8875ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
891ae9ce9bSGerald JelinekNOVERDEF	^usr/MACH(lib)/s10_brand\.so\.1$
901ae9ce9bSGerald JelinekNOVERDEF	^usr/MACH(lib)/s10_npreload\.so\.1$
9175ce41a5SAli BahramiNOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
9275ce41a5SAli BahramiNOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
9375ce41a5SAli BahramiNOVERDEF	^usr/lib/libmilter\.so\.1$
9475ce41a5SAli BahramiNOVERDEF	^usr/lib/libwrap\.so\.1\.0$
9575ce41a5SAli BahramiNOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
9675ce41a5SAli BahramiNOVERDEF	^usr/lib/picl/plugins$
9775ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
9875ce41a5SAli BahramiNOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
9975ce41a5SAli Bahrami
10075ce41a5SAli Bahrami
10175ce41a5SAli Bahrami# Objects that are allowed to deviate from our standard version
10275ce41a5SAli Bahrami# names.
1039e7640efSGordon RossNONSTD_VERNAME	^MACH(lib)/libsqlite-sys\.so\.
10475ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
10575ce41a5SAli Bahrami
10675ce41a5SAli Bahrami# These libc variants have an SONAME of libc\.so\.1$
10775ce41a5SAli BahramiNONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
10875ce41a5SAli Bahrami
10975ce41a5SAli Bahrami# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
11075ce41a5SAli Bahrami# That means that the base version will also be /usr/lib/ld.so.1, which
11175ce41a5SAli Bahrami# is non-standard.
11275ce41a5SAli BahramiNONSTD_VERNAME	^usr/lib/libsys\.so\.1$
113