1#
2# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License (the "License").
9# You may not use this file except in compliance with the License.
10#
11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12# or http://www.opensolaris.org/os/licensing.
13# See the License for the specific language governing permissions
14# and limitations under the License.
15#
16# When distributing Covered Code, include this CDDL HEADER in each
17# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18# If applicable, add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your own identifying
20# information: Portions Copyright [yyyy] [name of copyright owner]
21#
22# CDDL HEADER END
23#
24# syntax:
25#WARNING:<label>:<1-line-desc>:<lib>|<sym>|<caller>,...:<text>
26# or
27#WARNING:<label>:<1-line-desc>:MATCH <expression>:<text>
28#
29# the label's and 1-line-desc's must be unique.
30# the warning matches if any of the <lib>|<sym>|<caller> in the
31# comma separated list match.
32# "\" may be used to continue a line. the newline is replaced by " ".
33# Another way to quote a block of text is to sandwich it between
34# single "-". The newline previous to the 1st "-" must be "\" quoted.
35# Special keywords in <expression>:
36#	file =~ -> $file =~ where $file is `/bin/file /path/to/object`
37#	dump =~ -> $dump =~ where $dump is `/usr/ccs/bin/dump /path/to/object`
38#	needed =~ -> $needed =~ where $needed is a list of all ldd needed libs.
39#	syms =~ -> $syms =~ where $syms is a string of the direct symbols.
40#
41# Note: if <lib> is a full path (contains /) that symlinks are not
42# automatically handled (as they are for the models and the tweaks), so
43# you have to list all likely symbolic links in the check (see ptrace ex.)
44#
45###############################################################################
46WARNING:sys_errlist:gettext("references sys_errlist/sys_nerr"):libc.so.1|sys_errlist|*DIRECT*,libc.so.1|sys_nerr|*DIRECT*:
47###############################################################################
48WARNING:libkvm:gettext("calls libkvm kernel interfaces"):libkvm.so.1|*|*DIRECT*:
49###############################################################################
50WARNING:libproc:gettext("calls libproc interfaces"):libproc.so.1|*|*DIRECT*:
51###############################################################################
52WARNING:libxgl:gettext("calls libxgl graphics library"):libxgl.so.3|*|*DIRECT*:
53###############################################################################
54WARNING:libxil:gettext("calls libxil imaging library"):libxil.so.1|*|*DIRECT*:
55###############################################################################
56WARNING:libkrb:gettext("calls libkrb kerberos library"):libkrb.so.1|*|*DIRECT*:
57###############################################################################
58WARNING:libauth:gettext("calls libauth library"):libauth.so.1|*|*DIRECT*:
59###############################################################################
60WARNING:libdevfsevent:gettext("calls libdevfsevent library"):libdevfsevent.so.1|*|*DIRECT*:
61###############################################################################
62WARNING:libdhcp:gettext("calls libdhcp.so.2 library"):libdhcp.so.2|*|*DIRECT*:
63###############################################################################
64WARNING:libami:gettext("calls libami library"):libami.so.1|*|*DIRECT*,libami-global.so.1|*|*DIRECT*:
65###############################################################################
66WARNING:ALT_USAGE _XtwaitForSomething:gettext("calls incompatible _XtwaitForSomething"):libXt.so.*|_XtwaitForSomething|*DIRECT*:
67###############################################################################
68WARNING:sunos4x:gettext("SunOS 4.x a.out binary"):MATCH file=~/Sun demand paged|pure SPARC/:
69###############################################################################
70WARNING:fork1_forkall:gettext("non-POSIX libthread fork call"):MATCH dump=~/NEEDED\s*libthread\.so\.1/ && !(needed=~/libpthread\.so\.1/) && syms=~/\b(fork|_fork)\b/:
71###############################################################################
72WARNING:sysmem:gettext("calls deprecated sysmem/asysmem"):libadm.so.1|sysmem|*DIRECT*,libadm.so.1|asysmem|*DIRECT*:
73###############################################################################
74WARNING:_lwp_create:gettext("uses lightweight processes directly"):libc.so.1|_lwp_create|*DIRECT*,libc.so.1|_lwp_detach|*DIRECT*,libc.so.1|_lwp_exit|*DIRECT*,libc.so.1|_lwp_getprivate|*DIRECT*,libc.so.1|_lwp_makecontext|*DIRECT*,libc.so.1|_lwp_setprivate|*DIRECT*,libc.so.1|_lwp_wait|*DIRECT*:
75###############################################################################
76WARNING:libldap.so.3:gettext("calls obsolete LDAP library libldap.so.3"):libldap.so.3|*|*DIRECT*:
77###############################################################################
78WARNING:libldap.so.4:gettext("calls obsolete LDAP library libldap.so.4"):libldap.so.4|*|*DIRECT*:
79###############################################################################
80WARNING:libxfn:gettext("calls obsolete federated naming library libxfn.so"):libxfn.so.1|*|*DIRECT*,libxfn.so.2|*|*DIRECT*:
81###############################################################################
82WARNING:libXinput:gettext("calls obsolete input library libXinput.so.0"):libXinput.so.0|*|*DIRECT*:
83###############################################################################
84WARNING:libkcs:gettext("calls KCMS library libkcs.so.1"):libkcs.so.1|*|*DIRECT*:
85###############################################################################
86WARNING:64-bit-ptrace:gettext("calls 64-bit ptrace(2) interface"):/usr/lib/sparcv9/libc.so.1|ptrace|*DIRECT*,/usr/lib/64/libc.so.1|ptrace|*DIRECT*:
87###############################################################################
88WARNING:makecontext:gettext("possible makecontext(3C) source incompatibility"):libc.so.1|makecontext|*DIRECT*:
89###############################################################################
90WARNING:librac:gettext("calls obsolete RPC library librac.so.1"):librac.so.1|*|*DIRECT*:
91