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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22# Copyright 1996 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26
27# Tell warlock not to pursue these calling sequences:
28
29disallow _tnfctl_sym_find_in_obj \
30	 _tnfctl_traverse_object \
31	 _tnfctl_traverse_rela \
32	 read_a_probe
33
34disallow _tnfctl_sym_find_in_obj \
35	 _tnfctl_traverse_object \
36	 _tnfctl_traverse_dynsym \
37	 read_a_probe
38
39disallow dynsec_num \
40	 _tnfctl_traverse_object \
41	 _tnfctl_traverse_rela \
42	 read_a_probe
43
44disallow dynsec_num \
45	_tnfctl_traverse_object \
46	_tnfctl_traverse_dynsym \
47	read_a_probe
48
49# Arrange for warlock_dummy() to call all libtnfctl entry points.
50interfaces=`sed -n 's/^[ 	]*\(tnfctl_.*\);$/\1/p' mapfile-vers`
51add warlock_dummy/fp target $interfaces
52root $interfaces	# make them all roots, too
53
54# Arrange for libtnfctl callbacks to call warlock_dummy().  Theoretically,
55# a client's routine invoked by any of these callbacks could call into any
56# public interface.
57add pr_func_args::func_p        target warlock_dummy
58add tnfctl_handle::create_func  target warlock_dummy
59add tnfctl_handle::destroy_func target warlock_dummy
60
61# Miscellany
62ignore prb_status_str decode_compare comb_compare
63ignore real_dlopen real_dlclose
64root _tnfctl_dlclose _tnfctl_dlopen	# these can get called at any time
65ignore `members tnf_probevals_t`
66