1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
#
# 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.[567]
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$
# sbcp is a special case, and not a plugin. However, it does not have a
# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
PLUGIN ^usr/4lib/sbcp$
# 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/4lib/libc\.so\.
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$
# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
# That means that the base version will also be /usr/lib/ld.so.1, which
# is non-standard.
NONSTD_VERNAME ^usr/lib/libsys\.so\.1$
|