175ce41a5SAli Bahrami#
275ce41a5SAli Bahrami# CDDL HEADER START
375ce41a5SAli Bahrami#
475ce41a5SAli Bahrami# The contents of this file are subject to the terms of the
575ce41a5SAli Bahrami# Common Development and Distribution License (the "License").
675ce41a5SAli Bahrami# You may not use this file except in compliance with the License.
775ce41a5SAli Bahrami#
875ce41a5SAli Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
975ce41a5SAli Bahrami# or http://www.opensolaris.org/os/licensing.
1075ce41a5SAli Bahrami# See the License for the specific language governing permissions
1175ce41a5SAli Bahrami# and limitations under the License.
1275ce41a5SAli Bahrami#
1375ce41a5SAli Bahrami# When distributing Covered Code, include this CDDL HEADER in each
1475ce41a5SAli Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1575ce41a5SAli Bahrami# If applicable, add the following below this CDDL HEADER, with the
1675ce41a5SAli Bahrami# fields enclosed by brackets "[]" replaced with your own identifying
1775ce41a5SAli Bahrami# information: Portions Copyright [yyyy] [name of copyright owner]
1875ce41a5SAli Bahrami#
1975ce41a5SAli Bahrami# CDDL HEADER END
2075ce41a5SAli Bahrami#
2175ce41a5SAli Bahrami
2275ce41a5SAli Bahrami#
235253169eSAli Bahrami# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24cf2fa554SDan McDonald# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
25b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
26c4ccc1f9SPeter Tribble# Copyright 2019 Peter Tribble.
274c87aefeSPatrick Mooney# Copyright 2018 Joyent, Inc.
286112cec5SJoshua M. Clulow# Copyright 2020 Oxide Computer Company
29708bde8cSGarrett D'Amore# Copyright 2022 Garrett D'Amore <garrett@damore.org>
30d9be5d44SMatt Barden# Copyright 2022 Tintri by DDN, Inc. All rights reserved.
3175ce41a5SAli Bahrami#
3275ce41a5SAli Bahrami
3375ce41a5SAli Bahrami# This file provides exceptions to the usual rules applied to ELF objects by
3475ce41a5SAli Bahrami# check_rtime. All strings are Perl regular expressions that are compared to
3575ce41a5SAli Bahrami# file paths. In addition to the standard Perl syntax, there is one extension:
3675ce41a5SAli Bahrami#
3775ce41a5SAli Bahrami#	MACH(dir)
3875ce41a5SAli Bahrami#
3975ce41a5SAli Bahrami# is expanded into a regular expression that matches the given
4075ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the
4175ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match
4275ce41a5SAli Bahrami# any of the following:
4375ce41a5SAli Bahrami#
4475ce41a5SAli Bahrami#	lib
4575ce41a5SAli Bahrami#	lib/amd64
4675ce41a5SAli Bahrami#	lib/sparcv9
4775ce41a5SAli Bahrami
4875ce41a5SAli Bahrami# Directory hierarchies to skip completely
4975ce41a5SAli BahramiSKIP		^usr/lib/libc/			# optimized libc
5075ce41a5SAli BahramiSKIP		^usr/lib/rcm/			# 4426119
5175ce41a5SAli BahramiSKIP		^usr/perl5/			# alan's taking care of these :-)
5275ce41a5SAli BahramiSKIP		^usr/src/			# no objects in source code
5375ce41a5SAli Bahrami
5475ce41a5SAli Bahrami# Individual files that we don't examine
5575ce41a5SAli BahramiSKIP		^boot/grub/bin/grub$
5675ce41a5SAli Bahrami# USIII specific extns. cause ldd noise on USII bld. m/c
5775ce41a5SAli BahramiSKIP		^usr/lib/fps/sun4u/UltraSPARC.*/fptest$
5875ce41a5SAli BahramiSKIP		^usr/MACH(lib)/lddstub$		# lddstub has no dependencies
5975ce41a5SAli BahramiSKIP		^usr/MACH(lib)/libssagent\.so\.1$	# 4328854
6075ce41a5SAli BahramiSKIP		^usr/lib/MACH(iconv)/geniconvtbl.so$	# 4384329
6175ce41a5SAli Bahrami
6275ce41a5SAli Bahrami# picl file exclusions (4385799)
6375ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcplugin_psr\.so\.1
6475ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcpolicy_psr\.so\.1
6575ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcpolicy\.so\.1
6675ce41a5SAli BahramiSKIP		^usr/lib/sysevent/modules/picl_slm.so$
6775ce41a5SAli Bahrami
68cd62a92dSRobert Mustacchi#
69cd62a92dSRobert Mustacchi# The stdio tests all link against libumem to interpose on libc's
70cd62a92dSRobert Mustacchi# malloc; however, they do not actually reference the object.
71cd62a92dSRobert Mustacchi#
72cd62a92dSRobert MustacchiSKIP		^opt/libc-tests/tests/stdio/
73cd62a92dSRobert Mustacchi
745253169eSAli Bahrami# Objects that are allowed to have executable data segments
755253169eSAli BahramiEXEC_DATA	^MACH(lib)/ld\.so\.1$
765253169eSAli BahramiEXEC_DATA	^lib/libc\.so\.1$	# 6524709, 32-bit, needed for x86 only
775253169eSAli BahramiEXEC_DATA	^opt/SUNWdtrt/tst/.*/ustack/tst\.helper\.exe$
785253169eSAli BahramiEXEC_DATA	^platform/.*/MACH(kernel)/unix$
795253169eSAli Bahrami
805253169eSAli Bahrami# Objects that are allowed to have an executable stack
8175ce41a5SAli BahramiEXEC_STACK	^platform/.*/MACH(kernel)/unix$
8275ce41a5SAli BahramiEXEC_STACK	^platform/.*/multiboot$
83d2a70789SRichard LoweEXEC_STACK	^opt/os-tests/tests/secflags/stacky$
8475ce41a5SAli Bahrami
8575ce41a5SAli Bahrami# Objects for which we allow relocations to the text segment
8675ce41a5SAli BahramiTEXTREL		^platform/.*/MACH(kernel)/unix$
874c87aefeSPatrick MooneyTEXTREL		^usr/sbin/amd64/bhyve$
8875ce41a5SAli Bahrami
8975ce41a5SAli Bahrami# Directories and files that are allowed to have no direct bound symbols
9075ce41a5SAli BahramiNODIRECT	^platform/.*/MACH(kernel)/unix$
9175ce41a5SAli BahramiNODIRECT	^usr/ucb
9275ce41a5SAli Bahrami
9375ce41a5SAli Bahrami# Identify any files that should be skipped when building a crle(1)
9475ce41a5SAli Bahrami# configuration file.  As the hwcap libraries can be loop-back mounted onto
9575ce41a5SAli Bahrami# libc, these can confuse crle(1) because of their identical dev/inode.
9675ce41a5SAli BahramiNOCRLEALT	^usr/lib/libc/libc_hwcap[1-3].so.1$
9775ce41a5SAli Bahrami
9875ce41a5SAli Bahrami# Files that should contain debugging information.
9975ce41a5SAli BahramiSTAB	^platform/.*/MACH(kernel)/unix$
10075ce41a5SAli Bahrami
10175ce41a5SAli Bahrami# Files that are allowed undefined references
10275ce41a5SAli BahramiUNDEF_REF	^usr/lib/libnisdb\.so\.2$
10375ce41a5SAli Bahrami
10475ce41a5SAli Bahrami# Objects allowed to have unused dependencies
10575ce41a5SAli BahramiUNUSED_DEPS	^usr/lib/picl/plugins/		# require devtree dependencies
10675ce41a5SAli Bahrami
107e3dc7d16SDan McDonald# libnetsnmphelpers.so is empty in some net-snmp versions
108e3dc7d16SDan McDonaldUNUSED_OBJ	unused object=.*/libnetsnmphelpers\.so\..*
109cf2fa554SDan McDonaldUNREF_OBJ	unreferenced object=.*/libnetsnmphelpers\.so\..*
110e3dc7d16SDan McDonald
111b30d1939SAndy Fiddaman# ksh93 is just a wrapper into libshell but it is linked with libumem.so
112b30d1939SAndy Fiddaman# so that the underlying libraries use that implementation for memory
113b30d1939SAndy Fiddaman# management. Since ksh itself doesn't perform any memory allocations in
114b30d1939SAndy Fiddaman# the stub, ldd -U determines that libumem is an unreferenced object.
115*2e00117bSRichard LoweUNREF_OBJ	/libumem\.so\.1.*/usr/bin/(i86/)?r?ksh(93)?\b
116b30d1939SAndy Fiddaman
11775ce41a5SAli Bahrami# Unused runpaths due to dlopen() use
11875ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/fs/autofs.*\ from\ .automountd
11975ce41a5SAli BahramiUNUSED_RPATH	/etc/ppp/plugins.*\ from\ .*pppd
12075ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/inet/ppp.*\ from\ .*pppd
12175ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*rsmlib.*\ from\ .*librsm\.so\.2
12275ce41a5SAli BahramiUNUSED_RPATH	\$ORIGIN.*\ from\ .*fcode.so
12375ce41a5SAli BahramiUNUSED_RPATH	/opt/VRTSvxvm/lib.*\ from\ .*libdiskmgt\.so\.1
12475ce41a5SAli Bahrami
12575ce41a5SAli Bahrami# Unused runpaths in picl code
12675ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*\ from\ .*/usr/platform
12775ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/picl/.*\ from\ .*/usr/platform
12875ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*\ from\ .*/usr/lib/picl
12975ce41a5SAli Bahrami
13075ce41a5SAli Bahrami# Unused runpaths in non-OSNET objects we can't change
13175ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libnss3\.so
132e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libnssutil3\.so
133e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libsmime3\.so
134e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libssl3\.so
135b2db26f3SRichard LoweUNUSED_RPATH	/usr/lib.*\ from\ .*/usr/lib/mps
1369f923083SAlexander PyhalovUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/libpython2\..
1379f923083SAlexander PyhalovUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython2\..
138e8921a52SAndy FiddamanUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython3\..
139cf2fa554SDan McDonaldUNUSED_RPATH	/usr/snadm/lib.*\ from\ .*/usr/snadm/lib/libspmicommon\.so\.1
1400b794c39SAlexander PyhalovUNUSED_RPATH	/usr/gcc/.*/lib.*\ from\ .*
1412cd877f8SRichard LoweUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*libncurses\.so\.5
142cf2fa554SDan McDonald
14375ce41a5SAli Bahrami# Unused runpaths for reasons not captured above
14449169a56SRichard LoweUNUSED_RPATH	/usr/lib/smbsrv.*\ from\ .*libsmb\.so\.1	# future needs
14575ce41a5SAli Bahrami
14675ce41a5SAli Bahrami# Unreferenced objects of non-OSnet objects we can't change
14775ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libcimapi\.so
148f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libdbus-1\.so\.3
149f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libdbus-glib-1\.so\.2
150cf2fa554SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libgio-2.0\.so\.0
15101143f78SJohn BeckUNREF_OBJ	/lib.*\ of\ .*libglib-2.0\.so\.0
15201143f78SJohn BeckUNREF_OBJ	/lib.*\ of\ .*libgobject-2.0\.so\.0
153f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libgthread-2\.0\.so\.0
15475ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libjvm\.so
155e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmp\.so\..*
156e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmpagent\.so\..*
157e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmpmibs\.so\..*
158e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmphelpers\.so\..*
15975ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libnspr4\.so
16075ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libpq\.so\.5
16175ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libsoftokn3\.so
16275ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libspmicommon\.so\.1
16375ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libspmocommon\.so\.1
16475ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libssl3\.so
16575ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libtspi\.so\.1
16675ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libxml2\.so\.2
16775ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libxslt\.so\.1
16875ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libpq\.so\.4
169cbb067b0SAndy FiddamanUNREF_OBJ	/lib.*\ of\ .*libpython2\.[467]\.so\.1\.0
170cbb067b0SAndy FiddamanUNREF_OBJ	/lib.*\ of\ .*libpython3\.\d+m?\.so\.1\.0
1716a3e8e86SRichard LoweUNREF_OBJ	/libgcc_s.*\ of\ .*libstdc\+\+\.so\.6
172cf2fa554SDan McDonaldUNREF_OBJ	/libgcc_s.*\ of\ .*libgmodule-2\.0\.so\.0
17375ce41a5SAli Bahrami
17475ce41a5SAli Bahrami# Unreferenced object of objects we can't change for other reasons
17575ce41a5SAli BahramiUNREF_OBJ	/libmapmalloc\.so\.1;\ unused\ dependency\ of	# interposer
17675ce41a5SAli BahramiUNREF_OBJ	/libstdc\+\+\.so\.6;\ unused\ dependency\ of	# gcc build
17749169a56SRichard LoweUNREF_OBJ	/libgcc_s\.so\.1;\ unused\ dependency\ of	# gcc build
178cf2fa554SDan McDonaldUNREF_OBJ	/libgcc_s\.so\.1.*\ of\ .*libstdc\+\+\.so\.6	# omnios gcc mix
17975ce41a5SAli BahramiUNREF_OBJ	/libm\.so\.2.*\ of\ .*libstdc\+\+\.so\.6	# gcc build
18075ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*/lib/picl/plugins/		# picl
18175ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*kcfd				# interposer
18275ce41a5SAli BahramiUNREF_OBJ	/libpkcs11\.so\.1; .*\ of\ .*libkmf\.so\.1	# interposed
1836a3e8e86SRichard Lowe# Referenced by the Studio build, not the GCC build.  GCC eliminates the unused
1846a3e8e86SRichard Lowe# statics which have the dependence.
1856a3e8e86SRichard LoweUNREF_OBJ	/libc\.so\.1.*\ of\ .*kldap\.so\.1
1866a3e8e86SRichard Lowe
18775ce41a5SAli Bahrami
18875ce41a5SAli Bahrami# Objects that used to contain system functionalty that has since
18975ce41a5SAli Bahrami# migrated to libc. We preserve these libraries as pure filters for
19075ce41a5SAli Bahrami# backward compatability but nothing needs to link to them.
19175ce41a5SAli BahramiOLDDEP		libaio\.so\.1			# onnv build 44
19275ce41a5SAli BahramiOLDDEP		libdl\.so\.1			# on10 build 49
19375ce41a5SAli BahramiOLDDEP		libdoor\.so\.1			# onnv build 12
19475ce41a5SAli BahramiOLDDEP		libintl\.so\.1			# on297 build 7
19575ce41a5SAli BahramiOLDDEP		libpthread\.so\.1		# on10 build 53
19675ce41a5SAli BahramiOLDDEP		librt\.so\.1			# onnv build 44
19775ce41a5SAli BahramiOLDDEP		libsched\.so\.1			# on10 build 36
19875ce41a5SAli BahramiOLDDEP		libthread\.so\.1		# on10 build 53
19975ce41a5SAli BahramiOLDDEP		libw\.so\.1			# on297 build 7
20075ce41a5SAli Bahrami
20175ce41a5SAli Bahrami# Files for which we skip checking of duplicate addresses in the
20275ce41a5SAli Bahrami# symbol sort sections. Such exceptions should be rare --- most code will
20375ce41a5SAli Bahrami# not have duplicate addresses, since it takes assember or a "#pragma weak"
20475ce41a5SAli Bahrami# to do such aliasing in C. C++ is different: The compiler generates aliases
20575ce41a5SAli Bahrami# for implementation reasons, and the mangled names used to encode argument
20675ce41a5SAli Bahrami# and return value types are difficult to handle well in mapfiles.
20775ce41a5SAli Bahrami# Furthermore, the Sun compiler and gcc use different and incompatible
2089e593677SRichard Lowe# name mangling conventions. Since illumos must be buildable by either, we
20975ce41a5SAli Bahrami# would have to maintain two sets of mapfiles for each such object.
2109e593677SRichard Lowe# C++ use is rare in illumos, so this is not worth pursuing.
21175ce41a5SAli Bahrami#
21275ce41a5SAli BahramiNOSYMSORT	opt/SUNWdtrt/tst/common/pid/tst.weak2.exe	# DTrace test
21375ce41a5SAli BahramiNOSYMSORT	ld\.so\.1					# libc_pic.a user
21449169a56SRichard LoweNOSYMSORT	usr/bin/audioconvert				# C++
21549169a56SRichard LoweNOSYMSORT	usr/bin/make					# C++
2169e593677SRichard LoweNOSYMSORT	usr/MACH(lib)/libsun_fc\.so\.1			# C++
2179e593677SRichard LoweNOSYMSORT	usr/MACH(lib)/libfru\.so\.1			# C++
21849169a56SRichard LoweNOSYMSORT	usr/lib/libnisdb\.so\.2				# C++
2199e593677SRichard Lowe
2209e593677SRichard Lowe# The majority of illumos deliverables should not depend on the GCC runtime
2219e593677SRichard Lowe# (any necessary runtime symbol should be provided by libc.so, instead).
2229e593677SRichard Lowe# However, the GNU C++ runtime requires the GCC runtime, so certain objects
2239e593677SRichard Lowe# must be excepted.
2249e593677SRichard LoweFORBIDDEN	libgcc_s\.so
2259e593677SRichard LoweFORBIDDEN_DEP	usr/bin/audioconvert            # C++
2269e593677SRichard LoweFORBIDDEN_DEP   usr/bin/make                    # C++
2279e593677SRichard LoweFORBIDDEN_DEP   usr/MACH(lib)/libfru.so.1       # C++
2289e593677SRichard LoweFORBIDDEN_DEP   usr/MACH(lib)/libsun_fc.so.1    # C++
2299e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/rpc.yppasswdd # C++
2309e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypserv        # C++
2319e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypxfr         # C++
2329e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypxfrd        # C++
2339e593677SRichard Lowe
2349e593677SRichard Lowe# libfakekernel is a test environment, not intended for general use
2359e593677SRichard LoweFORBIDDEN libfakekernel\.so
236d9be5d44SMatt BardenFORBIDDEN_DEP opt/smbsrv-tests/tests/smb_sid/large_sids_kern
237f37b3cbbSMatt BardenFORBIDDEN_DEP opt/os-tests/tests/ksid/ksid.32
238f37b3cbbSMatt BardenFORBIDDEN_DEP opt/os-tests/tests/ksid/ksid.64
2399e593677SRichard LoweFORBIDDEN_DEP usr/MACH(lib)/libzpool.so.1
240a0fbb7fbSToomas SoomeFORBIDDEN_DEP usr/bin/ztest
241e86372a0SGvozden NeskovicFORBIDDEN_DEP usr/bin/raidz_test
2428329232eSGordon RossFORBIDDEN_DEP usr/lib/MACH(smbfs)/libfknsmb.so.1
2438329232eSGordon RossFORBIDDEN_DEP usr/lib/MACH(smbfs)/libfksmbfs.so.1
2449e593677SRichard LoweFORBIDDEN_DEP usr/lib/MACH(smbsrv)/libfksmbsrv.so.1
2459e593677SRichard LoweFORBIDDEN_DEP usr/lib/smbsrv/fksmbd
2464f0ce1daSGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-decrypt
2474f0ce1daSGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-encrypt
2487d1ffc32SGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-msgbuf
24994047d49SGordon RossFORBIDDEN_DEP usr/lib/smbsrv/testoplock
25037630fa7SToomas SoomeFORBIDDEN_DEP usr/sbin/zdb
2519e593677SRichard Lowe
2529e593677SRichard Lowe# libucb is intended for legacy compatibility, not general use
2539e593677SRichard LoweFORBIDDEN libucb\.so
2549e593677SRichard LoweFORBIDDEN_DEP usr/ucb/
2559e593677SRichard LoweFORBIDDEN_DEP usr/ucblib/
2569e593677SRichard Lowe
2579e593677SRichard Lowe# Older versions of libraries only provided for binary compatibility
2589e593677SRichard LoweFORBIDDEN libm\.so\.1
2599e593677SRichard LoweFORBIDDEN libresolv\.so\.1
2609e593677SRichard LoweFORBIDDEN libxcurses\.so\.1
26169b1fd3fSRichard Lowe
26269b1fd3fSRichard Lowe#
26369b1fd3fSRichard Lowe# the SUNWonld directory contains built versions of demos, built only to
26469b1fd3fSRichard Lowe# ensure their correctness.
26569b1fd3fSRichard Lowe#
26669b1fd3fSRichard LoweEXEC_STACK	^opt/SUNWonld
26769b1fd3fSRichard LoweEXEC_DATA	^opt/SUNWonld
26869b1fd3fSRichard LoweNODIRECT	^opt/SUNWonld
2696112cec5SJoshua M. Clulow
2706112cec5SJoshua M. Clulow#
2716112cec5SJoshua M. Clulow# Closed binaries have an old mcs comment mentioning SunOS rather than
2726112cec5SJoshua M. Clulow# illumos.  These comments are not generated as part of the build, and
2736112cec5SJoshua M. Clulow# it seems wrong to rewrite them; ignore them instead.
2746112cec5SJoshua M. Clulow#
2756112cec5SJoshua M. ClulowNO_COMMENT	^usr/bin/pax
2766112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/amd64/libike\.so\.1
2776112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/fwflash/verify/ses-SUN\.so
2786112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/amd64/in\.iked
2796112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certdb
2806112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certlocal
2816112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certrldb
2826112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/labeld
2836112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/libike\.so\.1
2846112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/mdb/kvm/amd64/mpt\.so
2856112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/mdb/kvm/amd64/nfs\.so
2866112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/raidcfg/amd64/mpt\.so\.1
2876112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/raidcfg/mpt\.so\.1
2886112cec5SJoshua M. ClulowNO_COMMENT	^usr/sbin/chk_encodings
2896112cec5SJoshua M. ClulowNO_COMMENT	^usr/xpg4/bin/more
2900910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/acpi_toshiba
2910910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/adpu320
2920910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/atiatom
2930910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/bcm_sata
2940910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/glm
2950910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/intel_nhmex
2960910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/ixgb
2970910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/lsimega
2980910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/marvell88sx
2990910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/mpt
3000910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/sdpib
3010910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/usbser_edge
3020910f6b5SRichard LoweNO_COMMENT	^kernel/kmdb/amd64/mpt
3030910f6b5SRichard LoweNO_COMMENT	^kernel/kmdb/amd64/nfs
3040910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_emc
3050910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_lsi
3060910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_sym_emc
3070910f6b5SRichard LoweNO_COMMENT	^kernel/strmod/amd64/sdpib
3080910f6b5SRichard LoweNO_COMMENT	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.46
3090910f6b5SRichard LoweNO_COMMENT	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.47
3100910f6b5SRichard Lowe
3110910f6b5SRichard Lowe# ath contains a binary HAL component which contains an incorrect .comment
3120910f6b5SRichard Lowe# section and has a license which forbids modification.
3130910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/ath
3140910f6b5SRichard Lowe
3150910f6b5SRichard Lowe# mdb standalone library versions which are neither delivered nor are real
3160910f6b5SRichard Lowe# shared objects
3170910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstanddisasm\.so
3180910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstandsaveargs\.so
3190910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstanddisasm\.so
3200910f6b5SRichard LoweNO_COMMENT	^usr/lib/libstanddisasm\.so
3210910f6b5SRichard Lowe
3220910f6b5SRichard Lowe# closed binaries predate -ztype=kmod
3230910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/acpi_toshiba
3240910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/adpu320
3250910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/atiatom
3260910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/bcm_sata
3270910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/glm
3280910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/intel_nhmex
3290910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/ixgb
3300910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/lsimega
3310910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/marvell88sx
3320910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/mpt
3330910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/sdpib
3340910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/usbser_edge
3350910f6b5SRichard LoweNOT_KMOD	^kernel/kmdb/amd64/mpt
3360910f6b5SRichard LoweNOT_KMOD	^kernel/kmdb/amd64/nfs
3370910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_emc
3380910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_lsi
3390910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_sym_emc
3400910f6b5SRichard LoweNOT_KMOD	^kernel/strmod/amd64/sdpib
3410910f6b5SRichard LoweNOT_KMOD	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.46
3420910f6b5SRichard LoweNOT_KMOD	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.47
343