interface_check revision 12206:96c3e6ae396d
1# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
2
3# This file provides exceptions to the usual rules applied to sharable
4# objects by intf_check. All strings are Perl regular expressions that
5# are compared to file names. In addition to the standard Perl syntax,
6# there is one extension:
7#
8#	MACH(dir)
9#
10# is expanded into a regular expression that matches the given
11# directory, or a 64-bit subdirectory of the directory with the
12# name of a 64-bit architecture. For example, MACH(lib) will match
13# any of the following:
14#
15#	lib
16#	lib/amd64
17#	lib/sparcv9
18
19
20# Sharable objects underneath these parts of the tree are taken to be plugins.
21# Plugins are not required to have versioned file names, and are not required
22# to be internally versioned.
23#
24PLUGIN		^usr/apache/libexec
25PLUGIN		^usr/lib/devfsadm
26PLUGIN		^usr/lib/efcode/.*\.so$
27PLUGIN		^usr/lib/elfedit
28PLUGIN		^usr/lib/fm/fmd/plugins
29PLUGIN		^usr/lib/fm/fmd/schemes
30PLUGIN		^usr/lib/fm/topo/plugins
31PLUGIN		^usr/lib/fwflash
32PLUGIN		^usr/lib/iconv
33PLUGIN		^usr/lib/inet/ppp
34PLUGIN		^usr/lib/mdb
35PLUGIN		^usr/lib/pci
36PLUGIN		^usr/lib/picl/plugins
37PLUGIN		^usr/lib/python2.4
38PLUGIN		^usr/lib/rcm/modules
39PLUGIN		^usr/lib/scsi/plugins
40PLUGIN		^usr/lib/sysevent/modules
41PLUGIN		^usr/perl5/5\.[^\\]*/lib
42PLUGIN		^usr/platform
43PLUGIN		^usr/sadm/lib/wbem
44
45
46# sbcp is a special case, and not a plugin. However, it does not have a
47# versioned name, and does not contain versioning, so the PLUGIN exemptions fit.
48PLUGIN	^usr/4lib/sbcp$
49
50
51# Objects that are not expected to contain versioning information.
52# Note that PLUGIN objects are automatically exempt from this,
53# so these directives are generally applied to non-plugin objects
54NOVERDEF	^usr/4lib/libc\.so\.
55NOVERDEF	^usr/MACH(lib)/0\@0\.so\.1$
56NOVERDEF	^usr/lib/MACH(abi)/apptrace\.so\.1$
57NOVERDEF	^usr/MACH(lib)/libfru.*\.so\.1$
58NOVERDEF	^usr/MACH(lib)/libkrb5\.so\.1$
59NOVERDEF	^usr/MACH(lib)/libzpool\.so\.1$
60NOVERDEF	^usr/MACH(lib)/madv\.so\.1$
61NOVERDEF	^usr/MACH(lib)/mpss\.so\.1$
62NOVERDEF	^usr/MACH(lib)/s10_brand\.so\.1$
63NOVERDEF	^usr/MACH(lib)/s10_npreload\.so\.1$
64NOVERDEF	^usr/MACH(lib)/sn1_brand\.so\.1$
65NOVERDEF	^usr/lib/fs/[^/]*/fstyp\.so\.1$
66NOVERDEF	^usr/lib/libmilter\.so\.1$
67NOVERDEF	^usr/lib/libwrap\.so\.1\.0$
68NOVERDEF	^usr/lib/locale/MACH(iso_8859_1)/iso_8859_1\.so\.3$
69NOVERDEF	^usr/lib/picl/plugins$
70NOVERDEF	^usr/sadm/admin/dhcpmgr/dhcpmgr\.so\.1$
71NOVERDEF	^usr/sadm/admin/printmgr/lib/libpmgr\.so\.1$
72
73
74# Objects that are allowed to deviate from our standard version
75# names.
76NONSTD_VERNAME	^usr/MACH(lib)/libtecla\.so\.1$
77
78
79# These libc variants have an SONAME of libc\.so\.1$
80NONSTD_VERNAME	^usr/MACH(lib)/libc/libc_hwcap[1-3]+\.so\.1$
81
82
83# The ABI requires the SONAME for libsys.so.1 to be /usr/lib/ld.so.1
84# That means that the base version will also be /usr/lib/ld.so.1, which
85# is non-standard.
86NONSTD_VERNAME	^usr/lib/libsys\.so\.1$
87