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. 24*cbb067b0SAndy Fiddaman# Copyright 2021 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 609f923083SAlexander PyhalovPLUGIN ^usr/lib/python2.[467] 61*cbb067b0SAndy FiddamanPLUGIN ^usr/lib/python3.\d+ 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# Objects that are not expected to contain versioning information. 7475ce41a5SAli Bahrami# Note that PLUGIN objects are automatically exempt from this, 7575ce41a5SAli Bahrami# so these directives are generally applied to non-plugin objects 7675ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/0\@0\.so\.1$ 7775ce41a5SAli BahramiNOVERDEF ^usr/lib/MACH(abi)/apptrace\.so\.1$ 7875ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libfru.*\.so\.1$ 7975ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libkrb5\.so\.1$ 8075ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/libzpool\.so\.1$ 8175ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/madv\.so\.1$ 8275ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/mpss\.so\.1$ 831ae9ce9bSGerald JelinekNOVERDEF ^usr/MACH(lib)/s10_brand\.so\.1$ 841ae9ce9bSGerald JelinekNOVERDEF ^usr/MACH(lib)/s10_npreload\.so\.1$ 8575ce41a5SAli BahramiNOVERDEF ^usr/MACH(lib)/sn1_brand\.so\.1$ 8675ce41a5SAli BahramiNOVERDEF ^usr/lib/fs/[^/]*/fstyp\.so\.1$ 8775ce41a5SAli BahramiNOVERDEF ^usr/lib/libmilter\.so\.1$ 8875ce41a5SAli BahramiNOVERDEF ^usr/lib/libwrap\.so\.1\.0$ 8975ce41a5SAli BahramiNOVERDEF ^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$ 9075ce41a5SAli BahramiNOVERDEF ^usr/lib/picl/plugins$ 9175ce41a5SAli BahramiNOVERDEF ^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$ 9275ce41a5SAli Bahrami 9375ce41a5SAli Bahrami 9475ce41a5SAli Bahrami# Objects that are allowed to deviate from our standard version 9575ce41a5SAli Bahrami# names. 969e7640efSGordon RossNONSTD_VERNAME ^MACH(lib)/libsqlite-sys\.so\. 9775ce41a5SAli BahramiNONSTD_VERNAME ^usr/MACH(lib)/libtecla\.so\.1$ 9875ce41a5SAli Bahrami 9975ce41a5SAli Bahrami# These libc variants have an SONAME of libc\.so\.1$ 10075ce41a5SAli BahramiNONSTD_VERNAME ^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$ 101