check_rtime (4efb20e8) check_rtime (b30d1939)
1#
2# CDDL HEADER START
3#
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.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 8 unchanged lines hidden (view full) ---

17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
1#
2# CDDL HEADER START
3#
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.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 8 unchanged lines hidden (view full) ---

17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
25# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
25# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
26# Copyright 2019 Peter Tribble.
27# Copyright 2018 Joyent, Inc.
28# Copyright 2020 Oxide Computer Company
29#
30
31# This file provides exceptions to the usual rules applied to ELF objects by
32# check_rtime. All strings are Perl regular expressions that are compared to
33# file paths. In addition to the standard Perl syntax, there is one extension:

--- 4 unchanged lines hidden (view full) ---

38# directory, or a 64-bit subdirectory of the directory with the
39# name of a 64-bit architecture. For example, MACH(lib) will match
40# any of the following:
41#
42# lib
43# lib/amd64
44# lib/sparcv9
45
26# Copyright 2019 Peter Tribble.
27# Copyright 2018 Joyent, Inc.
28# Copyright 2020 Oxide Computer Company
29#
30
31# This file provides exceptions to the usual rules applied to ELF objects by
32# check_rtime. All strings are Perl regular expressions that are compared to
33# file paths. In addition to the standard Perl syntax, there is one extension:

--- 4 unchanged lines hidden (view full) ---

38# directory, or a 64-bit subdirectory of the directory with the
39# name of a 64-bit architecture. For example, MACH(lib) will match
40# any of the following:
41#
42# lib
43# lib/amd64
44# lib/sparcv9
45
46
47# Directory hierarchies to skip completely
48SKIP ^usr/lib/libc/ # optimized libc
49SKIP ^usr/lib/rcm/ # 4426119
50SKIP ^usr/perl5/ # alan's taking care of these :-)
51SKIP ^usr/src/ # no objects in source code
52
53# Individual files that we don't examine
54SKIP ^boot/grub/bin/grub$

--- 47 unchanged lines hidden (view full) ---

102
103# Objects allowed to have unused dependencies
104UNUSED_DEPS ^usr/lib/picl/plugins/ # require devtree dependencies
105
106# libnetsnmphelpers.so is empty in some net-snmp versions
107UNUSED_OBJ unused object=.*/libnetsnmphelpers\.so\..*
108UNREF_OBJ unreferenced object=.*/libnetsnmphelpers\.so\..*
109
46# Directory hierarchies to skip completely
47SKIP ^usr/lib/libc/ # optimized libc
48SKIP ^usr/lib/rcm/ # 4426119
49SKIP ^usr/perl5/ # alan's taking care of these :-)
50SKIP ^usr/src/ # no objects in source code
51
52# Individual files that we don't examine
53SKIP ^boot/grub/bin/grub$

--- 47 unchanged lines hidden (view full) ---

101
102# Objects allowed to have unused dependencies
103UNUSED_DEPS ^usr/lib/picl/plugins/ # require devtree dependencies
104
105# libnetsnmphelpers.so is empty in some net-snmp versions
106UNUSED_OBJ unused object=.*/libnetsnmphelpers\.so\..*
107UNREF_OBJ unreferenced object=.*/libnetsnmphelpers\.so\..*
108
109# ksh93 is just a wrapper into libshell but it is linked with libumem.so
110# so that the underlying libraries use that implementation for memory
111# management. Since ksh itself doesn't perform any memory allocations in
112# the stub, ldd -U determines that libumem is an unreferenced object.
113UNREF_OBJ /libumem\.so\.1.*/usr/bin/(i86|amd64)/r?ksh(93)?\b
114UNREF_OBJ /libumem\.so\.1.*/usr/bin/sparcv[79]/r?ksh(93)?\b
115
110# Unused runpaths due to dlopen() use
111UNUSED_RPATH /usr/lib/fs/autofs.*\ from\ .automountd
112UNUSED_RPATH /etc/ppp/plugins.*\ from\ .*pppd
113UNUSED_RPATH /usr/lib/inet/ppp.*\ from\ .*pppd
114UNUSED_RPATH /usr/platform/.*rsmlib.*\ from\ .*librsm\.so\.2
115UNUSED_RPATH \$ORIGIN.*\ from\ .*fcode.so
116UNUSED_RPATH /opt/VRTSvxvm/lib.*\ from\ .*libdiskmgt\.so\.1
117

--- 172 unchanged lines hidden ---
116# Unused runpaths due to dlopen() use
117UNUSED_RPATH /usr/lib/fs/autofs.*\ from\ .automountd
118UNUSED_RPATH /etc/ppp/plugins.*\ from\ .*pppd
119UNUSED_RPATH /usr/lib/inet/ppp.*\ from\ .*pppd
120UNUSED_RPATH /usr/platform/.*rsmlib.*\ from\ .*librsm\.so\.2
121UNUSED_RPATH \$ORIGIN.*\ from\ .*fcode.so
122UNUSED_RPATH /opt/VRTSvxvm/lib.*\ from\ .*libdiskmgt\.so\.1
123

--- 172 unchanged lines hidden ---