xref: /titanic_52/usr/src/lib/libresolv2/common/mapfile-vers (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# Special mapfile to establish h_errno as a filter on libnsl.  As a filtered
8*7c478bd9Sstevel@tonic-gate# symbol, this isn't visible to apptrace, and thus doesn't have to be defined
9*7c478bd9Sstevel@tonic-gate# from the specfiles.  To ensure the symbol remains in .bss, with the correct
10*7c478bd9Sstevel@tonic-gate# size, its filtering capabilities are assigned here rather than via a specfile.
11*7c478bd9Sstevel@tonic-gate
12*7c478bd9Sstevel@tonic-gateSUNW_2.1 {
13*7c478bd9Sstevel@tonic-gate	global:
14*7c478bd9Sstevel@tonic-gate		h_errno = FILTER libnsl.so.1;
15*7c478bd9Sstevel@tonic-gate};
16