xref: /onnv-gate/usr/src/cmd/sgs/link_audit/common/00README (revision 12927:a27c46eb192b)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*12927SRod.Evans@Sun.COM# Common Development and Distribution License (the "License").
6*12927SRod.Evans@Sun.COM# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*12927SRod.Evans@Sun.COM#
22*12927SRod.Evans@Sun.COM# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
23*12927SRod.Evans@Sun.COM#
240Sstevel@tonic-gate
250Sstevel@tonic-gateThis directory contains sample code on how to use the Link-Auditing
260Sstevel@tonic-gateinterface of the runtime linker (ld.so.1(1)).  The Link-Auditing interface
270Sstevel@tonic-gatepermits a user supplied shared object to audit objects that are loaded,
280Sstevel@tonic-gateand symbols that are bound, by the runtime linker.  A full description
29*12927SRod.Evans@Sun.COMof the Link-Auditing interface can be found in the "Linker & Libraries
30*12927SRod.Evans@Sun.COMGuide", which is part of the "Software Developer Collection".
310Sstevel@tonic-gate
320Sstevel@tonic-gateThe following is an overview of the directory structure and highlights
330Sstevel@tonic-gatesome of the important files contained within:
340Sstevel@tonic-gate
350Sstevel@tonic-gateMakefile	- Makefile to build the Link-Auditing examples
360Sstevel@tonic-gatesrc/*		- source code
370Sstevel@tonic-gateman/*		- Man pages for the examples
380Sstevel@tonic-gate
39*12927SRod.Evans@Sun.COM
40*12927SRod.Evans@Sun.COMBuilding the demos
41*12927SRod.Evans@Sun.COM------------------
42*12927SRod.Evans@Sun.COM
43*12927SRod.Evans@Sun.COM  % make all
44