2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH RTLD_AUDIT 3EXT "Oct 6, 2004"
8 rtld_audit, la_activity, la_i86_pltenter, la_objsearch, la_objopen,
9 la_objfilter, la_pltexit, la_pltexit64, la_preinit, la_sparcv8_pltenter,
10 la_sparcv9_pltenter, la_amd64_pltenter, la_symbind32, la_symbind64, la_version
11 \- runtime linker auditing functions
15 \fBvoid\fR \fBla_activity\fR(\fBuintptr_t *\fR\fIcookie\fR, \fBuint_t\fR \fIflag\fR);
20 \fBuintptr_t\fR \fBla_i86_pltenter\fR(\fBElf32_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR, \fBuintptr_t *\fR\fIrefcook\fR,
21 \fBuintptr_t *\fR\fIdefcook\fR, \fBLa_i86_regs *\fR\fIregs\fR, \fBuint_t *\fR\fIflags\fR);
26 \fBchar *\fR\fBla_objsearch\fR(\fBconst char *\fR\fIname\fR, \fBuintptr_t *\fR\fIcookie\fR, \fBuint_t\fR \fIflag\fR);
31 \fBuint_t\fR \fBla_objopen\fR(\fBLink_map *\fR\fIlmp\fR, \fBLmid_t\fR \fIlmid\fR, \fBuintptr_t *\fR\fIcookie\fR);
36 \fBint\fR \fBla_objfilter\fR(\fBuintptr_t *\fR\fIfltrcook\fR, \fBuintptr_t *\fR\fIfltecook\fR,
37 \fBuint_t *\fR\fIflags\fR);
42 \fBuintptr_t\fR \fBla_pltexit\fR(\fBElf32_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR, \fBuintptr_t *\fR\fIrefcook\fR,
43 \fBuintptr_t *\fR\fIdefcook\fR, \fBuintptr_t\fR \fIretval\fR);
48 \fBuintptr_t\fR \fBla_pltexit64\fR(\fBElf64_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR, \fBuintptr_t *\fR\fIrefcook\fR,
49 \fBuintptr_t *\fR\fIdefcook\fR, \fBuintptr_t\fR \fIretval\fR, \fBconst char *\fR\fIsym_name\fR);
54 \fBvoid\fR \fBla_preinit\fR(\fBuintptr_t *\fR\fIcookie\fR);
59 \fBuintptr_t\fR \fBla_sparcv8_pltenter\fR(\fBElf32_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR,
60 \fBuintptr_t *\fR\fIrefcook\fR, \fBuintptr_t *\fR\fIdefcook\fR, \fBLa_amd64_regs *\fR\fIregs\fR,
61 \fBuint_t *\fR\fIflags\fR);
66 \fBuintptr_t\fR \fBla_sparcv9_pltenter\fR(\fBElf64_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR,
67 \fBuintptr_t *\fR\fIrefcook\fR, \fBuintptr_t *\fR\fIdefcook\fR, \fBLa_sparcv8_regs *\fR\fIregs\fR,
68 \fBuint_t *\fR\fIflags\fR, \fBconst char *\fR\fIsym_name\fR);
73 \fBuintptr_t\fR \fBla_amd64_pltenter\fR(\fBElf32_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR,
74 \fBuintptr_t *\fR\fIrefcook\fR, \fBuintptr_t *\fR\fIdefcook\fR, \fBLa_sparcv8_regs *\fR\fIregs\fR,
75 \fBuint_t *\fR\fIflags\fR, \fBconst char *\fR\fIsym_name\fR);
80 \fBuintptr_t\fR \fBla_symbind32\fR(\fBElf32_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR, \fBuintptr_t *\fR\fIrefcook\fR,
81 \fBuintptr_t *\fR\fIdefcook\fR, \fBuint_t *\fR\fIflags\fR);
86 \fBuintptr_t\fR \fBla_symbind64\fR(\fBElf64_Sym *\fR\fIsym\fR, \fBuint_t\fR \fIndx\fR,
87 \fBuintptr_t *\fR\fIrefcook\fR,\fBuintptr_t *\fR\fIdefcook\fR, \fBuint_t *\fR\fIflags\fR,
88 \fBconst char *\fR\fIsym_name\fR);
93 \fBuint_t\fR \fBla_version\fR(\fBuint_t\fR \fIversion\fR);
99 A runtime linker auditing library is a user-created shared object offering one
100 or more of these interfaces. The runtime linker \fBld.so.1\fR(1), calls these
101 interfaces during process execution. See the \fILinker and Libraries Guide\fR
102 for a full description of the link auditing mechanism.
109 \fILinker and Libraries Guide\fR