Debian Codegraph @

templates/man7/rtld-audit.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "RTLD-AUDIT"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-05-17"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "rtld-audit - auditing API for the dynamic linker"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid ""
64 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
65 "B<#include E<lt>link.hE<gt>>\n"
66 msgstr ""
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "DESCRIPTION"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 msgid ""
79 "The GNU dynamic linker (run-time linker) provides an auditing API that "
80 "allows an application to be notified when various dynamic linking events "
81 "occur. This API is very similar to the auditing interface provided by the "
82 "Solaris run-time linker. The necessary constants and prototypes are defined "
83 "by including I<E<lt>link.hE<gt>>."
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid ""
90 "To use this interface, the programmer creates a shared library that "
91 "implements a standard set of function names. Not all of the functions need "
92 "to be implemented: in most cases, if the programmer is not interested in a "
93 "particular class of auditing event, then no implementation needs to be "
94 "provided for the corresponding auditing function."
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "To employ the auditing interface, the environment variable B<LD_AUDIT> must "
102 "be defined to contain a colon-separated list of shared libraries, each of "
103 "which can implement (parts of) the auditing API. When an auditable event "
104 "occurs, the corresponding function is invoked in each library, in the order "
105 "that the libraries are listed."
106 msgstr ""
107
108 #. type: SS
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "la_version()"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "B<unsigned int la_version(unsigned int >I<version>B<);>\n"
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "This is the only function that I<must> be defined by an auditing library: it "
127 "performs the initial handshake between the dynamic linker and the auditing "
128 "library. When invoking this function, the dynamic linker passes, in "
129 "I<version>, the highest version of the auditing interface that the linker "
130 "supports."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "A typical implementation of this function simply returns the constant "
138 "B<LAV_CURRENT>, which indicates the version of I<E<lt>link.hE<gt>> that was "
139 "used to build the audit module. If the dynamic linker does not support this "
140 "version of the audit interface, it will refuse to activate this audit "
141 "module. If the function returns zero, the dynamic linker also does not "
142 "activate this audit module."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "In order to enable backwards compatibility with older dynamic linkers, an "
150 "audit module can examine the I<version> argument and return an earlier "
151 "version than B<LAV_CURRENT>, assuming the module can adjust its "
152 "implementation to match the requirements of the previous version of the "
153 "audit interface. The B<la_version> function should not return the value of "
154 "I<version> without further checks because it could correspond to an "
155 "interface that does not match the I<E<lt>link.hE<gt>> definitions used to "
156 "build the audit module."
157 msgstr ""
158
159 #. type: SS
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "la_objsearch()"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid ""
171 "B<char *la_objsearch(const char *>I<name>B<, uintptr_t *>I<cookie>B<,>\n"
172 "B< unsigned int >I<flag>B<);>\n"
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "The dynamic linker invokes this function to inform the auditing library that "
180 "it is about to search for a shared object. The I<name> argument is the "
181 "filename or pathname that is to be searched for. I<cookie> identifies the "
182 "shared object that initiated the search. I<flag> is set to one of the "
183 "following values:"
184 msgstr ""
185
186 #. type: TP
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "B<LA_SER_ORIG>"
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "This is the original name that is being searched for. Typically, this name "
198 "comes from an ELF B<DT_NEEDED> entry, or is the I<filename> argument given "
199 "to B<dlopen>(3)."
200 msgstr ""
201
202 #. type: TP
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "B<LA_SER_LIBPATH>"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid "I<name> was created using a directory specified in B<LD_LIBRARY_PATH>."
213 msgstr ""
214
215 #. type: TP
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "B<LA_SER_RUNPATH>"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "I<name> was created using a directory specified in an ELF B<DT_RPATH> or "
227 "B<DT_RUNPATH> list."
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<LA_SER_CONFIG>"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "I<name> was found via the B<ldconfig>(8) cache (I</etc/ld.so.cache>)."
241 msgstr ""
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "B<LA_SER_DEFAULT>"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "I<name> was found via a search of one of the default directories."
254 msgstr ""
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<LA_SER_SECURE>"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "I<name> is specific to a secure object (unused on Linux)."
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "As its function result, B<la_objsearch>() returns the pathname that the "
274 "dynamic linker should use for further processing. If NULL is returned, then "
275 "this pathname is ignored for further processing. If this audit library "
276 "simply intends to monitor search paths, then I<name> should be returned."
277 msgstr ""
278
279 #. type: SS
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "la_activity()"
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<void la_activity( uintptr_t *>I<cookie>B<, unsigned int >I<flag>B<);>\n"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "The dynamic linker calls this function to inform the auditing library that "
298 "link-map activity is occurring. I<cookie> identifies the object at the head "
299 "of the link map. When the dynamic linker invokes this function, I<flag> is "
300 "set to one of the following values:"
301 msgstr ""
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<LA_ACT_ADD>"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "New objects are being added to the link map."
314 msgstr ""
315
316 #. type: TP
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "B<LA_ACT_DELETE>"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "Objects are being removed from the link map."
327 msgstr ""
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<LA_ACT_CONSISTENT>"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "Link-map activity has been completed: the map is once again consistent."
340 msgstr ""
341
342 #. type: SS
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "la_objopen()"
347 msgstr ""
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid ""
354 "B<unsigned int la_objopen(struct link_map *>I<map>B<, Lmid_t >I<lmid>B<,>\n"
355 "B< uintptr_t *>I<cookie>B<);>\n"
356 msgstr ""
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid ""
362 "The dynamic linker calls this function when a new shared object is loaded. "
363 "The I<map> argument is a pointer to a link-map structure that describes the "
364 "object. The I<lmid> field has one of the following values"
365 msgstr ""
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<LM_ID_BASE>"
372 msgstr ""
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid "Link map is part of the initial namespace."
378 msgstr ""
379
380 #. type: TP
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "B<LM_ID_NEWLM>"
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid "Link map is part of a new namespace requested via B<dlmopen>(3)."
391 msgstr ""
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "I<cookie> is a pointer to an identifier for this object. The identifier is "
398 "provided to later calls to functions in the auditing library in order to "
399 "identify this object. This identifier is initialized to point to object's "
400 "link map, but the audit library can change the identifier to some other "
401 "value that it may prefer to use to identify the object."
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "As its return value, B<la_objopen>() returns a bit mask created by ORing "
409 "zero or more of the following constants, which allow the auditing library to "
410 "select the objects to be monitored by B<la_symbind*>():"
411 msgstr ""
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<LA_FLG_BINDTO>"
418 msgstr ""
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid "Audit symbol bindings to this object."
424 msgstr ""
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<LA_FLG_BINDFROM>"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "Audit symbol bindings from this object."
437 msgstr ""
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "A return value of 0 from B<la_objopen>() indicates that no symbol bindings "
444 "should be audited for this object."
445 msgstr ""
446
447 #. type: SS
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "la_objclose()"
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<unsigned int la_objclose(uintptr_t *>I<cookie>B<);>\n"
459 msgstr ""
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "The dynamic linker invokes this function after any finalization code for the "
466 "object has been executed, before the object is unloaded. The I<cookie> "
467 "argument is the identifier obtained from a previous invocation of "
468 "B<la_objopen>()."
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "In the current implementation, the value returned by B<la_objclose>() is "
476 "ignored."
477 msgstr ""
478
479 #. type: SS
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "la_preinit()"
484 msgstr ""
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "B<void la_preinit(uintptr_t *>I<cookie>B<);>\n"
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid ""
497 "The dynamic linker invokes this function after all shared objects have been "
498 "loaded, before control is passed to the application (i.e., before calling "
499 "I<main>()). Note that I<main>() may still later dynamically load objects "
500 "using B<dlopen>(3)."
501 msgstr ""
502
503 #. type: SS
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, no-wrap
507 msgid "la_symbind*()"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 #, no-wrap
514 msgid ""
515 "B<uintptr_t la_symbind32(Elf32_Sym *>I<sym>B<, unsigned int >I<ndx>B<,>\n"
516 "B< uintptr_t *>I<refcook>B<, uintptr_t *>I<defcook>B<,>\n"
517 "B< unsigned int *>I<flags>B<, const char *>I<symname>B<);>\n"
518 "B<uintptr_t la_symbind64(Elf64_Sym *>I<sym>B<, unsigned int >I<ndx>B<,>\n"
519 "B< uintptr_t *>I<refcook>B<, uintptr_t *>I<defcook>B<,>\n"
520 "B< unsigned int *>I<flags>B<, const char *>I<symname>B<);>\n"
521 msgstr ""
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "The dynamic linker invokes one of these functions when a symbol binding "
528 "occurs between two shared objects that have been marked for auditing "
529 "notification by B<la_objopen>(). The B<la_symbind32>() function is "
530 "employed on 32-bit platforms; the B<la_symbind64>() function is employed on "
531 "64-bit platforms."
532 msgstr ""
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid ""
538 "The I<sym> argument is a pointer to a structure that provides information "
539 "about the symbol being bound. The structure definition is shown in "
540 "I<E<lt>elf.hE<gt>>. Among the fields of this structure, I<st_value> "
541 "indicates the address to which the symbol is bound."
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "The I<ndx> argument gives the index of the symbol in the symbol table of the "
549 "bound shared object."
550 msgstr ""
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "The I<refcook> argument identifies the shared object that is making the "
557 "symbol reference; this is the same identifier that is provided to the "
558 "B<la_objopen>() function that returned B<LA_FLG_BINDFROM>. The I<defcook> "
559 "argument identifies the shared object that defines the referenced symbol; "
560 "this is the same identifier that is provided to the B<la_objopen>() "
561 "function that returned B<LA_FLG_BINDTO>."
562 msgstr ""
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid ""
568 "The I<symname> argument points a string containing the name of the symbol."
569 msgstr ""
570
571 #. LA_SYMB_STRUCTCALL appears to be unused
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "The I<flags> argument is a bit mask that both provides information about the "
577 "symbol and can be used to modify further auditing of this PLT (Procedure "
578 "Linkage Table) entry. The dynamic linker may supply the following bit "
579 "values in this argument:"
580 msgstr ""
581
582 #. type: TP
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "B<LA_SYMB_DLSYM>"
587 msgstr ""
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid "The binding resulted from a call to B<dlsym>(3)."
593 msgstr ""
594
595 #. type: TP
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "B<LA_SYMB_ALTVALUE>"
600 msgstr ""
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "A previous B<la_symbind*>() call returned an alternate value for this "
607 "symbol."
608 msgstr ""
609
610 #. pltenter/pltexit are called for non-dynamically loaded libraries,
611 #. but don't seem to be called for dynamically loaded libs?
612 #. Is this the same on Solaris?
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid ""
617 "By default, if the auditing library implements B<la_pltenter>() and "
618 "B<la_pltexit>() functions (see below), then these functions are invoked, "
619 "after B<la_symbind>(), for PLT entries, each time the symbol is referenced. "
620 "The following flags can be ORed into I<*flags> to change this default "
621 "behavior:"
622 msgstr ""
623
624 #. type: TP
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "B<LA_SYMB_NOPLTENTER>"
629 msgstr ""
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 msgid "Don't call B<la_pltenter>() for this symbol."
635 msgstr ""
636
637 #. type: TP
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid "B<LA_SYMB_NOPLTEXIT>"
642 msgstr ""
643
644 #. type: Plain text
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 msgid "Don't call B<la_pltexit>() for this symbol."
648 msgstr ""
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "The return value of B<la_symbind32>() and B<la_symbind64>() is the address "
655 "to which control should be passed after the function returns. If the "
656 "auditing library is simply monitoring symbol bindings, then it should return "
657 "I<sym-E<gt>st_value>. A different value may be returned if the library "
658 "wishes to direct control to an alternate location."
659 msgstr ""
660
661 #. type: SS
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "la_pltenter()"
666 msgstr ""
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "The precise name and argument types for this function depend on the hardware "
673 "platform. (The appropriate definition is supplied by I<E<lt>link.hE<gt>>.) "
674 "Here is the definition for x86-32:"
675 msgstr ""
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid ""
682 "B<Elf32_Addr la_i86_gnu_pltenter(Elf32_Sym *>I<sym>B<, unsigned int >I<ndx>B<,>\n"
683 "B< uintptr_t *>I<refcook>B<, uintptr_t *>I<defcook>B<,>\n"
684 "B< La_i86_regs *>I<regs>B<, unsigned int *>I<flags>B<,>\n"
685 "B< const char *>I<symname>B<, long *>I<framesizep>B<);>\n"
686 msgstr ""
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "This function is invoked just before a PLT entry is called, between two "
693 "shared objects that have been marked for binding notification."
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 msgid ""
700 "The I<sym>, I<ndx>, I<refcook>, I<defcook>, and I<symname> are as for "
701 "B<la_symbind*>()."
702 msgstr ""
703
704 #. type: Plain text
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 msgid ""
708 "The I<regs> argument points to a structure (defined in I<E<lt>link.hE<gt>>) "
709 "containing the values of registers to be used for the call to this PLT entry."
710 msgstr ""
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid ""
716 "The I<flags> argument points to a bit mask that conveys information about, "
717 "and can be used to modify subsequent auditing of, this PLT entry, as for "
718 "B<la_symbind*>()."
719 msgstr ""
720
721 #. FIXME . Is the following correct?
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid ""
726 "The I<framesizep> argument points to a I<long\\ int> buffer that can be used "
727 "to explicitly set the frame size used for the call to this PLT entry. If "
728 "different B<la_pltenter>() invocations for this symbol return different "
729 "values, then the maximum returned value is used. The B<la_pltexit>() "
730 "function is called only if this buffer is explicitly set to a suitable value."
731 msgstr ""
732
733 #. type: Plain text
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 msgid "The return value of B<la_pltenter>() is as for B<la_symbind*>()."
737 msgstr ""
738
739 #. type: SS
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "la_pltexit()"
744 msgstr ""
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 #, no-wrap
750 msgid ""
751 "B<unsigned int la_i86_gnu_pltexit(Elf32_Sym *>I<sym>B<, unsigned int >I<ndx>B<,>\n"
752 "B< uintptr_t *>I<refcook>B<, uintptr_t *>I<defcook>B<,>\n"
753 "B< const La_i86_regs *>I<inregs>B<, La_i86_retval *>I<outregs>B<,>\n"
754 "B< const char *>I<symname>B<);>\n"
755 msgstr ""
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid ""
761 "This function is called when a PLT entry, made between two shared objects "
762 "that have been marked for binding notification, returns. The function is "
763 "called just before control returns to the caller of the PLT entry."
764 msgstr ""
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 msgid ""
770 "The I<inregs> argument points to a structure (defined in "
771 "I<E<lt>link.hE<gt>>) containing the values of registers used for the call "
772 "to this PLT entry. The I<outregs> argument points to a structure (defined "
773 "in I<E<lt>link.hE<gt>>) containing return values for the call to this PLT "
774 "entry. These values can be modified by the caller, and the changes will be "
775 "visible to the caller of the PLT entry."
776 msgstr ""
777
778 #. This differs from Solaris, where an audit library that monitors
779 #. symbol binding should return the value of the 'retval' argument
780 #. (not provided by GNU, but equivalent to returning outregs->lrv_eax
781 #. on (say) x86-32).
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "In the current GNU implementation, the return value of B<la_pltexit>() is "
787 "ignored."
788 msgstr ""
789
790 #. type: SH
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 #, no-wrap
794 msgid "VERSIONS"
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "This API is very similar to the Solaris API described in the Solaris "
802 "I<Linker and Libraries Guide>, in the chapter I<Runtime Linker Auditing "
803 "Interface>."
804 msgstr ""
805
806 #. type: SH
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "STANDARDS"
811 msgstr ""
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 msgid "None."
817 msgstr ""
818
819 #. type: SH
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 #, no-wrap
823 msgid "NOTES"
824 msgstr ""
825
826 #. type: Plain text
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 msgid ""
830 "Note the following differences from the Solaris dynamic linker auditing API:"
831 msgstr ""
832
833 #. type: IP
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 #, no-wrap
837 msgid "\\[bu]"
838 msgstr ""
839
840 #. type: Plain text
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 msgid ""
844 "The Solaris B<la_objfilter>() interface is not supported by the GNU "
845 "implementation."
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "The Solaris B<la_symbind32>() and B<la_pltexit>() functions do not provide "
853 "a I<symname> argument."
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid ""
860 "The Solaris B<la_pltexit>() function does not provide I<inregs> and "
861 "I<outregs> arguments (but does provide a I<retval> argument with the "
862 "function return value)."
863 msgstr ""
864
865 #. type: SH
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid "BUGS"
870 msgstr ""
871
872 #. FIXME . Specifying multiple audit libraries doesn't work on GNU.
873 #. My simple tests on Solaris work okay, but not on Linux -- mtk, Jan 2009
874 #. glibc bug filed: http://sourceware.org/bugzilla/show_bug.cgi?id=9733
875 #. Reportedly, this is fixed on 16 Mar 2009 (i.e., for glibc 2.10)
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid ""
880 "In glibc versions up to and include 2.9, specifying more than one audit "
881 "library in B<LD_AUDIT> results in a run-time crash. This is reportedly "
882 "fixed in glibc 2.10."
883 msgstr ""
884
885 #. type: SH
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 #, no-wrap
889 msgid "EXAMPLES"
890 msgstr ""
891
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 #, no-wrap
896 msgid ""
897 "#include E<lt>link.hE<gt>\n"
898 "#include E<lt>stdio.hE<gt>\n"
899 "\\&\n"
900 "unsigned int\n"
901 "la_version(unsigned int version)\n"
902 "{\n"
903 " printf(\"la_version(): version = %u; LAV_CURRENT = %u\\[rs]n\",\n"
904 " version, LAV_CURRENT);\n"
905 "\\&\n"
906 " return LAV_CURRENT;\n"
907 "}\n"
908 "\\&\n"
909 "char *\n"
910 "la_objsearch(const char *name, uintptr_t *cookie, unsigned int flag)\n"
911 "{\n"
912 " printf(\"la_objsearch(): name = %s; cookie = %p\", name, cookie);\n"
913 " printf(\"; flag = %s\\[rs]n\",\n"
914 " (flag == LA_SER_ORIG) ? \"LA_SER_ORIG\" :\n"
915 " (flag == LA_SER_LIBPATH) ? \"LA_SER_LIBPATH\" :\n"
916 " (flag == LA_SER_RUNPATH) ? \"LA_SER_RUNPATH\" :\n"
917 " (flag == LA_SER_DEFAULT) ? \"LA_SER_DEFAULT\" :\n"
918 " (flag == LA_SER_CONFIG) ? \"LA_SER_CONFIG\" :\n"
919 " (flag == LA_SER_SECURE) ? \"LA_SER_SECURE\" :\n"
920 " \"???\");\n"
921 "\\&\n"
922 " return name;\n"
923 "}\n"
924 "\\&\n"
925 "void\n"
926 "la_activity (uintptr_t *cookie, unsigned int flag)\n"
927 "{\n"
928 " printf(\"la_activity(): cookie = %p; flag = %s\\[rs]n\", cookie,\n"
929 " (flag == LA_ACT_CONSISTENT) ? \"LA_ACT_CONSISTENT\" :\n"
930 " (flag == LA_ACT_ADD) ? \"LA_ACT_ADD\" :\n"
931 " (flag == LA_ACT_DELETE) ? \"LA_ACT_DELETE\" :\n"
932 " \"???\");\n"
933 "}\n"
934 "\\&\n"
935 "unsigned int\n"
936 "la_objopen(struct link_map *map, Lmid_t lmid, uintptr_t *cookie)\n"
937 "{\n"
938 " printf(\"la_objopen(): loading \\[rs]\"%s\\[rs]\"; lmid = %s; cookie=%p\\[rs]n\",\n"
939 " map-E<gt>l_name,\n"
940 " (lmid == LM_ID_BASE) ? \"LM_ID_BASE\" :\n"
941 " (lmid == LM_ID_NEWLM) ? \"LM_ID_NEWLM\" :\n"
942 " \"???\",\n"
943 " cookie);\n"
944 "\\&\n"
945 " return LA_FLG_BINDTO | LA_FLG_BINDFROM;\n"
946 "}\n"
947 "\\&\n"
948 "unsigned int\n"
949 "la_objclose (uintptr_t *cookie)\n"
950 "{\n"
951 " printf(\"la_objclose(): %p\\[rs]n\", cookie);\n"
952 "\\&\n"
953 " return 0;\n"
954 "}\n"
955 "\\&\n"
956 "void\n"
957 "la_preinit(uintptr_t *cookie)\n"
958 "{\n"
959 " printf(\"la_preinit(): %p\\[rs]n\", cookie);\n"
960 "}\n"
961 "\\&\n"
962 "uintptr_t\n"
963 "la_symbind32(Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook,\n"
964 " uintptr_t *defcook, unsigned int *flags, const char *symname)\n"
965 "{\n"
966 " printf(\"la_symbind32(): symname = %s; sym-E<gt>st_value = %p\\[rs]n\",\n"
967 " symname, sym-E<gt>st_value);\n"
968 " printf(\" ndx = %u; flags = %#x\", ndx, *flags);\n"
969 " printf(\"; refcook = %p; defcook = %p\\[rs]n\", refcook, defcook);\n"
970 "\\&\n"
971 " return sym-E<gt>st_value;\n"
972 "}\n"
973 "\\&\n"
974 "uintptr_t\n"
975 "la_symbind64(Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,\n"
976 " uintptr_t *defcook, unsigned int *flags, const char *symname)\n"
977 "{\n"
978 " printf(\"la_symbind64(): symname = %s; sym-E<gt>st_value = %p\\[rs]n\",\n"
979 " symname, sym-E<gt>st_value);\n"
980 " printf(\" ndx = %u; flags = %#x\", ndx, *flags);\n"
981 " printf(\"; refcook = %p; defcook = %p\\[rs]n\", refcook, defcook);\n"
982 "\\&\n"
983 " return sym-E<gt>st_value;\n"
984 "}\n"
985 "\\&\n"
986 "Elf32_Addr\n"
987 "la_i86_gnu_pltenter(Elf32_Sym *sym, unsigned int ndx,\n"
988 " uintptr_t *refcook, uintptr_t *defcook, La_i86_regs *regs,\n"
989 " unsigned int *flags, const char *symname, long *framesizep)\n"
990 "{\n"
991 " printf(\"la_i86_gnu_pltenter(): %s (%p)\\[rs]n\", symname, sym-E<gt>st_value);\n"
992 "\\&\n"
993 " return sym-E<gt>st_value;\n"
994 "}\n"
995 msgstr ""
996
997 #. type: SH
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 #, no-wrap
1001 msgid "SEE ALSO"
1002 msgstr ""
1003
1004 #. type: Plain text
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 msgid "B<ldd>(1), B<dlopen>(3), B<ld.so>(8), B<ldconfig>(8)"
1008 msgstr ""
1009
1010 #. type: TH
1011 #: debian-trixie fedora-44 fedora-rawhide
1012 #, no-wrap
1013 msgid "2024-06-15"
1014 msgstr ""
1015
1016 #. type: TH
1017 #: debian-trixie
1018 #, no-wrap
1019 msgid "Linux man-pages 6.9.1"
1020 msgstr ""
1021
1022 #. type: TH
1023 #: fedora-44 fedora-rawhide
1024 #, no-wrap
1025 msgid "Linux man-pages 6.13"
1026 msgstr ""
1027
1028 #. type: TH
1029 #: mageia-cauldron
1030 #, no-wrap
1031 msgid "Linux man-pages 6.17"
1032 msgstr ""
1033
1034 #. type: TH
1035 #: opensuse-leap-16-1 opensuse-tumbleweed
1036 #, no-wrap
1037 msgid "Linux man-pages (unreleased)"
1038 msgstr ""