4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
26 # This file provides exceptions to the usual rules applied to shared
27 # objects by interface_check. All strings are Perl regular expressions
28 # that are compared to file names. In addition to the standard Perl
29 # syntax, there is one extension:
33 # is expanded into a regular expression that matches the given
34 # directory, or a 64-bit subdirectory of the directory with the
35 # name of a 64-bit architecture. For example, MACH(lib) will match
36 # any of the following:
43 # Shared objects underneath these parts of the tree are taken to be plugins.
44 # Plugins are not required to have versioned file names, and are not required
45 # to be internally versioned.
47 PLUGIN ^usr/lib/devfsadm
48 PLUGIN ^usr/lib/elfedit
49 PLUGIN ^usr/lib/fm/fmd/plugins
50 PLUGIN ^usr/lib/fm/fmd/schemes
51 PLUGIN ^usr/lib/fm/topo/plugins
52 PLUGIN ^usr/lib/fwflash
54 PLUGIN ^usr/lib/inet/ppp
57 PLUGIN ^usr/lib/python2.[467]
58 PLUGIN ^usr/lib/python3.[567]
59 PLUGIN ^usr/lib/rcm/modules
60 PLUGIN ^usr/lib/scsi/plugins
61 PLUGIN ^usr/lib/sysevent/modules
62 PLUGIN ^usr/perl5/5\.[^\\]*/lib
64 # We unfortunately can't use MACH() here, since .../64/ is literal, and not a
65 # link to to amd64 or sparcv9
66 PLUGIN ^usr/lib/dtrace/libdtrace_forceload\.so$
67 PLUGIN ^usr/lib/dtrace/64/libdtrace_forceload\.so$
69 # Objects that are not expected to contain versioning information.
70 # Note that PLUGIN objects are automatically exempt from this,
71 # so these directives are generally applied to non-plugin objects
72 NOVERDEF ^usr/MACH(lib)/0\@0\.so\.1$
73 NOVERDEF ^usr/lib/MACH(abi)/apptrace\.so\.1$
74 NOVERDEF ^usr/MACH(lib)/libkrb5\.so\.1$
75 NOVERDEF ^usr/MACH(lib)/libzpool\.so\.1$
76 NOVERDEF ^usr/MACH(lib)/madv\.so\.1$
77 NOVERDEF ^usr/MACH(lib)/mpss\.so\.1$
78 NOVERDEF ^usr/MACH(lib)/sn1_brand\.so\.1$
79 NOVERDEF ^usr/lib/fs/[^/]*/fstyp\.so\.1$
80 NOVERDEF ^usr/lib/libwrap\.so\.1\.0$
81 NOVERDEF ^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
84 # Objects that are allowed to deviate from our standard version
86 NONSTD_VERNAME ^MACH(lib)/libsqlite-sys\.so\.
87 NONSTD_VERNAME ^usr/MACH(lib)/libtecla\.so\.1$
89 # These libc variants have an SONAME of libc\.so\.1$
90 NONSTD_VERNAME ^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
92 # The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
93 # That means that the base version will also be /usr/lib/ld.so.1, which
95 NONSTD_VERNAME ^usr/lib/libsys\.so\.1$