etc.warn.in revision 0ebcc80ed5b3ee869c591d918f85a7225e3f8fee
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# ident "%Z%%M% %I% %E% SMI"
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Use is subject to license terms.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License, Version 1.0 only
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# (the "License"). You may not use this file except in compliance
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# If applicable, add the following below this CDDL HEADER, with the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# fields enclosed by brackets "[]" replaced with your own identifying
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# information: Portions Copyright [yyyy] [name of copyright owner]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER END
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#WARNING:<label>:<1-line-desc>:<lib>|<sym>|<caller>,...:<text>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#WARNING:<label>:<1-line-desc>:MATCH <expression>:<text>
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# the label's and 1-line-desc's must be unique.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# the warning matches if any of the <lib>|<sym>|<caller> in the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# comma separated list match.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# "\" may be used to continue a line. the newline is replaced by " ".
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Another way to quote a block of text is to sandwich it between
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# single "-". The newline previous to the 1st "-" must be "\" quoted.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Special keywords in <expression>:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# file =~ -> $file =~ where $file is `/bin/file /path/to/object`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# dump =~ -> $dump =~ where $dump is `/usr/ccs/bin/dump /path/to/object`
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# needed =~ -> $needed =~ where $needed is a list of all ldd needed libs.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# syms =~ -> $syms =~ where $syms is a string of the direct symbols.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Note: if <lib> is a full path (contains /) that symlinks are not
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# automatically handled (as they are for the models and the tweaks), so
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# you have to list all likely symbolic links in the check (see ptrace ex.)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:sys_errlist:gettext("references sys_errlist/sys_nerr"):libc.so.1|sys_errlist|*DIRECT*,libc.so.1|sys_nerr|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libkvm:gettext("calls libkvm kernel interfaces"):libkvm.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libproc:gettext("calls libproc interfaces"):libproc.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libxgl:gettext("calls libxgl graphics library"):libxgl.so.3|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libxil:gettext("calls libxil imaging library"):libxil.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libkrb:gettext("calls libkrb kerberos library"):libkrb.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libauth:gettext("calls libauth library"):libauth.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libdevfsevent:gettext("calls libdevfsevent library"):libdevfsevent.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libdhcp:gettext("calls libdhcp.so.2 library"):libdhcp.so.2|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libami:gettext("calls libami library"):libami.so.1|*|*DIRECT*,libami-global.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:ALT_USAGE _XtwaitForSomething:gettext("calls incompatible _XtwaitForSomething"):libXt.so.*|_XtwaitForSomething|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:sunos4x:gettext("SunOS 4.x a.out binary"):MATCH file=~/Sun demand paged|pure SPARC/:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:fork1_forkall:gettext("non-POSIX libthread fork call"):MATCH dump=~/NEEDED\s*libthread\.so\.1/ && !(needed=~/libpthread\.so\.1/) && syms=~/\b(fork|_fork)\b/:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:sysmem:gettext("calls deprecated sysmem/asysmem"):libadm.so.1|sysmem|*DIRECT*,libadm.so.1|asysmem|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:_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*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libldap.so.3:gettext("calls obsolete LDAP library libldap.so.3"):libldap.so.3|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libxfn:gettext("calls obsolete federated naming library libxfn.so"):libxfn.so.1|*|*DIRECT*,libxfn.so.2|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:auditsvc:gettext("calls libbsm interface auditsvc(2)"):libbsm.so.1|auditsvc|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libXinput:gettext("calls obsolete input library libXinput.so.0"):libXinput.so.0|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:libkcs:gettext("calls KCMS library libkcs.so.1"):libkcs.so.1|*|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING: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*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:makecontext:gettext("possible makecontext(3C) source incompatibility"):libc.so.1|makecontext|*DIRECT*:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe###############################################################################
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweWARNING:librac:gettext("calls obsolete RPC library librac.so.1"):librac.so.1|*|*DIRECT*: