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