17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*20c1c355SRod Evans# Common Development and Distribution License (the "License"). 6*20c1c355SRod Evans# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21*20c1c355SRod Evans# 22*20c1c355SRod Evans# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 23*20c1c355SRod Evans# 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gateThis directory contains sample code on how to use the Link-Auditing 267c478bd9Sstevel@tonic-gateinterface of the runtime linker (ld.so.1(1)). The Link-Auditing interface 277c478bd9Sstevel@tonic-gatepermits a user supplied shared object to audit objects that are loaded, 287c478bd9Sstevel@tonic-gateand symbols that are bound, by the runtime linker. A full description 29*20c1c355SRod Evansof the Link-Auditing interface can be found in the "Linker & Libraries 30*20c1c355SRod EvansGuide", which is part of the "Software Developer Collection". 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateThe following is an overview of the directory structure and highlights 337c478bd9Sstevel@tonic-gatesome of the important files contained within: 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gateMakefile - Makefile to build the Link-Auditing examples 367c478bd9Sstevel@tonic-gatesrc/* - source code 377c478bd9Sstevel@tonic-gateman/* - Man pages for the examples 387c478bd9Sstevel@tonic-gate 39*20c1c355SRod Evans 40*20c1c355SRod EvansBuilding the demos 41*20c1c355SRod Evans------------------ 42*20c1c355SRod Evans 43*20c1c355SRod Evans % make all 44