xref: /illumos-gate/exception_lists/check_rtime (revision 42920ac8f798accb1375a7faa38ddefa674abf63)
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.
31*42920ac8SGordon Ross# Copyright 2024 RackTop Systems, Inc.
3275ce41a5SAli Bahrami#
3375ce41a5SAli Bahrami
3475ce41a5SAli Bahrami# This file provides exceptions to the usual rules applied to ELF objects by
3575ce41a5SAli Bahrami# check_rtime. All strings are Perl regular expressions that are compared to
3675ce41a5SAli Bahrami# file paths. In addition to the standard Perl syntax, there is one extension:
3775ce41a5SAli Bahrami#
3875ce41a5SAli Bahrami#	MACH(dir)
3975ce41a5SAli Bahrami#
4075ce41a5SAli Bahrami# is expanded into a regular expression that matches the given
4175ce41a5SAli Bahrami# directory, or a 64-bit subdirectory of the directory with the
4275ce41a5SAli Bahrami# name of a 64-bit architecture. For example, MACH(lib) will match
4375ce41a5SAli Bahrami# any of the following:
4475ce41a5SAli Bahrami#
4575ce41a5SAli Bahrami#	lib
4675ce41a5SAli Bahrami#	lib/amd64
4775ce41a5SAli Bahrami#	lib/sparcv9
4875ce41a5SAli Bahrami
4975ce41a5SAli Bahrami# Directory hierarchies to skip completely
5075ce41a5SAli BahramiSKIP		^usr/lib/libc/			# optimized libc
5175ce41a5SAli BahramiSKIP		^usr/lib/rcm/			# 4426119
5275ce41a5SAli BahramiSKIP		^usr/perl5/			# alan's taking care of these :-)
5375ce41a5SAli BahramiSKIP		^usr/src/			# no objects in source code
5475ce41a5SAli Bahrami
5575ce41a5SAli Bahrami# Individual files that we don't examine
5675ce41a5SAli BahramiSKIP		^boot/grub/bin/grub$
5775ce41a5SAli Bahrami# USIII specific extns. cause ldd noise on USII bld. m/c
5875ce41a5SAli BahramiSKIP		^usr/lib/fps/sun4u/UltraSPARC.*/fptest$
5975ce41a5SAli BahramiSKIP		^usr/MACH(lib)/lddstub$		# lddstub has no dependencies
6075ce41a5SAli BahramiSKIP		^usr/MACH(lib)/libssagent\.so\.1$	# 4328854
6175ce41a5SAli BahramiSKIP		^usr/lib/MACH(iconv)/geniconvtbl.so$	# 4384329
6275ce41a5SAli Bahrami
6375ce41a5SAli Bahrami# picl file exclusions (4385799)
6475ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcplugin_psr\.so\.1
6575ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcpolicy_psr\.so\.1
6675ce41a5SAli BahramiSKIP		^usr/platform/.*/libpsvcpolicy\.so\.1
6775ce41a5SAli BahramiSKIP		^usr/lib/sysevent/modules/picl_slm.so$
6875ce41a5SAli Bahrami
69cd62a92dSRobert Mustacchi#
70cd62a92dSRobert Mustacchi# The stdio tests all link against libumem to interpose on libc's
71cd62a92dSRobert Mustacchi# malloc; however, they do not actually reference the object.
72cd62a92dSRobert Mustacchi#
73cd62a92dSRobert MustacchiSKIP		^opt/libc-tests/tests/stdio/
74cd62a92dSRobert Mustacchi
75*42920ac8SGordon Ross# The libsec tests interpose on all referenced libidmap functions,
76*42920ac8SGordon Ross# causing false positives for the unref. checks for libsec.
77*42920ac8SGordon RossSKIP		^opt/libsec-tests/bin/
78*42920ac8SGordon Ross
795253169eSAli Bahrami# Objects that are allowed to have executable data segments
805253169eSAli BahramiEXEC_DATA	^MACH(lib)/ld\.so\.1$
815253169eSAli BahramiEXEC_DATA	^lib/libc\.so\.1$	# 6524709, 32-bit, needed for x86 only
825253169eSAli BahramiEXEC_DATA	^opt/SUNWdtrt/tst/.*/ustack/tst\.helper\.exe$
835253169eSAli BahramiEXEC_DATA	^platform/.*/MACH(kernel)/unix$
845253169eSAli Bahrami
855253169eSAli Bahrami# Objects that are allowed to have an executable stack
8675ce41a5SAli BahramiEXEC_STACK	^platform/.*/MACH(kernel)/unix$
8775ce41a5SAli BahramiEXEC_STACK	^platform/.*/multiboot$
88d2a70789SRichard LoweEXEC_STACK	^opt/os-tests/tests/secflags/stacky$
8975ce41a5SAli Bahrami
9075ce41a5SAli Bahrami# Objects for which we allow relocations to the text segment
9175ce41a5SAli BahramiTEXTREL		^platform/.*/MACH(kernel)/unix$
924c87aefeSPatrick MooneyTEXTREL		^usr/sbin/amd64/bhyve$
9375ce41a5SAli Bahrami
9475ce41a5SAli Bahrami# Directories and files that are allowed to have no direct bound symbols
9575ce41a5SAli BahramiNODIRECT	^platform/.*/MACH(kernel)/unix$
9675ce41a5SAli BahramiNODIRECT	^usr/ucb
9775ce41a5SAli Bahrami
9875ce41a5SAli Bahrami# Identify any files that should be skipped when building a crle(1)
9975ce41a5SAli Bahrami# configuration file.  As the hwcap libraries can be loop-back mounted onto
10075ce41a5SAli Bahrami# libc, these can confuse crle(1) because of their identical dev/inode.
10175ce41a5SAli BahramiNOCRLEALT	^usr/lib/libc/libc_hwcap[1-3].so.1$
10275ce41a5SAli Bahrami
10375ce41a5SAli Bahrami# Files that should contain debugging information.
10475ce41a5SAli BahramiSTAB	^platform/.*/MACH(kernel)/unix$
10575ce41a5SAli Bahrami
10675ce41a5SAli Bahrami# Files that are allowed undefined references
10775ce41a5SAli BahramiUNDEF_REF	^usr/lib/libnisdb\.so\.2$
10875ce41a5SAli Bahrami
10975ce41a5SAli Bahrami# Objects allowed to have unused dependencies
11075ce41a5SAli BahramiUNUSED_DEPS	^usr/lib/picl/plugins/		# require devtree dependencies
11175ce41a5SAli Bahrami
112e3dc7d16SDan McDonald# libnetsnmphelpers.so is empty in some net-snmp versions
113e3dc7d16SDan McDonaldUNUSED_OBJ	unused object=.*/libnetsnmphelpers\.so\..*
114cf2fa554SDan McDonaldUNREF_OBJ	unreferenced object=.*/libnetsnmphelpers\.so\..*
115e3dc7d16SDan McDonald
116b30d1939SAndy Fiddaman# ksh93 is just a wrapper into libshell but it is linked with libumem.so
117b30d1939SAndy Fiddaman# so that the underlying libraries use that implementation for memory
118b30d1939SAndy Fiddaman# management. Since ksh itself doesn't perform any memory allocations in
119b30d1939SAndy Fiddaman# the stub, ldd -U determines that libumem is an unreferenced object.
1202e00117bSRichard LoweUNREF_OBJ	/libumem\.so\.1.*/usr/bin/(i86/)?r?ksh(93)?\b
121b30d1939SAndy Fiddaman
12275ce41a5SAli Bahrami# Unused runpaths due to dlopen() use
12375ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/fs/autofs.*\ from\ .automountd
12475ce41a5SAli BahramiUNUSED_RPATH	/etc/ppp/plugins.*\ from\ .*pppd
12575ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/inet/ppp.*\ from\ .*pppd
12675ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*rsmlib.*\ from\ .*librsm\.so\.2
12775ce41a5SAli BahramiUNUSED_RPATH	\$ORIGIN.*\ from\ .*fcode.so
12875ce41a5SAli BahramiUNUSED_RPATH	/opt/VRTSvxvm/lib.*\ from\ .*libdiskmgt\.so\.1
12975ce41a5SAli Bahrami
13075ce41a5SAli Bahrami# Unused runpaths in picl code
13175ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*\ from\ .*/usr/platform
13275ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/picl/.*\ from\ .*/usr/platform
13375ce41a5SAli BahramiUNUSED_RPATH	/usr/platform/.*\ from\ .*/usr/lib/picl
13475ce41a5SAli Bahrami
13575ce41a5SAli Bahrami# Unused runpaths in non-OSNET objects we can't change
13675ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libnss3\.so
137e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libnssutil3\.so
138e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libsmime3\.so
139e64d0ff9SAli BahramiUNUSED_RPATH	/usr/lib/mps.*\ from\ .*libssl3\.so
140b2db26f3SRichard LoweUNUSED_RPATH	/usr/lib.*\ from\ .*/usr/lib/mps
1419f923083SAlexander PyhalovUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/libpython2\..
1429f923083SAlexander PyhalovUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython2\..
143e8921a52SAndy FiddamanUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython3\..
144cf2fa554SDan McDonaldUNUSED_RPATH	/usr/snadm/lib.*\ from\ .*/usr/snadm/lib/libspmicommon\.so\.1
1450b794c39SAlexander PyhalovUNUSED_RPATH	/usr/gcc/.*/lib.*\ from\ .*
1462cd877f8SRichard LoweUNUSED_RPATH	/usr/gnu/lib.*\ from\ .*libncurses\.so\.5
147cf2fa554SDan McDonald
14875ce41a5SAli Bahrami# Unused runpaths for reasons not captured above
14975ce41a5SAli BahramiUNUSED_RPATH	/usr/lib/smbsrv.*\ from\ .*libsmb\.so\.1	# future needs
15075ce41a5SAli Bahrami
15175ce41a5SAli Bahrami# Unreferenced objects of non-OSnet objects we can't change
15275ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libcimapi\.so
153f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libdbus-1\.so\.3
154f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libdbus-glib-1\.so\.2
155cf2fa554SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libgio-2.0\.so\.0
15601143f78SJohn BeckUNREF_OBJ	/lib.*\ of\ .*libglib-2.0\.so\.0
15701143f78SJohn BeckUNREF_OBJ	/lib.*\ of\ .*libgobject-2.0\.so\.0
158f6abcda3SOndrej KubeckaUNREF_OBJ	/lib.*\ of\ .*libgthread-2\.0\.so\.0
15975ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libjvm\.so
160e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmp\.so\..*
161e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmpagent\.so\..*
162e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmpmibs\.so\..*
163e3dc7d16SDan McDonaldUNREF_OBJ	/lib.*\ of\ .*libnetsnmphelpers\.so\..*
16475ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libnspr4\.so
16575ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libpq\.so\.5
16675ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libsoftokn3\.so
16775ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libspmicommon\.so\.1
16875ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libspmocommon\.so\.1
16975ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libssl3\.so
17075ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libtspi\.so\.1
17175ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libxml2\.so\.2
17275ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libxslt\.so\.1
17375ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*libpq\.so\.4
174cbb067b0SAndy FiddamanUNREF_OBJ	/lib.*\ of\ .*libpython2\.[467]\.so\.1\.0
175cbb067b0SAndy FiddamanUNREF_OBJ	/lib.*\ of\ .*libpython3\.\d+m?\.so\.1\.0
1766a3e8e86SRichard LoweUNREF_OBJ	/libgcc_s.*\ of\ .*libstdc\+\+\.so\.6
177cf2fa554SDan McDonaldUNREF_OBJ	/libgcc_s.*\ of\ .*libgmodule-2\.0\.so\.0
17875ce41a5SAli Bahrami
17975ce41a5SAli Bahrami# Unreferenced object of objects we can't change for other reasons
18075ce41a5SAli BahramiUNREF_OBJ	/libmapmalloc\.so\.1;\ unused\ dependency\ of	# interposer
18175ce41a5SAli BahramiUNREF_OBJ	/libstdc\+\+\.so\.6;\ unused\ dependency\ of	# gcc build
18249169a56SRichard LoweUNREF_OBJ	/libgcc_s\.so\.1;\ unused\ dependency\ of	# gcc build
183cf2fa554SDan McDonaldUNREF_OBJ	/libgcc_s\.so\.1.*\ of\ .*libstdc\+\+\.so\.6	# omnios gcc mix
18475ce41a5SAli BahramiUNREF_OBJ	/libm\.so\.2.*\ of\ .*libstdc\+\+\.so\.6	# gcc build
18575ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*/lib/picl/plugins/		# picl
18675ce41a5SAli BahramiUNREF_OBJ	/lib.*\ of\ .*kcfd				# interposer
18775ce41a5SAli BahramiUNREF_OBJ	/libpkcs11\.so\.1; .*\ of\ .*libkmf\.so\.1	# interposed
1886a3e8e86SRichard Lowe# Referenced by the Studio build, not the GCC build.  GCC eliminates the unused
1896a3e8e86SRichard Lowe# statics which have the dependence.
1906a3e8e86SRichard LoweUNREF_OBJ	/libc\.so\.1.*\ of\ .*kldap\.so\.1
1916a3e8e86SRichard Lowe
19275ce41a5SAli Bahrami
19375ce41a5SAli Bahrami# Objects that used to contain system functionalty that has since
19475ce41a5SAli Bahrami# migrated to libc. We preserve these libraries as pure filters for
19575ce41a5SAli Bahrami# backward compatability but nothing needs to link to them.
19675ce41a5SAli BahramiOLDDEP		libaio\.so\.1			# onnv build 44
19775ce41a5SAli BahramiOLDDEP		libdl\.so\.1			# on10 build 49
19875ce41a5SAli BahramiOLDDEP		libdoor\.so\.1			# onnv build 12
19975ce41a5SAli BahramiOLDDEP		libintl\.so\.1			# on297 build 7
20075ce41a5SAli BahramiOLDDEP		libpthread\.so\.1		# on10 build 53
20175ce41a5SAli BahramiOLDDEP		librt\.so\.1			# onnv build 44
20275ce41a5SAli BahramiOLDDEP		libsched\.so\.1			# on10 build 36
20375ce41a5SAli BahramiOLDDEP		libthread\.so\.1		# on10 build 53
20475ce41a5SAli BahramiOLDDEP		libw\.so\.1			# on297 build 7
20575ce41a5SAli Bahrami
20675ce41a5SAli Bahrami# Files for which we skip checking of duplicate addresses in the
20775ce41a5SAli Bahrami# symbol sort sections. Such exceptions should be rare --- most code will
20875ce41a5SAli Bahrami# not have duplicate addresses, since it takes assember or a "#pragma weak"
20975ce41a5SAli Bahrami# to do such aliasing in C. C++ is different: The compiler generates aliases
21075ce41a5SAli Bahrami# for implementation reasons, and the mangled names used to encode argument
21175ce41a5SAli Bahrami# and return value types are difficult to handle well in mapfiles.
21275ce41a5SAli Bahrami# Furthermore, the Sun compiler and gcc use different and incompatible
2139e593677SRichard Lowe# name mangling conventions. Since illumos must be buildable by either, we
21475ce41a5SAli Bahrami# would have to maintain two sets of mapfiles for each such object.
2159e593677SRichard Lowe# C++ use is rare in illumos, so this is not worth pursuing.
21675ce41a5SAli Bahrami#
21775ce41a5SAli BahramiNOSYMSORT	opt/SUNWdtrt/tst/common/pid/tst.weak2.exe	# DTrace test
21875ce41a5SAli BahramiNOSYMSORT	ld\.so\.1					# libc_pic.a user
21949169a56SRichard LoweNOSYMSORT	usr/bin/audioconvert				# C++
22049169a56SRichard LoweNOSYMSORT	usr/bin/make					# C++
2219e593677SRichard LoweNOSYMSORT	usr/MACH(lib)/libsun_fc\.so\.1			# C++
2229e593677SRichard LoweNOSYMSORT	usr/MACH(lib)/libfru\.so\.1			# C++
22349169a56SRichard LoweNOSYMSORT	usr/lib/libnisdb\.so\.2				# C++
22475ce41a5SAli Bahrami
2259e593677SRichard Lowe# The majority of illumos deliverables should not depend on the GCC runtime
2269e593677SRichard Lowe# (any necessary runtime symbol should be provided by libc.so, instead).
2279e593677SRichard Lowe# However, the GNU C++ runtime requires the GCC runtime, so certain objects
2289e593677SRichard Lowe# must be excepted.
2299e593677SRichard LoweFORBIDDEN	libgcc_s\.so
2309e593677SRichard LoweFORBIDDEN_DEP	usr/bin/audioconvert            # C++
2319e593677SRichard LoweFORBIDDEN_DEP   usr/bin/make                    # C++
2329e593677SRichard LoweFORBIDDEN_DEP   usr/MACH(lib)/libfru.so.1       # C++
2339e593677SRichard LoweFORBIDDEN_DEP   usr/MACH(lib)/libsun_fc.so.1    # C++
2349e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/rpc.yppasswdd # C++
2359e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypserv        # C++
2369e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypxfr         # C++
2379e593677SRichard LoweFORBIDDEN_DEP   usr/lib/netsvc/yp/ypxfrd        # C++
2389e593677SRichard Lowe
2399e593677SRichard Lowe# libfakekernel is a test environment, not intended for general use
2409e593677SRichard LoweFORBIDDEN libfakekernel\.so
241d9be5d44SMatt BardenFORBIDDEN_DEP opt/smbsrv-tests/tests/smb_sid/large_sids_kern
242f37b3cbbSMatt BardenFORBIDDEN_DEP opt/os-tests/tests/ksid/ksid.32
243f37b3cbbSMatt BardenFORBIDDEN_DEP opt/os-tests/tests/ksid/ksid.64
2449e593677SRichard LoweFORBIDDEN_DEP usr/MACH(lib)/libzpool.so.1
245a0fbb7fbSToomas SoomeFORBIDDEN_DEP usr/bin/ztest
246e86372a0SGvozden NeskovicFORBIDDEN_DEP usr/bin/raidz_test
2478329232eSGordon RossFORBIDDEN_DEP usr/lib/MACH(smbfs)/libfknsmb.so.1
2488329232eSGordon RossFORBIDDEN_DEP usr/lib/MACH(smbfs)/libfksmbfs.so.1
2499e593677SRichard LoweFORBIDDEN_DEP usr/lib/MACH(smbsrv)/libfksmbsrv.so.1
2509e593677SRichard LoweFORBIDDEN_DEP usr/lib/smbsrv/fksmbd
2514f0ce1daSGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-decrypt
2524f0ce1daSGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-encrypt
2537d1ffc32SGordon RossFORBIDDEN_DEP usr/lib/smbsrv/test-msgbuf
25494047d49SGordon RossFORBIDDEN_DEP usr/lib/smbsrv/testoplock
25537630fa7SToomas SoomeFORBIDDEN_DEP usr/sbin/zdb
2569e593677SRichard Lowe
2579e593677SRichard Lowe# libucb is intended for legacy compatibility, not general use
2589e593677SRichard LoweFORBIDDEN libucb\.so
2599e593677SRichard LoweFORBIDDEN_DEP usr/ucb/
2609e593677SRichard LoweFORBIDDEN_DEP usr/ucblib/
2619e593677SRichard Lowe
2629e593677SRichard Lowe# Older versions of libraries only provided for binary compatibility
2639e593677SRichard LoweFORBIDDEN libm\.so\.1
2649e593677SRichard LoweFORBIDDEN libresolv\.so\.1
2659e593677SRichard LoweFORBIDDEN libxcurses\.so\.1
26669b1fd3fSRichard Lowe
26769b1fd3fSRichard Lowe#
26869b1fd3fSRichard Lowe# the SUNWonld directory contains built versions of demos, built only to
26969b1fd3fSRichard Lowe# ensure their correctness.
27069b1fd3fSRichard Lowe#
27169b1fd3fSRichard LoweEXEC_STACK	^opt/SUNWonld
27269b1fd3fSRichard LoweEXEC_DATA	^opt/SUNWonld
27369b1fd3fSRichard LoweNODIRECT	^opt/SUNWonld
2746112cec5SJoshua M. Clulow
2756112cec5SJoshua M. Clulow#
2766112cec5SJoshua M. Clulow# Closed binaries have an old mcs comment mentioning SunOS rather than
2776112cec5SJoshua M. Clulow# illumos.  These comments are not generated as part of the build, and
2786112cec5SJoshua M. Clulow# it seems wrong to rewrite them; ignore them instead.
2796112cec5SJoshua M. Clulow#
2806112cec5SJoshua M. ClulowNO_COMMENT	^usr/bin/pax
2816112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/amd64/libike\.so\.1
2826112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/fwflash/verify/ses-SUN\.so
2836112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/amd64/in\.iked
2846112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certdb
2856112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certlocal
2866112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/inet/certrldb
2876112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/labeld
2886112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/libike\.so\.1
2896112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/mdb/kvm/amd64/mpt\.so
2906112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/mdb/kvm/amd64/nfs\.so
2916112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/raidcfg/amd64/mpt\.so\.1
2926112cec5SJoshua M. ClulowNO_COMMENT	^usr/lib/raidcfg/mpt\.so\.1
2936112cec5SJoshua M. ClulowNO_COMMENT	^usr/sbin/chk_encodings
2946112cec5SJoshua M. ClulowNO_COMMENT	^usr/xpg4/bin/more
2950910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/acpi_toshiba
2960910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/adpu320
2970910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/atiatom
2980910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/bcm_sata
2990910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/glm
3000910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/intel_nhmex
3010910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/ixgb
3020910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/lsimega
3030910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/marvell88sx
3040910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/mpt
3050910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/sdpib
3060910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/usbser_edge
3070910f6b5SRichard LoweNO_COMMENT	^kernel/kmdb/amd64/mpt
3080910f6b5SRichard LoweNO_COMMENT	^kernel/kmdb/amd64/nfs
3090910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_emc
3100910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_lsi
3110910f6b5SRichard LoweNO_COMMENT	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_sym_emc
3120910f6b5SRichard LoweNO_COMMENT	^kernel/strmod/amd64/sdpib
3130910f6b5SRichard LoweNO_COMMENT	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.46
3140910f6b5SRichard LoweNO_COMMENT	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.47
3150910f6b5SRichard Lowe
3160910f6b5SRichard Lowe# ath contains a binary HAL component which contains an incorrect .comment
3170910f6b5SRichard Lowe# section and has a license which forbids modification.
3180910f6b5SRichard LoweNO_COMMENT	^kernel/drv/amd64/ath
3190910f6b5SRichard Lowe
3200910f6b5SRichard Lowe# mdb standalone library versions which are neither delivered nor are real
3210910f6b5SRichard Lowe# shared objects
3220910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstanddisasm\.so
3230910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstandsaveargs\.so
3240910f6b5SRichard LoweNO_COMMENT	^usr/lib/amd64/libstanddisasm\.so
3250910f6b5SRichard LoweNO_COMMENT	^usr/lib/libstanddisasm\.so
3260910f6b5SRichard Lowe
3270910f6b5SRichard Lowe# closed binaries predate -ztype=kmod
3280910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/acpi_toshiba
3290910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/adpu320
3300910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/atiatom
3310910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/bcm_sata
3320910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/glm
3330910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/intel_nhmex
3340910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/ixgb
3350910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/lsimega
3360910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/marvell88sx
3370910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/mpt
3380910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/sdpib
3390910f6b5SRichard LoweNOT_KMOD	^kernel/drv/amd64/usbser_edge
3400910f6b5SRichard LoweNOT_KMOD	^kernel/kmdb/amd64/mpt
3410910f6b5SRichard LoweNOT_KMOD	^kernel/kmdb/amd64/nfs
3420910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_emc
3430910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_asym_lsi
3440910f6b5SRichard LoweNOT_KMOD	^kernel/misc/scsi_vhci/amd64/scsi_vhci_f_sym_emc
3450910f6b5SRichard LoweNOT_KMOD	^kernel/strmod/amd64/sdpib
3460910f6b5SRichard LoweNOT_KMOD	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.46
3470910f6b5SRichard LoweNOT_KMOD	^platform/i86pc/kernel/cpu/amd64/cpu_ms\.GenuineIntel\.6\.47
348