Debian Codegraph @

po/de/man7/attributes.7.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Helge Kreutzmann <[email protected]>, 2024.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.25.1\n"
8 "POT-Creation-Date: 2026-06-05 06:18+0200\n"
9 "PO-Revision-Date: 2025-02-01 14:01+0100\n"
10 "Last-Translator: Helge Kreutzmann <[email protected]>\n"
11 "Language-Team: German <[email protected]>\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "attributes"
23 msgstr "Attribute"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8. Februar 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "BEZEICHNUNG"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "attributes - POSIX safety concepts"
49 msgstr "attributes - POSIX-Sicherheitskonzepte"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "BESCHREIBUNG"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "I<Note>: the text of this man page is based on the material taken from the "
63 "\"POSIX Safety Concepts\" section of the GNU C Library manual. Further "
64 "details on the topics described here can be found in that manual."
65 msgstr ""
66 "I<Hinweis>: Der Text dieser Handbuchseite basiert auf Material, das dem "
67 "Abschnitt »POSIX Safety Concepts« des GNU-C-Bibliothekshandbuchs entnommen "
68 "ist. Weitere Details über die hier beschriebenen Themen können Sie in jenem "
69 "Handbuch finden."
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 msgid ""
75 "Various function manual pages include a section ATTRIBUTES that describes "
76 "the safety of calling the function in various contexts. This section "
77 "annotates functions with the following safety markings:"
78 msgstr ""
79 "Verschiedene Funktionshandbuchseiten enthalten einen Abschnitt ATTRIBUTE, "
80 "der die Sicherheit beim Aufruf der Funktionen in verschiedenen Kontexten "
81 "beschreibt. Jener Abschnitt kommentiert Funktionen mit den folgenden "
82 "Sicherheitsmarkierungen:"
83
84 #. type: TP
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "I<MT-Safe>"
89 msgstr "I<MT-Sicher>"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "I<MT-Safe> or Thread-Safe functions are safe to call in the presence of "
96 "other threads. MT, in MT-Safe, stands for Multi Thread."
97 msgstr ""
98 "I<MT-Sicher> oder Thread-sichere Funktionen können sicher in der Anwesenheit "
99 "von anderen Threads aufgerufen werden. Das »MT« in »MT-Sicher« steht für "
100 "»Multi Thread«."
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "Being MT-Safe does not imply a function is atomic, nor that it uses any of "
107 "the memory synchronization mechanisms POSIX exposes to users. It is even "
108 "possible that calling MT-Safe functions in sequence does not yield an MT-"
109 "Safe combination. For example, having a thread call two MT-Safe functions "
110 "one right after the other does not guarantee behavior equivalent to atomic "
111 "execution of a combination of both functions, since concurrent calls in "
112 "other threads may interfere in a destructive way."
113 msgstr ""
114 "MT-Sicher zu sein bedeutet nicht, dass eine Funktion atomar ist noch dass "
115 "sie die von POSIX für Benutzer bereitgestellten "
116 "Speichersynchronisationsmechanismen verwendet. Es ist sogar möglich, dass "
117 "der Aufruf von MT-Sicher-Funktionen nacheinander nicht zu einer MT-Sicher-"
118 "Kombination führt. Ruft ein Thread beispielsweise zwei MT-Sicher-Funktionen "
119 "direkt nacheinander auf, garantiert dies nicht, dass das Verhalten "
120 "äquivalent zu einem atomaren Aufruf einer Kombination beider Funktionen ist, "
121 "da nebenläufige Aufrufe in anderen Threads diesen Thread destruktiv "
122 "beeinflussen können."
123
124 #
125 #
126 #
127 #. .TP
128 #. .I AS-Safe
129 #. .I AS-Safe
130 #. or Async-Signal-Safe functions are safe to call from
131 #. asynchronous signal handlers.
132 #. AS, in AS-Safe, stands for Asynchronous Signal.
133 #. Many functions that are AS-Safe may set
134 #. .IR errno ,
135 #. or modify the floating-point environment,
136 #. because their doing so does not make them
137 #. unsuitable for use in signal handlers.
138 #. However, programs could misbehave should asynchronous signal handlers
139 #. modify this thread-local state,
140 #. and the signal handling machinery cannot be counted on to
141 #. preserve it.
142 #. Therefore, signal handlers that call functions that may set
143 #. .I errno
144 #. or modify the floating-point environment
145 #. .I must
146 #. save their original values, and restore them before returning.
147 #. .TP
148 #. .I AC-Safe
149 #. .I AC-Safe
150 #. or Async-Cancel-Safe functions are safe to call when
151 #. asynchronous cancelation is enabled.
152 #. AC in AC-Safe stands for Asynchronous Cancelation.
153 #. The POSIX standard defines only three functions to be AC-Safe, namely
154 #. .BR pthread_cancel (3),
155 #. .BR pthread_setcancelstate (3),
156 #. and
157 #. .BR pthread_setcanceltype (3).
158 #. At present the GNU C Library provides no
159 #. guarantees beyond these three functions,
160 #. but does document which functions are presently AC-Safe.
161 #. This documentation is provided for use
162 #. by the GNU C Library developers.
163 #. Just like signal handlers, cancelation cleanup routines must configure
164 #. the floating point environment they require.
165 #. The routines cannot assume a floating point environment,
166 #. particularly when asynchronous cancelation is enabled.
167 #. If the configuration of the floating point
168 #. environment cannot be performed atomically then it is also possible that
169 #. the environment encountered is internally inconsistent.
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "Whole-program optimizations that could inline functions across library "
175 "interfaces may expose unsafe reordering, and so performing inlining across "
176 "the GNU C Library interface is not recommended. The documented MT-Safety "
177 "status is not guaranteed under whole-program optimization. However, "
178 "functions defined in user-visible headers are designed to be safe for "
179 "inlining."
180 msgstr ""
181 "Gesamtprogramm-Optimierungen, die über Bibliotheksgrenzen hinweg Inline-"
182 "Ersetzungen vornehmen, könnten unsichere Umordnungen offenlegen. Daher wird "
183 "empfohlen, keine Inline-Ersetzungen über die GNU-C-Bibliothek-Schnittstelle "
184 "hinweg vorzunehmen. Der dokumentierte MT-Sicherheits-Status wird unter "
185 "Gesamtprogramm-Optimierungen nicht garantiert. Funktionen, die in Headern "
186 "definiert sind, die Benutzern zugänglich sind, wurden allerdings so "
187 "entworfen, dass sie sicher für Inline-Ersetzungen sind."
188
189 #. #-#-#-#-# archlinux: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
190 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
191 #. type: TP
192 #. #-#-#-#-# debian-trixie: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
193 #. ", " AS-Unsafe ", " AC-Unsafe
194 #. type: TP
195 #. #-#-#-#-# debian-unstable: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
196 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
197 #. type: TP
198 #. #-#-#-#-# fedora-44: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
199 #. ", " AS-Unsafe ", " AC-Unsafe
200 #. type: TP
201 #. #-#-#-#-# fedora-rawhide: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
202 #. ", " AS-Unsafe ", " AC-Unsafe
203 #. type: TP
204 #. #-#-#-#-# mageia-cauldron: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
205 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
206 #. type: TP
207 #. #-#-#-#-# opensuse-leap-16-1: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
208 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
209 #. type: TP
210 #. #-#-#-#-# opensuse-tumbleweed: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
211 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
212 #. type: TP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "I<MT-Unsafe>"
217 msgstr "I<MT-Unsicher>"
218
219 #
220 #
221 #
222 #
223 #
224 #
225 #. #-#-#-#-# archlinux: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
226 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
227 #. functions are not
228 #. safe to call within the safety contexts described above.
229 #. Calling them
230 #. within such contexts invokes undefined behavior.
231 #. Functions not explicitly documented as safe in a safety context should
232 #. be regarded as Unsafe.
233 #. .TP
234 #. .I Preliminary
235 #. .I Preliminary
236 #. safety properties are documented, indicating these
237 #. properties may
238 #. .I not
239 #. be counted on in future releases of
240 #. the GNU C Library.
241 #. Such preliminary properties are the result of an assessment of the
242 #. properties of our current implementation,
243 #. rather than of what is mandated and permitted
244 #. by current and future standards.
245 #. Although we strive to abide by the standards, in some cases our
246 #. implementation is safe even when the standard does not demand safety,
247 #. and in other cases our implementation does not meet the standard safety
248 #. requirements.
249 #. The latter are most likely bugs; the former, when marked
250 #. as
251 #. .IR Preliminary ,
252 #. should not be counted on: future standards may
253 #. require changes that are not compatible with the additional safety
254 #. properties afforded by the current implementation.
255 #. Furthermore,
256 #. the POSIX standard does not offer a detailed definition of safety.
257 #. We assume that, by "safe to call", POSIX means that,
258 #. as long as the program does not invoke undefined behavior,
259 #. the "safe to call" function behaves as specified,
260 #. and does not cause other functions to deviate from their specified behavior.
261 #. We have chosen to use its loose
262 #. definitions of safety, not because they are the best definitions to use,
263 #. but because choosing them harmonizes this manual with POSIX.
264 #. Please keep in mind that these are preliminary definitions and annotations,
265 #. and certain aspects of the definitions are still under
266 #. discussion and might be subject to clarification or change.
267 #. Over time,
268 #. we envision evolving the preliminary safety notes into stable commitments,
269 #. as stable as those of our interfaces.
270 #. As we do, we will remove the
271 #. .I Preliminary
272 #. keyword from safety notes.
273 #. As long as the keyword remains, however,
274 #. they are not to be regarded as a promise of future behavior.
275 #. type: Plain text
276 #. #-#-#-#-# debian-trixie: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
277 #. ", " AS-Unsafe ", " AC-Unsafe
278 #. functions are not
279 #. safe to call within the safety contexts described above.
280 #. Calling them
281 #. within such contexts invokes undefined behavior.
282 #. Functions not explicitly documented as safe in a safety context should
283 #. be regarded as Unsafe.
284 #. .TP
285 #. .I Preliminary
286 #. .I Preliminary
287 #. safety properties are documented, indicating these
288 #. properties may
289 #. .I not
290 #. be counted on in future releases of
291 #. the GNU C Library.
292 #. Such preliminary properties are the result of an assessment of the
293 #. properties of our current implementation,
294 #. rather than of what is mandated and permitted
295 #. by current and future standards.
296 #. Although we strive to abide by the standards, in some cases our
297 #. implementation is safe even when the standard does not demand safety,
298 #. and in other cases our implementation does not meet the standard safety
299 #. requirements.
300 #. The latter are most likely bugs; the former, when marked
301 #. as
302 #. .IR Preliminary ,
303 #. should not be counted on: future standards may
304 #. require changes that are not compatible with the additional safety
305 #. properties afforded by the current implementation.
306 #. Furthermore,
307 #. the POSIX standard does not offer a detailed definition of safety.
308 #. We assume that, by "safe to call", POSIX means that,
309 #. as long as the program does not invoke undefined behavior,
310 #. the "safe to call" function behaves as specified,
311 #. and does not cause other functions to deviate from their specified behavior.
312 #. We have chosen to use its loose
313 #. definitions of safety, not because they are the best definitions to use,
314 #. but because choosing them harmonizes this manual with POSIX.
315 #. Please keep in mind that these are preliminary definitions and annotations,
316 #. and certain aspects of the definitions are still under
317 #. discussion and might be subject to clarification or change.
318 #. Over time,
319 #. we envision evolving the preliminary safety notes into stable commitments,
320 #. as stable as those of our interfaces.
321 #. As we do, we will remove the
322 #. .I Preliminary
323 #. keyword from safety notes.
324 #. As long as the keyword remains, however,
325 #. they are not to be regarded as a promise of future behavior.
326 #. type: Plain text
327 #. #-#-#-#-# debian-unstable: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
328 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
329 #. functions are not
330 #. safe to call within the safety contexts described above.
331 #. Calling them
332 #. within such contexts invokes undefined behavior.
333 #. Functions not explicitly documented as safe in a safety context should
334 #. be regarded as Unsafe.
335 #. .TP
336 #. .I Preliminary
337 #. .I Preliminary
338 #. safety properties are documented, indicating these
339 #. properties may
340 #. .I not
341 #. be counted on in future releases of
342 #. the GNU C Library.
343 #. Such preliminary properties are the result of an assessment of the
344 #. properties of our current implementation,
345 #. rather than of what is mandated and permitted
346 #. by current and future standards.
347 #. Although we strive to abide by the standards, in some cases our
348 #. implementation is safe even when the standard does not demand safety,
349 #. and in other cases our implementation does not meet the standard safety
350 #. requirements.
351 #. The latter are most likely bugs; the former, when marked
352 #. as
353 #. .IR Preliminary ,
354 #. should not be counted on: future standards may
355 #. require changes that are not compatible with the additional safety
356 #. properties afforded by the current implementation.
357 #. Furthermore,
358 #. the POSIX standard does not offer a detailed definition of safety.
359 #. We assume that, by "safe to call", POSIX means that,
360 #. as long as the program does not invoke undefined behavior,
361 #. the "safe to call" function behaves as specified,
362 #. and does not cause other functions to deviate from their specified behavior.
363 #. We have chosen to use its loose
364 #. definitions of safety, not because they are the best definitions to use,
365 #. but because choosing them harmonizes this manual with POSIX.
366 #. Please keep in mind that these are preliminary definitions and annotations,
367 #. and certain aspects of the definitions are still under
368 #. discussion and might be subject to clarification or change.
369 #. Over time,
370 #. we envision evolving the preliminary safety notes into stable commitments,
371 #. as stable as those of our interfaces.
372 #. As we do, we will remove the
373 #. .I Preliminary
374 #. keyword from safety notes.
375 #. As long as the keyword remains, however,
376 #. they are not to be regarded as a promise of future behavior.
377 #. type: Plain text
378 #. #-#-#-#-# fedora-44: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
379 #. ", " AS-Unsafe ", " AC-Unsafe
380 #. functions are not
381 #. safe to call within the safety contexts described above.
382 #. Calling them
383 #. within such contexts invokes undefined behavior.
384 #. Functions not explicitly documented as safe in a safety context should
385 #. be regarded as Unsafe.
386 #. .TP
387 #. .I Preliminary
388 #. .I Preliminary
389 #. safety properties are documented, indicating these
390 #. properties may
391 #. .I not
392 #. be counted on in future releases of
393 #. the GNU C Library.
394 #. Such preliminary properties are the result of an assessment of the
395 #. properties of our current implementation,
396 #. rather than of what is mandated and permitted
397 #. by current and future standards.
398 #. Although we strive to abide by the standards, in some cases our
399 #. implementation is safe even when the standard does not demand safety,
400 #. and in other cases our implementation does not meet the standard safety
401 #. requirements.
402 #. The latter are most likely bugs; the former, when marked
403 #. as
404 #. .IR Preliminary ,
405 #. should not be counted on: future standards may
406 #. require changes that are not compatible with the additional safety
407 #. properties afforded by the current implementation.
408 #. Furthermore,
409 #. the POSIX standard does not offer a detailed definition of safety.
410 #. We assume that, by "safe to call", POSIX means that,
411 #. as long as the program does not invoke undefined behavior,
412 #. the "safe to call" function behaves as specified,
413 #. and does not cause other functions to deviate from their specified behavior.
414 #. We have chosen to use its loose
415 #. definitions of safety, not because they are the best definitions to use,
416 #. but because choosing them harmonizes this manual with POSIX.
417 #. Please keep in mind that these are preliminary definitions and annotations,
418 #. and certain aspects of the definitions are still under
419 #. discussion and might be subject to clarification or change.
420 #. Over time,
421 #. we envision evolving the preliminary safety notes into stable commitments,
422 #. as stable as those of our interfaces.
423 #. As we do, we will remove the
424 #. .I Preliminary
425 #. keyword from safety notes.
426 #. As long as the keyword remains, however,
427 #. they are not to be regarded as a promise of future behavior.
428 #. type: Plain text
429 #. #-#-#-#-# fedora-rawhide: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
430 #. ", " AS-Unsafe ", " AC-Unsafe
431 #. functions are not
432 #. safe to call within the safety contexts described above.
433 #. Calling them
434 #. within such contexts invokes undefined behavior.
435 #. Functions not explicitly documented as safe in a safety context should
436 #. be regarded as Unsafe.
437 #. .TP
438 #. .I Preliminary
439 #. .I Preliminary
440 #. safety properties are documented, indicating these
441 #. properties may
442 #. .I not
443 #. be counted on in future releases of
444 #. the GNU C Library.
445 #. Such preliminary properties are the result of an assessment of the
446 #. properties of our current implementation,
447 #. rather than of what is mandated and permitted
448 #. by current and future standards.
449 #. Although we strive to abide by the standards, in some cases our
450 #. implementation is safe even when the standard does not demand safety,
451 #. and in other cases our implementation does not meet the standard safety
452 #. requirements.
453 #. The latter are most likely bugs; the former, when marked
454 #. as
455 #. .IR Preliminary ,
456 #. should not be counted on: future standards may
457 #. require changes that are not compatible with the additional safety
458 #. properties afforded by the current implementation.
459 #. Furthermore,
460 #. the POSIX standard does not offer a detailed definition of safety.
461 #. We assume that, by "safe to call", POSIX means that,
462 #. as long as the program does not invoke undefined behavior,
463 #. the "safe to call" function behaves as specified,
464 #. and does not cause other functions to deviate from their specified behavior.
465 #. We have chosen to use its loose
466 #. definitions of safety, not because they are the best definitions to use,
467 #. but because choosing them harmonizes this manual with POSIX.
468 #. Please keep in mind that these are preliminary definitions and annotations,
469 #. and certain aspects of the definitions are still under
470 #. discussion and might be subject to clarification or change.
471 #. Over time,
472 #. we envision evolving the preliminary safety notes into stable commitments,
473 #. as stable as those of our interfaces.
474 #. As we do, we will remove the
475 #. .I Preliminary
476 #. keyword from safety notes.
477 #. As long as the keyword remains, however,
478 #. they are not to be regarded as a promise of future behavior.
479 #. type: Plain text
480 #. #-#-#-#-# mageia-cauldron: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
481 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
482 #. functions are not
483 #. safe to call within the safety contexts described above.
484 #. Calling them
485 #. within such contexts invokes undefined behavior.
486 #. Functions not explicitly documented as safe in a safety context should
487 #. be regarded as Unsafe.
488 #. .TP
489 #. .I Preliminary
490 #. .I Preliminary
491 #. safety properties are documented, indicating these
492 #. properties may
493 #. .I not
494 #. be counted on in future releases of
495 #. the GNU C Library.
496 #. Such preliminary properties are the result of an assessment of the
497 #. properties of our current implementation,
498 #. rather than of what is mandated and permitted
499 #. by current and future standards.
500 #. Although we strive to abide by the standards, in some cases our
501 #. implementation is safe even when the standard does not demand safety,
502 #. and in other cases our implementation does not meet the standard safety
503 #. requirements.
504 #. The latter are most likely bugs; the former, when marked
505 #. as
506 #. .IR Preliminary ,
507 #. should not be counted on: future standards may
508 #. require changes that are not compatible with the additional safety
509 #. properties afforded by the current implementation.
510 #. Furthermore,
511 #. the POSIX standard does not offer a detailed definition of safety.
512 #. We assume that, by "safe to call", POSIX means that,
513 #. as long as the program does not invoke undefined behavior,
514 #. the "safe to call" function behaves as specified,
515 #. and does not cause other functions to deviate from their specified behavior.
516 #. We have chosen to use its loose
517 #. definitions of safety, not because they are the best definitions to use,
518 #. but because choosing them harmonizes this manual with POSIX.
519 #. Please keep in mind that these are preliminary definitions and annotations,
520 #. and certain aspects of the definitions are still under
521 #. discussion and might be subject to clarification or change.
522 #. Over time,
523 #. we envision evolving the preliminary safety notes into stable commitments,
524 #. as stable as those of our interfaces.
525 #. As we do, we will remove the
526 #. .I Preliminary
527 #. keyword from safety notes.
528 #. As long as the keyword remains, however,
529 #. they are not to be regarded as a promise of future behavior.
530 #. type: Plain text
531 #. #-#-#-#-# opensuse-leap-16-1: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
532 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
533 #. functions are not
534 #. safe to call within the safety contexts described above.
535 #. Calling them
536 #. within such contexts invokes undefined behavior.
537 #. Functions not explicitly documented as safe in a safety context should
538 #. be regarded as Unsafe.
539 #. .TP
540 #. .I Preliminary
541 #. .I Preliminary
542 #. safety properties are documented, indicating these
543 #. properties may
544 #. .I not
545 #. be counted on in future releases of
546 #. the GNU C Library.
547 #. Such preliminary properties are the result of an assessment of the
548 #. properties of our current implementation,
549 #. rather than of what is mandated and permitted
550 #. by current and future standards.
551 #. Although we strive to abide by the standards, in some cases our
552 #. implementation is safe even when the standard does not demand safety,
553 #. and in other cases our implementation does not meet the standard safety
554 #. requirements.
555 #. The latter are most likely bugs; the former, when marked
556 #. as
557 #. .IR Preliminary ,
558 #. should not be counted on: future standards may
559 #. require changes that are not compatible with the additional safety
560 #. properties afforded by the current implementation.
561 #. Furthermore,
562 #. the POSIX standard does not offer a detailed definition of safety.
563 #. We assume that, by "safe to call", POSIX means that,
564 #. as long as the program does not invoke undefined behavior,
565 #. the "safe to call" function behaves as specified,
566 #. and does not cause other functions to deviate from their specified behavior.
567 #. We have chosen to use its loose
568 #. definitions of safety, not because they are the best definitions to use,
569 #. but because choosing them harmonizes this manual with POSIX.
570 #. Please keep in mind that these are preliminary definitions and annotations,
571 #. and certain aspects of the definitions are still under
572 #. discussion and might be subject to clarification or change.
573 #. Over time,
574 #. we envision evolving the preliminary safety notes into stable commitments,
575 #. as stable as those of our interfaces.
576 #. As we do, we will remove the
577 #. .I Preliminary
578 #. keyword from safety notes.
579 #. As long as the keyword remains, however,
580 #. they are not to be regarded as a promise of future behavior.
581 #. type: Plain text
582 #. #-#-#-#-# opensuse-tumbleweed: attributes.7.pot (PACKAGE VERSION) #-#-#-#-#
583 #. ,\~ AS-Unsafe ,\~ AC-Unsafe
584 #. functions are not
585 #. safe to call within the safety contexts described above.
586 #. Calling them
587 #. within such contexts invokes undefined behavior.
588 #. Functions not explicitly documented as safe in a safety context should
589 #. be regarded as Unsafe.
590 #. .TP
591 #. .I Preliminary
592 #. .I Preliminary
593 #. safety properties are documented, indicating these
594 #. properties may
595 #. .I not
596 #. be counted on in future releases of
597 #. the GNU C Library.
598 #. Such preliminary properties are the result of an assessment of the
599 #. properties of our current implementation,
600 #. rather than of what is mandated and permitted
601 #. by current and future standards.
602 #. Although we strive to abide by the standards, in some cases our
603 #. implementation is safe even when the standard does not demand safety,
604 #. and in other cases our implementation does not meet the standard safety
605 #. requirements.
606 #. The latter are most likely bugs; the former, when marked
607 #. as
608 #. .IR Preliminary ,
609 #. should not be counted on: future standards may
610 #. require changes that are not compatible with the additional safety
611 #. properties afforded by the current implementation.
612 #. Furthermore,
613 #. the POSIX standard does not offer a detailed definition of safety.
614 #. We assume that, by "safe to call", POSIX means that,
615 #. as long as the program does not invoke undefined behavior,
616 #. the "safe to call" function behaves as specified,
617 #. and does not cause other functions to deviate from their specified behavior.
618 #. We have chosen to use its loose
619 #. definitions of safety, not because they are the best definitions to use,
620 #. but because choosing them harmonizes this manual with POSIX.
621 #. Please keep in mind that these are preliminary definitions and annotations,
622 #. and certain aspects of the definitions are still under
623 #. discussion and might be subject to clarification or change.
624 #. Over time,
625 #. we envision evolving the preliminary safety notes into stable commitments,
626 #. as stable as those of our interfaces.
627 #. As we do, we will remove the
628 #. .I Preliminary
629 #. keyword from safety notes.
630 #. As long as the keyword remains, however,
631 #. they are not to be regarded as a promise of future behavior.
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 msgid ""
636 "I<MT-Unsafe> functions are not safe to call in a multithreaded programs."
637 msgstr ""
638 "I<MT-Unsicher>-Funktionen können nicht sicher in Programmen mit mehreren "
639 "Threads aufgerufen werden."
640
641 #
642 #
643 #
644 #
645 #
646 #
647 #
648 #
649 #
650 #
651 #
652 #. .SS Unsafe features
653 #. Functions that are unsafe to call in certain contexts are annotated with
654 #. keywords that document their features that make them unsafe to call.
655 #. AS-Unsafe features in this section indicate the functions are never safe
656 #. to call when asynchronous signals are enabled.
657 #. AC-Unsafe features
658 #. indicate they are never safe to call when asynchronous cancelation is
659 #. .\" enabled.
660 #. There are no MT-Unsafe marks in this section.
661 #. .TP
662 #. .\" .I code
663 #. Functions marked with
664 #. .I lock
665 #. as an AS-Unsafe feature may be
666 #. .\" interrupted by a signal while holding a non-recursive lock.
667 #. If the signal handler calls another such function that takes the same lock,
668 #. the result is a deadlock.
669 #. Functions annotated with
670 #. .I lock
671 #. as an AC-Unsafe feature may, if canceled asynchronously,
672 #. fail to release a lock that would have been released if their execution
673 #. had not been interrupted by asynchronous thread cancelation.
674 #. Once a lock is left taken,
675 #. attempts to take that lock will block indefinitely.
676 #. .TP
677 #. .I corrupt
678 #. Functions marked with
679 #. .\" .I corrupt
680 #. as an AS-Unsafe feature may corrupt
681 #. data structures and misbehave when they interrupt,
682 #. or are interrupted by, another such function.
683 #. Unlike functions marked with
684 #. .IR lock ,
685 #. these take recursive locks to avoid MT-Safety problems,
686 #. but this is not enough to stop a signal handler from observing
687 #. a partially-updated data structure.
688 #. Further corruption may arise from the interrupted function's
689 #. failure to notice updates made by signal handlers.
690 #. Functions marked with
691 #. .I corrupt
692 #. as an AC-Unsafe feature may leave
693 #. data structures in a corrupt, partially updated state.
694 #. Subsequent uses of the data structure may misbehave.
695 #. .\" A special case, probably not worth documenting separately, involves
696 #. .\" reallocing, or even freeing pointers. Any case involving free could
697 #. .\" be easily turned into an ac-safe leak by resetting the pointer before
698 #. .\" releasing it; I don't think we have any case that calls for this sort
699 #. .\" of fixing. Fixing the realloc cases would require a new interface:
700 #. .\" instead of @code{ptr=realloc(ptr,size)} we'd have to introduce
701 #. .\" @code{acsafe_realloc(&ptr,size)} that would modify ptr before
702 #. .\" releasing the old memory. The ac-unsafe realloc could be implemented
703 #. .\" in terms of an internal interface with this semantics (say
704 #. .\" __acsafe_realloc), but since realloc can be overridden, the function
705 #. .\" we call to implement realloc should not be this internal interface,
706 #. .\" but another internal interface that calls __acsafe_realloc if realloc
707 #. .\" was not overridden, and calls the overridden realloc with async
708 #. .\" cancel disabled. --lxoliva
709 #. .TP
710 #. .I heap
711 #. Functions marked with
712 #. .I heap
713 #. may call heap memory management functions from the
714 #. .BR malloc (3)/ free (3)
715 #. family of functions and are only as safe as those functions.
716 #. This note is thus equivalent to:
717 #. | AS-Unsafe lock | AC-Unsafe lock fd mem |
718 #. .\" @sampsafety{@asunsafe{@asulock{}}@acunsafe{@aculock{} @acsfd{} @acsmem{}}}
719 #. .\"
720 #. .\" Check for cases that should have used plugin instead of or in
721 #. .\" addition to this. Then, after rechecking gettext, adjust i18n if
722 #. .\" needed.
723 #. .TP
724 #. .I dlopen
725 #. Functions marked with
726 #. .I dlopen
727 #. use the dynamic loader to load
728 #. shared libraries into the current execution image.
729 #. This involves opening files, mapping them into memory,
730 #. allocating additional memory, resolving symbols,
731 #. applying relocations and more,
732 #. all of this while holding internal dynamic loader locks.
733 #. The locks are enough for these functions to be AS-Unsafe and AC-Unsafe,
734 #. but other issues may arise.
735 #. At present this is a placeholder for all
736 #. potential safety issues raised by
737 #. .BR dlopen (3).
738 #. .\" dlopen runs init and fini sections of the module; does this mean
739 #. .\" dlopen always implies plugin?
740 #. .TP
741 #. .I plugin
742 #. Functions annotated with
743 #. .I plugin
744 #. may run code from plugins that
745 #. may be external to the GNU C Library.
746 #. Such plugin functions are assumed to be
747 #. MT-Safe, AS-Unsafe and AC-Unsafe.
748 #. Examples of such plugins are stack unwinding libraries,
749 #. name service switch (NSS) and character set conversion (iconv) back-ends.
750 #. Although the plugins mentioned as examples are all brought in by means
751 #. of dlopen, the
752 #. .I plugin
753 #. keyword does not imply any direct
754 #. involvement of the dynamic loader or the
755 #. .I libdl
756 #. interfaces,
757 #. those are covered by
758 #. .IR dlopen .
759 #. For example, if one function loads a module and finds the addresses
760 #. of some of its functions,
761 #. while another just calls those already-resolved functions,
762 #. the former will be marked with
763 #. .IR dlopen ,
764 #. whereas the latter will get the
765 #. .IR plugin .
766 #. When a single function takes all of these actions, then it gets both marks.
767 #. .TP
768 #. .I i18n
769 #. Functions marked with
770 #. .I i18n
771 #. may call internationalization
772 #. functions of the
773 #. .BR gettext (3)
774 #. family and will be only as safe as those
775 #. functions.
776 #. This note is thus equivalent to:
777 #. | MT-Safe env | AS-Unsafe corrupt heap dlopen | AC-Unsafe corrupt |
778 #. .\" @sampsafety{@mtsafe{@mtsenv{}}@asunsafe{@asucorrupt{} @ascuheap{} @ascudlopen{}}@acunsafe{@acucorrupt{}}}
779 #. .TP
780 #. .I timer
781 #. Functions marked with
782 #. .I timer
783 #. use the
784 #. .BR alarm (3)
785 #. function or
786 #. similar to set a time-out for a system call or a long-running operation.
787 #. In a multi-threaded program, there is a risk that the time-out signal
788 #. will be delivered to a different thread,
789 #. thus failing to interrupt the intended thread.
790 #. Besides being MT-Unsafe, such functions are always
791 #. AS-Unsafe, because calling them in signal handlers may interfere with
792 #. timers set in the interrupted code, and AC-Unsafe,
793 #. because there is no safe way to guarantee an earlier timer
794 #. will be reset in case of asynchronous cancelation.
795 #. type: Plain text
796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
798 msgid ""
799 "Other keywords that appear in safety notes are defined in subsequent "
800 "sections."
801 msgstr ""
802 "Andere Schlüsselwörter, die in den Sicherheitshinweisen auftauchen, sind in "
803 "nachfolgenden Abschnitten definiert."
804
805 #. type: SS
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 #, no-wrap
809 msgid "Conditionally safe features"
810 msgstr "Bedingt sichere Funktionalitäten"
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid ""
816 "For some features that make functions unsafe to call in certain contexts, "
817 "there are known ways to avoid the safety problem other than refraining from "
818 "calling the function altogether. The keywords that follow refer to such "
819 "features, and each of their definitions indicates how the whole program "
820 "needs to be constrained in order to remove the safety problem indicated by "
821 "the keyword. Only when all the reasons that make a function unsafe are "
822 "observed and addressed, by applying the documented constraints, does the "
823 "function become safe to call in a context."
824 msgstr ""
825 "Für einige Funktionalitäten, die Funktionsaufrufe in bestimmten Kontexten "
826 "unsicher machen, gibt es bekannte Möglichkeiten, das Sicherheitsproblem zu "
827 "vermeiden (jenseits vom kompletten Vermeiden des Funktionsaufrufs). Die "
828 "nachfolgenden Schlüsselwörter beziehen sich auf solche Funktionalitäten und "
829 "jede ihrer Definitionen zeigt an, wie das gesamte Programm beschränkt werden "
830 "muss, um dass durch das Schlüsselwort angezeigte Sicherheitsproblem zu "
831 "entfernen. Nur wenn alle Gründe, die eine Funktion unsicher machen, "
832 "berücksichtigt und durch die dokumentierten Beschränkungen adressiert "
833 "werden, kann die Funktion in einem Kontext sicher aufgerufen werden."
834
835 #. type: TP
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "I<init>"
840 msgstr "I<init>"
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid ""
846 "Functions marked with I<init> as an MT-Unsafe feature perform MT-Unsafe "
847 "initialization when they are first called."
848 msgstr ""
849 "Mit I<init> als MT-Unsicher-Funktionalitäten markierte Funktionen führen "
850 "beim ersten Aufruf MT-Unsichere Initialisierungen durch."
851
852 #
853 #
854 #
855 #
856 #
857 #. Functions marked with
858 #. .I init
859 #. as an AS-Unsafe or AC-Unsafe feature use the GNU C Library internal
860 #. .I libc_once
861 #. machinery or similar to initialize internal data structures.
862 #. If a signal handler interrupts such an initializer,
863 #. and calls any function that also performs
864 #. .I libc_once
865 #. initialization, it will deadlock if the thread library has been loaded.
866 #. Furthermore, if an initializer is partially complete before it is canceled
867 #. or interrupted by a signal whose handler requires the same initialization,
868 #. some or all of the initialization may be performed more than once,
869 #. leaking resources or even resulting in corrupt internal data.
870 #. Applications that need to call functions marked with
871 #. .I init
872 #. as an AS-Safety or AC-Unsafe feature should ensure
873 #. the initialization is performed
874 #. before configuring signal handlers or enabling cancelation,
875 #. so that the AS-Safety and AC-Safety issues related with
876 #. .I libc_once
877 #. do not arise.
878 #. .\" We may have to extend the annotations to cover conditions in which
879 #. .\" initialization may or may not occur, since an initial call in a safe
880 #. .\" context is no use if the initialization doesn't take place at that
881 #. .\" time: it doesn't remove the risk for later calls.
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid ""
886 "Calling such a function at least once in single-threaded mode removes this "
887 "specific cause for the function to be regarded as MT-Unsafe. If no other "
888 "cause for that remains, the function can then be safely called after other "
889 "threads are started."
890 msgstr ""
891 "Durch mindestens einmaligen Aufruf dieser Funktion in einem Einzel-Thread-"
892 "Modus wird dieser bestimmte Grund, aus dem die Funktion als MT-Unsicher "
893 "betrachtet wird, entfernt. Falls dafür kein weiterer Grund verbleibt, kann "
894 "diese Funktion sicher aufgerufen werden, nachdem andere Threads gestartet "
895 "wurden."
896
897 #. type: TP
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 #, no-wrap
901 msgid "I<race>"
902 msgstr "I<race>"
903
904 #
905 #
906 #
907 #
908 #
909 #
910 #
911 #. We consider access to objects passed as (indirect) arguments to
912 #. functions to be data race free.
913 #. The assurance of data race free objects
914 #. is the caller's responsibility.
915 #. We will not mark a function as MT-Unsafe or AS-Unsafe
916 #. if it misbehaves when users fail to take the measures required by
917 #. POSIX to avoid data races when dealing with such objects.
918 #. As a general rule, if a function is documented as reading from
919 #. an object passed (by reference) to it, or modifying it,
920 #. users ought to use memory synchronization primitives
921 #. to avoid data races just as they would should they perform
922 #. the accesses themselves rather than by calling the library function.
923 #. Standard I/O
924 #. .RI ( "FILE *" )
925 #. streams are the exception to the general rule,
926 #. in that POSIX mandates the library to guard against data races
927 #. in many functions that manipulate objects of this specific opaque type.
928 #. We regard this as a convenience provided to users,
929 #. rather than as a general requirement whose expectations
930 #. should extend to other types.
931 #. In order to remind users that guarding certain arguments is their
932 #. responsibility, we will annotate functions that take objects of certain
933 #. types as arguments.
934 #. We draw the line for objects passed by users as follows:
935 #. objects whose types are exposed to users,
936 #. and that users are expected to access directly,
937 #. such as memory buffers, strings,
938 #. and various user-visible structured types, do
939 #. .I not
940 #. give reason for functions to be annotated with
941 #. .IR race .
942 #. It would be noisy and redundant with the general requirement,
943 #. and not many would be surprised by the library's lack of internal
944 #. guards when accessing objects that can be accessed directly by users.
945 #. As for objects that are opaque or opaque-like,
946 #. in that they are to be manipulated only by passing them
947 #. to library functions (e.g.,
948 #. .IR FILE ,
949 #. .IR DIR ,
950 #. .IR obstack ,
951 #. .IR iconv_t ),
952 #. there might be additional expectations as to internal coordination
953 #. of access by the library.
954 #. We will annotate, with
955 #. .I race
956 #. followed by a colon and the argument name,
957 #. functions that take such objects but that do not take
958 #. care of synchronizing access to them by default.
959 #. For example,
960 #. .I FILE
961 #. stream
962 #. .I unlocked
963 #. functions
964 #. .RB ( unlocked_stdio (3))
965 #. will be annotated,
966 #. but those that perform implicit locking on
967 #. .I FILE
968 #. streams by default will not,
969 #. even though the implicit locking may be disabled on a per-stream basis.
970 #. In either case, we will not regard as MT-Unsafe functions that may
971 #. access user-supplied objects in unsafe ways should users fail to ensure
972 #. the accesses are well defined.
973 #. The notion prevails that users are expected to safeguard against
974 #. data races any user-supplied objects that the library accesses
975 #. on their behalf.
976 #. .\" The above describes @mtsrace; @mtasurace is described below.
977 #. This user responsibility does not apply, however,
978 #. to objects controlled by the library itself,
979 #. such as internal objects and static buffers used
980 #. to return values from certain calls.
981 #. When the library doesn't guard them against concurrent uses,
982 #. these cases are regarded as MT-Unsafe and AS-Unsafe (although the
983 #. .I race
984 #. mark under AS-Unsafe will be omitted
985 #. as redundant with the one under MT-Unsafe).
986 #. As in the case of user-exposed objects,
987 #. the mark may be followed by a colon and an identifier.
988 #. The identifier groups all functions that operate on a
989 #. certain unguarded object; users may avoid the MT-Safety issues related
990 #. with unguarded concurrent access to such internal objects by creating a
991 #. non-recursive mutex related with the identifier,
992 #. and always holding the mutex when calling any function marked
993 #. as racy on that identifier,
994 #. as they would have to should the identifier be
995 #. an object under user control.
996 #. The non-recursive mutex avoids the MT-Safety issue,
997 #. but it trades one AS-Safety issue for another,
998 #. so use in asynchronous signals remains undefined.
999 #. When the identifier relates to a static buffer used to hold return values,
1000 #. the mutex must be held for as long as the buffer remains in use
1001 #. by the caller.
1002 #. Many functions that return pointers to static buffers offer reentrant
1003 #. variants that store return values in caller-supplied buffers instead.
1004 #. In some cases, such as
1005 #. .BR tmpname (3),
1006 #. the variant is chosen not by calling an alternate entry point,
1007 #. but by passing a non-null pointer to the buffer in which the
1008 #. returned values are to be stored.
1009 #. These variants are generally preferable in multi-threaded programs,
1010 #. although some of them are not MT-Safe because of other internal buffers,
1011 #. also documented with
1012 #. .I race
1013 #. notes.
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 msgid ""
1018 "Functions annotated with I<race> as an MT-Safety issue operate on objects in "
1019 "ways that may cause data races or similar forms of destructive interference "
1020 "out of concurrent execution. In some cases, the objects are passed to the "
1021 "functions by users; in others, they are used by the functions to return "
1022 "values to users; in others, they are not even exposed to users."
1023 msgstr ""
1024 "Mit I<race> als MT-Sicherheitsproblem kommentierte Funktionen agieren auf "
1025 "Objekten derart, dass Ressourcenwettläufe auf Daten oder ähnliche Formen "
1026 "desktruktiven Störens bei nebenläufiger Ausführung ausgelöst werden können. "
1027 "In einigen Fällen werden die Objekte durch Benutzer an die Funktionen "
1028 "übergeben. In anderen Fällen werden sie von den Funktionen verwandt, um "
1029 "Werte an Benutzer zurückzugeben. In wieder anderen werden sie noch nicht mal "
1030 "gegenüber Benutzern offengelegt."
1031
1032 #. type: TP
1033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1035 #, no-wrap
1036 msgid "I<const>"
1037 msgstr "I<const>"
1038
1039 #. and AS-Unsafe,
1040 #. equally
1041 #. and AS-Unsafe
1042 #. and AS-Safe
1043 #. type: Plain text
1044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1046 msgid ""
1047 "Functions marked with I<const> as an MT-Safety issue non-atomically modify "
1048 "internal objects that are better regarded as constant, because a substantial "
1049 "portion of the GNU C Library accesses them without synchronization. Unlike "
1050 "I<race>, which causes both readers and writers of internal objects to be "
1051 "regarded as MT-Unsafe, this mark is applied to writers only. Writers remain "
1052 "MT-Unsafe to call, but the then-mandatory constness of objects they modify "
1053 "enables readers to be regarded as MT-Safe (as long as no other reasons for "
1054 "them to be unsafe remain), since the lack of synchronization is not a "
1055 "problem when the objects are effectively constant."
1056 msgstr ""
1057 "Mit I<const> als MT-Sicherheitsproblem markierte Funktionen verändern "
1058 "interne Objekte nicht atomar, die besser als konstant betrachtet werden, da "
1059 "ein wesentlicher Anteil der GNU-C-Bibliothek auf sie ohne Synchronisierung "
1060 "zugreift. Anders als bei I<race>, bei dem sowohl schreibende als auch "
1061 "lesende Zugriffe auf interne Objekte als MT-Unsicher betrachtet werden, gilt "
1062 "diese Markierung nur für schreibende Zugriffe. Bei schreibenden Zugriffen "
1063 "bleibt der Aufruf MT-Unsicher, aber die dann-verpflichtende Konstantheit von "
1064 "Objekten, die sie verändern, ermöglicht MT-Safe lesenden Zugriff (solange "
1065 "kein anderer Grund verbleibt, sie als unsicher zu betrachten), da das Fehlen "
1066 "von Synchronisierung kein Problem darstellt, wenn die Objekte tatsächlich "
1067 "konstant sind."
1068
1069 #
1070 #. The non-recursive locking removes the MT-Safety problem,
1071 #. but it trades one AS-Safety problem for another,
1072 #. so use in asynchronous signals remains undefined.
1073 #. .\" But what if, instead of marking modifiers with const:id and readers
1074 #. .\" with just id, we marked writers with race:id and readers with ro:id?
1075 #. .\" Instead of having to define each instance of 'id', we'd have a
1076 #. .\" general pattern governing all such 'id's, wherein race:id would
1077 #. .\" suggest the need for an exclusive/write lock to make the function
1078 #. .\" safe, whereas ro:id would indicate 'id' is expected to be read-only,
1079 #. .\" but if any modifiers are called (while holding an exclusive lock),
1080 #. .\" then ro:id-marked functions ought to be guarded with a read lock for
1081 #. .\" safe operation. ro:env or ro:locale, for example, seems to convey
1082 #. .\" more clearly the expectations and the meaning, than just env or
1083 #. .\" locale.
1084 #. type: Plain text
1085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1087 msgid ""
1088 "The identifier that follows the I<const> mark will appear by itself as a "
1089 "safety note in readers. Programs that wish to work around this safety "
1090 "issue, so as to call writers, may use a non-recursive read-write lock "
1091 "associated with the identifier, and guard I<all> calls to functions marked "
1092 "with I<const> followed by the identifier with a write lock, and I<all> calls "
1093 "to functions marked with the identifier by itself with a read lock."
1094 msgstr ""
1095 "Der Markierung I<const> folgende Kennzeichner taucht selbst als "
1096 "Sicherheitshinweis für Lesezugriffe auf. Programme, die dieses "
1097 "Sicherheitsproblem umgehen möchten, um Schreibzugriff durchzuführen, können "
1098 "eine dem Kennzeichner zugeordnete nicht rekursive Lese-Schreib-Sperre "
1099 "verwenden und I<alle> Aufrufe von mit I<const> gefolgt von dem Kennzeichner "
1100 "markierten Funktionen mit einer Schreibsperre und I<alle> Aufrufe von mit "
1101 "dem Kennzeichner selbst markierten Funktionen mit einer Lesesperre absichern."
1102
1103 #. type: TP
1104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1106 #, no-wrap
1107 msgid "I<sig>"
1108 msgstr "I<sig>"
1109
1110 #. (that implies an identical AS-Safety issue, omitted for brevity)
1111 #. type: Plain text
1112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1114 msgid ""
1115 "Functions marked with I<sig> as a MT-Safety issue may temporarily install a "
1116 "signal handler for internal purposes, which may interfere with other uses of "
1117 "the signal, identified after a colon."
1118 msgstr ""
1119 "Mit I<sig> als MT-Sicherheitsproblem markierte Funktionen können temporär "
1120 "einen Signal-Handhaber für interne Zwecke installieren, der mit anderen "
1121 "Verwendungen des Signals wechselwirkt, die nach einem Doppelpunkt "
1122 "dargestellt sind."
1123
1124 #
1125 #
1126 #
1127 #. There is no safe way to guarantee the original signal handler is
1128 #. restored in case of asynchronous cancelation,
1129 #. therefore so-marked functions are also AC-Unsafe.
1130 #. .\" fixme: at least deferred cancelation should get it right, and would
1131 #. .\" obviate the restoring bit below, and the qualifier above.
1132 #. Besides the measures recommended to work around the
1133 #. MT-Safety and AS-Safety problem,
1134 #. in order to avert the cancelation problem,
1135 #. disabling asynchronous cancelation
1136 #. .I and
1137 #. installing a cleanup handler to restore the signal to the desired state
1138 #. and to release the mutex are recommended.
1139 #. type: Plain text
1140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1142 msgid ""
1143 "This safety problem can be worked around by ensuring that no other uses of "
1144 "the signal will take place for the duration of the call. Holding a non-"
1145 "recursive mutex while calling all functions that use the same temporary "
1146 "signal; blocking that signal before the call and resetting its handler "
1147 "afterwards is recommended."
1148 msgstr ""
1149 "Dieses Sicherheitsproblem kann umgangen werden, indem sichergestellt wird, "
1150 "dass während der Dauer des Aufrufs keine andere Verwendung dieses Signals "
1151 "stattfindet. Es wird empfohlen, einen nicht rekursiven Mutex beim Aufruf "
1152 "aller Funktionen, die das gleiche temporäre Signal verwenden, zu halten und "
1153 "das Signal vor dem Aufruf zu blockieren und seinen Handhaber danach "
1154 "zurückzusetzen."
1155
1156 #. type: TP
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 #, no-wrap
1160 msgid "I<term>"
1161 msgstr "I<term>"
1162
1163 #. The same window enables changes made by asynchronous signals to be lost.
1164 #. These functions are also AS-Unsafe,
1165 #. but the corresponding mark is omitted as redundant.
1166 #. type: Plain text
1167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1169 msgid ""
1170 "Functions marked with I<term> as an MT-Safety issue may change the terminal "
1171 "settings in the recommended way, namely: call B<tcgetattr>(3), modify some "
1172 "flags, and then call B<tcsetattr>(3), this creates a window in which changes "
1173 "made by other threads are lost. Thus, functions marked with I<term> are MT-"
1174 "Unsafe."
1175 msgstr ""
1176 "Mit I<term> als MT-Sicherheitsproblem markierte Funktionen können ihre "
1177 "Terminaleinstellungen auf die empfohlene Art ändern, konkret: "
1178 "B<tcgetattr>(3) aufrufen, einige Schalter ändern und dann B<tcsetattr>(3) "
1179 "aufrufen. Dadurch entsteht ein Fenster, in dem einige durch andere Threads "
1180 "vorgenommene Änderungen verloren gehen. Daher sind mit I<term> markierte "
1181 "Funktionen MT-Unsicher."
1182
1183 #
1184 #
1185 #
1186 #. Functions marked with
1187 #. .I term
1188 #. as an AC-Safety issue are supposed to
1189 #. restore terminal settings to their original state,
1190 #. after temporarily changing them, but they may fail to do so if canceled.
1191 #. .\" fixme: at least deferred cancelation should get it right, and would
1192 #. .\" obviate the restoring bit below, and the qualifier above.
1193 #. Besides the measures recommended to work around the
1194 #. MT-Safety and AS-Safety problem,
1195 #. in order to avert the cancelation problem,
1196 #. disabling asynchronous cancelation
1197 #. .I and
1198 #. installing a cleanup handler to
1199 #. restore the terminal settings to the original state and to release the
1200 #. mutex are recommended.
1201 #. type: Plain text
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 msgid ""
1205 "It is thus advisable for applications using the terminal to avoid concurrent "
1206 "and reentrant interactions with it, by not using it in signal handlers or "
1207 "blocking signals that might use it, and holding a lock while calling these "
1208 "functions and interacting with the terminal. This lock should also be used "
1209 "for mutual exclusion with functions marked with I<race:tcattr(fd)>, where "
1210 "I<fd> is a file descriptor for the controlling terminal. The caller may use "
1211 "a single mutex for simplicity, or use one mutex per terminal, even if "
1212 "referenced by different file descriptors."
1213 msgstr ""
1214 "Für Anwendungen, die das Terminal verwenden, wird daher empfohlen, "
1215 "nebenläufige oder wiedereintrittsfähige Interaktionen dadurch zu vermeiden, "
1216 "dass keine Signal-Handhaber verwandt oder Signale, die es verwenden könnte, "
1217 "blockiert werden und eine Sperre gehalten wird, während diese Funktionen "
1218 "aufgerufen und mit dem Terminal interagiert wird. Diese Sperre sollte auch "
1219 "zum gegenseitigen Ausschluss von mit I<race:tcattr(dd)> markierten "
1220 "Funktionen verwandt werden, wo I<dd> ein Dateideskriptor für das steuernde "
1221 "Terminal ist. Das aufrufende Programm kann zur Vereinfachung einen einzelnen "
1222 "Mutex oder einen Mutex pro Terminal verwenden, selbst wenn die Referenz von "
1223 "verschiedenen Dateideskriptoren kommt."
1224
1225 #. type: SS
1226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1228 #, no-wrap
1229 msgid "Other safety remarks"
1230 msgstr "Andere Sicherheitsbemerkungen"
1231
1232 #. type: Plain text
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 msgid ""
1236 "Additional keywords may be attached to functions, indicating features that "
1237 "do not make a function unsafe to call, but that may need to be taken into "
1238 "account in certain classes of programs:"
1239 msgstr ""
1240 "An Funktionen können zusätzliche Schlüsselwörter angehängt werden, die "
1241 "Funktionalitäten andeuten, die nicht zum unsicheren Aufruf einer Funktion "
1242 "führen, die aber möglicherweise in bestimmten Klassen von Programmen "
1243 "berücksichtigt werden müssten:"
1244
1245 #. type: TP
1246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1248 #, no-wrap
1249 msgid "I<locale>"
1250 msgstr "I<locale>"
1251
1252 #. type: Plain text
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1255 msgid ""
1256 "Functions annotated with I<locale> as an MT-Safety issue read from the "
1257 "locale object without any form of synchronization. Functions annotated with "
1258 "I<locale> called concurrently with locale changes may behave in ways that do "
1259 "not correspond to any of the locales active during their execution, but an "
1260 "unpredictable mix thereof."
1261 msgstr ""
1262 "Mit I<locale> als MT-Sicherheitsproblem kommentierte Funktionen lesen vom "
1263 "Locale-Objekt ohne irgendeine Form der Synchronisierung. Werden mit "
1264 "I<locale> kommentierte Funktionen gleichzeitig zu Locale-Änderungen "
1265 "aufgerufen, könnte sich deren Verhalten so ändern, dass es nicht den Locale-"
1266 "Werten entspricht, die während ihrer Ausführung aktiv waren, sondern einer "
1267 "nicht vorhersagbaren Mischung daraus."
1268
1269 #. or AS-Unsafe,
1270 #. Should the locking strategy suggested under @code{const} be used,
1271 #. failure to guard locale uses is not as fatal as data races in
1272 #. general: unguarded uses will @emph{not} follow dangling pointers or
1273 #. access uninitialized, unmapped or recycled memory. Each access will
1274 #. read from a consistent locale object that is or was active at some
1275 #. point during its execution. Without synchronization, however, it
1276 #. cannot even be assumed that, after a change in locale, earlier
1277 #. locales will no longer be used, even after the newly-chosen one is
1278 #. used in the thread. Nevertheless, even though unguarded reads from
1279 #. the locale will not violate type safety, functions that access the
1280 #. locale multiple times may invoke all sorts of undefined behavior
1281 #. because of the unexpected locale changes.
1282 #. type: Plain text
1283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1285 msgid ""
1286 "We do not mark these functions as MT-Unsafe, however, because functions that "
1287 "modify the locale object are marked with I<const:locale> and regarded as "
1288 "unsafe. Being unsafe, the latter are not to be called when multiple threads "
1289 "are running or asynchronous signals are enabled, and so the locale can be "
1290 "considered effectively constant in these contexts, which makes the former "
1291 "safe."
1292 msgstr ""
1293 "Diese Funktionen sind allerdings nicht als MT-Unsicher markiert, da "
1294 "Funktionen, die das Locale-Objekt verändern, als I<const:locale> markiert "
1295 "sind und als unsicher betrachtet werden. Da sie unsicher sind, dürfen "
1296 "letztere nicht aufgerufen werden, wenn mehrere Threads laufen oder "
1297 "asynchrone Signale aktiviert sind, und daher das Locale-Objekt tatsächlich "
1298 "in diesen Kontexten als konstant betrachtet werden kann, wodurch erstere "
1299 "sicher sind."
1300
1301 #. type: TP
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 #, no-wrap
1305 msgid "I<env>"
1306 msgstr "I<env>"
1307
1308 #. type: Plain text
1309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1311 msgid ""
1312 "Functions marked with I<env> as an MT-Safety issue access the environment "
1313 "with B<getenv>(3) or similar, without any guards to ensure safety in the "
1314 "presence of concurrent modifications."
1315 msgstr ""
1316 "Mit I<env> als MT-Sicherheitsproblem kommentierte Funktionen greifen auf die "
1317 "Umgebung mit B<getenv>(3) oder ähnlichem zu, ohne jeglichen Schutz, um "
1318 "Sicherheit in der Anwesenheit von nebenläufigen Veränderungen "
1319 "sicherzustellen."
1320
1321 #. or AS-Unsafe,
1322 #. type: Plain text
1323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1325 msgid ""
1326 "We do not mark these functions as MT-Unsafe, however, because functions that "
1327 "modify the environment are all marked with I<const:env> and regarded as "
1328 "unsafe. Being unsafe, the latter are not to be called when multiple threads "
1329 "are running or asynchronous signals are enabled, and so the environment can "
1330 "be considered effectively constant in these contexts, which makes the former "
1331 "safe."
1332 msgstr ""
1333 "Diese Funktionen sind allerdings nicht als MT-Unsicher markiert, da "
1334 "Funktionen, die die Umgebung verändern, alle mit I<const:env> markiert sind "
1335 "und als unsicher betrachtet werden. Da sie unsicher sind, dürfen letztere "
1336 "nicht aufgerufen werden, wenn mehrere Threads laufen oder asynchrone Signale "
1337 "aktiviert sind, und daher die Umgebung tatsächlich in diesen Kontexten als "
1338 "konstant betrachtet werden können, wodurch erstere sicher sind."
1339
1340 #. type: TP
1341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1343 #, no-wrap
1344 msgid "I<hostid>"
1345 msgstr "I<hostid>"
1346
1347 #. type: Plain text
1348 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1349 #: opensuse-leap-16-1 opensuse-tumbleweed
1350 msgid ""
1351 "Functions marked with I<hostid> as an MT-Safety issue read from the system-"
1352 "wide data structures that hold the \"host ID\" of the machine. These data "
1353 "structures cannot generally be modified atomically. Since it is expected "
1354 "that the \"host ID\" will not normally change, the function that reads from "
1355 "it (B<gethostid>(3)) is regarded as safe, whereas the function that "
1356 "modifies it (B<sethostid>(3)) is marked with I<const:hostid>, indicating it "
1357 "may require special care if it is to be called. In this specific case, the "
1358 "special care amounts to system-wide (not merely intra-process) coordination."
1359 msgstr ""
1360 "Mit I<hostid> als MT-Sicherheitsproblem kommentierte Funktionen lesen von "
1361 "systemweiten Datenstrukturen, die die »Rechnerkennung« der Maschine halten. "
1362 "Diese Datenstrukturen können im Allgemeinen nicht atomar verändert werden. "
1363 "Da erwartet wird, dass sich die »Rechnerkennung« im Allgemeinen nicht "
1364 "ändert, wird die daraus lesende Funktionen (B<gethostid>(3)) als sicher "
1365 "betrachtet, während die verändernde Funktion (B<sethostid>(3)) als "
1366 "I<const:hostid> markiert ist und damit anzeigt, dass bei Aufruf besondere "
1367 "Vorsicht walten zu lassen ist. In diesem speziellen Fall erfordert die "
1368 "besondere Vorsicht eine systemweite (und nicht nur zwischen Prozessen) "
1369 "Koordination."
1370
1371 #. type: TP
1372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1374 #, no-wrap
1375 msgid "I<sigintr>"
1376 msgstr "I<sigintr>"
1377
1378 #. type: Plain text
1379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1381 msgid ""
1382 "Functions marked with I<sigintr> as an MT-Safety issue access the GNU C "
1383 "Library I<_sigintr> internal data structure without any guards to ensure "
1384 "safety in the presence of concurrent modifications."
1385 msgstr ""
1386 "Mit I<sigintr> als MT-Sicherheitsproblem kommentierte Funktionen greifen auf "
1387 "die interne Datenstruktur I<_sigintr> der GNU-C-Bibliothek ohne jeglichen "
1388 "Schutz zu, um Sicherheit beim Auftreten von nebenläufigen Veränderungen "
1389 "sicherzustellen."
1390
1391 #
1392 #
1393 #
1394 #
1395 #
1396 #. or AS-Unsafe,
1397 #. .TP
1398 #. .I fd
1399 #. Functions annotated with
1400 #. .I fd
1401 #. as an AC-Safety issue may leak file
1402 #. descriptors if asynchronous thread cancelation interrupts their
1403 #. execution.
1404 #. Functions that allocate or deallocate file descriptors will generally be
1405 #. marked as such.
1406 #. Even if they attempted to protect the file descriptor
1407 #. allocation and deallocation with cleanup regions,
1408 #. allocating a new descriptor and storing its number where the cleanup region
1409 #. could release it cannot be performed as a single atomic operation.
1410 #. Similarly,
1411 #. releasing the descriptor and taking it out of the data structure
1412 #. normally responsible for releasing it cannot be performed atomically.
1413 #. There will always be a window in which the descriptor cannot be released
1414 #. because it was not stored in the cleanup handler argument yet,
1415 #. or it was already taken out before releasing it.
1416 #. .\" It cannot be taken out after release:
1417 #. an open descriptor could mean either that the descriptor still
1418 #. has to be closed,
1419 #. or that it already did so but the descriptor was
1420 #. reallocated by another thread or signal handler.
1421 #. Such leaks could be internally avoided, with some performance penalty,
1422 #. by temporarily disabling asynchronous thread cancelation.
1423 #. However,
1424 #. since callers of allocation or deallocation functions would have to do
1425 #. this themselves, to avoid the same sort of leak in their own layer,
1426 #. it makes more sense for the library to assume they are taking care of it
1427 #. than to impose a performance penalty that is redundant when the problem
1428 #. is solved in upper layers, and insufficient when it is not.
1429 #. This remark by itself does not cause a function to be regarded as
1430 #. AC-Unsafe.
1431 #. However, cumulative effects of such leaks may pose a
1432 #. problem for some programs.
1433 #. If this is the case,
1434 #. suspending asynchronous cancelation for the duration of calls
1435 #. to such functions is recommended.
1436 #. .TP
1437 #. .I mem
1438 #. Functions annotated with
1439 #. .I mem
1440 #. as an AC-Safety issue may leak
1441 #. memory if asynchronous thread cancelation interrupts their execution.
1442 #. The problem is similar to that of file descriptors: there is no atomic
1443 #. interface to allocate memory and store its address in the argument to a
1444 #. cleanup handler,
1445 #. or to release it and remove its address from that argument,
1446 #. without at least temporarily disabling asynchronous cancelation,
1447 #. which these functions do not do.
1448 #. This remark does not by itself cause a function to be regarded as
1449 #. generally AC-Unsafe.
1450 #. However, cumulative effects of such leaks may be
1451 #. severe enough for some programs that disabling asynchronous cancelation
1452 #. for the duration of calls to such functions may be required.
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid ""
1457 "We do not mark these functions as MT-Unsafe, however, because functions that "
1458 "modify this data structure are all marked with I<const:sigintr> and regarded "
1459 "as unsafe. Being unsafe, the latter are not to be called when multiple "
1460 "threads are running or asynchronous signals are enabled, and so the data "
1461 "structure can be considered effectively constant in these contexts, which "
1462 "makes the former safe."
1463 msgstr ""
1464 "Diese Funktionen sind allerdings nicht als MT-Unsicher markiert, da "
1465 "Funktionen, die diese Datenstruktur verändern, alle mit I<const:sigintr> "
1466 "markiert sind und als unsicher betrachtet werden. Da sie unsicher sind, "
1467 "dürfen letztere nicht aufgerufen werden, wenn mehrere Threads laufen oder "
1468 "asynchrone Signale aktiviert sind, und daher die Datenstruktur tatsächlich "
1469 "in diesen Kontexten als konstant betrachtet werden kann, wodurch erstere "
1470 "sicher sind."
1471
1472 #. type: TP
1473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1475 #, no-wrap
1476 msgid "I<cwd>"
1477 msgstr "I<cwd>"
1478
1479 #. type: Plain text
1480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1482 msgid ""
1483 "Functions marked with I<cwd> as an MT-Safety issue may temporarily change "
1484 "the current working directory during their execution, which may cause "
1485 "relative pathnames to be resolved in unexpected ways in other threads or "
1486 "within asynchronous signal or cancelation handlers."
1487 msgstr ""
1488 "Mit I<cwd> als MT-Sicherheitsproblem kommentierte Funktionen können temporär "
1489 "während ihrer Ausführung ihr aktuelles Arbeitsverzeichnis ändern, wodurch "
1490 "relative Pfadnamen in anderen Threads oder innerhalb asynchroner Signal- "
1491 "oder Abbruch-Handhaber auf unvorhergesehene Weise aufgelöst werden könnten."
1492
1493 #
1494 #. or AS-Unsafe,
1495 #. .TP
1496 #. .I !posix
1497 #. This remark, as an MT-Safety, AS-Safety or AC-Safety
1498 #. note to a function,
1499 #. indicates the safety status of the function is known to differ
1500 #. from the specified status in the POSIX standard.
1501 #. For example, POSIX does not require a function to be Safe,
1502 #. but our implementation is, or vice-versa.
1503 #. For the time being, the absence of this remark does not imply the safety
1504 #. properties we documented are identical to those mandated by POSIX for
1505 #. the corresponding functions.
1506 #. type: Plain text
1507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1509 msgid ""
1510 "This is not enough of a reason to mark so-marked functions as MT-Unsafe, but "
1511 "when this behavior is optional (e.g., B<nftw>(3) with B<FTW_CHDIR>), "
1512 "avoiding the option may be a good alternative to using full pathnames or "
1513 "file descriptor-relative (e.g., B<openat>(2)) system calls."
1514 msgstr ""
1515 "Dies ist kein ausreichender Grund, die so markierten Funktionen als MT-"
1516 "Unsicher zu markieren, aber wenn dieses Verhalten optional ist (z.B. "
1517 "B<nftw>(3) mit B<FTW_CHDIR>) könnte das Vermeiden dieser Option eine gute "
1518 "Alternative zur Verwendung vollständiger Pfadnamen oder Systemaufrufen mit "
1519 "relativen Dateideskriptoren (z.B. B<openat>(2)) sein."
1520
1521 #. type: TP
1522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1524 #, no-wrap
1525 msgid "I<:identifier>"
1526 msgstr "I<:Kennzeichner>"
1527
1528 #. type: Plain text
1529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1531 msgid ""
1532 "Annotations may sometimes be followed by identifiers, intended to group "
1533 "several functions that, for example, access the data structures in an unsafe "
1534 "way, as in I<race> and I<const>, or to provide more specific information, "
1535 "such as naming a signal in a function marked with I<sig>. It is envisioned "
1536 "that it may be applied to I<lock> and I<corrupt> as well in the future."
1537 msgstr ""
1538 "Funktionen können manchmal Kennzeichner folgen, die zum Gruppieren mehrerer "
1539 "Funktionen gedacht sind, die beispielsweise auf Datenstrukturen auf eine "
1540 "unsichere Art zugreifen, wie bei I<race> und I<const>, oder um genauere "
1541 "Informationen wie die Benennung von Signalen in einer mit I<sig> markierten "
1542 "Funktion bereitzustellen. Es wird angedacht, dies in der Zukunft auf I<lock> "
1543 "und I<corrupt> anzuwenden."
1544
1545 #. type: Plain text
1546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1548 msgid ""
1549 "In most cases, the identifier will name a set of functions, but it may name "
1550 "global objects or function arguments, or identifiable properties or logical "
1551 "components associated with them, with a notation such as, for example, "
1552 "I<:buf(arg)> to denote a buffer associated with the argument I<arg>, or "
1553 "I<:tcattr(fd)> to denote the terminal attributes of a file descriptor I<fd>."
1554 msgstr ""
1555 "In den meisten Fällen wird der Kennzeichner eine Gruppe von Funktionen "
1556 "benennen, er kann aber auch globale Objekte oder Funktionsargumente benennen "
1557 "oder identifizierbare Eigenschaften oder ihnen zugeordnete logische "
1558 "Komponenten. Eine Darstellung kann beispielsweise I<:buf(arg)> zur "
1559 "Bezeichnung eines einem Argumenten I<arg> zugeordneten Puffers oder "
1560 "I<:tcattr(fd)> zur Bezeichnung der Terminalattribute eines Dateideskriptors "
1561 "I<dd> sein."
1562
1563 #. type: Plain text
1564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1566 msgid ""
1567 "The most common use for identifiers is to provide logical groups of "
1568 "functions and arguments that need to be protected by the same "
1569 "synchronization primitive in order to ensure safe operation in a given "
1570 "context."
1571 msgstr ""
1572 "Die häufigste Verwendung von Kennzeichnern ist die Bereitstellung logischer "
1573 "Gruppen von Funktionen und Argumenten, die durch die gleichen "
1574 "Synchronisationsprimitiven geschützt werden müssen, um eine sichere Aktion "
1575 "in einem gegebenen Kontext sicherzustellen."
1576
1577 #. type: TP
1578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1580 #, no-wrap
1581 msgid "I</condition>"
1582 msgstr "I</Bedingung>"
1583
1584 #. Such conditions as
1585 #. .I /hurd
1586 #. or
1587 #. .I /!linux!bsd
1588 #. indicate the preceding marker only
1589 #. applies when the underlying kernel is the HURD,
1590 #. or when it is neither Linux nor a BSD kernel, respectively.
1591 #. type: Plain text
1592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1594 msgid ""
1595 "Some safety annotations may be conditional, in that they only apply if a "
1596 "boolean expression involving arguments, global variables or even the "
1597 "underlying kernel evaluates to true. For example, I</!ps> and I</"
1598 "one_per_line> indicate the preceding marker only applies when argument I<ps> "
1599 "is NULL, or global variable I<one_per_line> is nonzero."
1600 msgstr ""
1601 "Einige Sicherheitsanmerkungen können von Bedingungen abhängen. Sie gelten "
1602 "nur, falls ein logischer Ausdruck, der Argumente, globale Variablen oder "
1603 "sogar den zugrunde liegenden Kernel als wahr ausgewertet werden kann. "
1604 "Beispielsweise zeigen I</!ps> und I</one_per_line> an, dass die "
1605 "vorhergehende Markierung nur gilt, wenn das Argument I<ps> NULL oder die "
1606 "globale Variable I<one_per_line> von Null verschieden ist."
1607
1608 #. type: Plain text
1609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1611 msgid ""
1612 "When all marks that render a function unsafe are adorned with such "
1613 "conditions, and none of the named conditions hold, then the function can be "
1614 "regarded as safe."
1615 msgstr ""
1616 "Wenn alle Markierungen, die eine Funktion unsicher werden lassen, mit "
1617 "solchen Bedingungen verziert sind und keine der benannten Bedingungen "
1618 "zutrifft, dann kann diese Funktion als sicher betrachtet werden."
1619
1620 #. type: SH
1621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1623 #, no-wrap
1624 msgid "SEE ALSO"
1625 msgstr "SIEHE AUCH"
1626
1627 #. type: Plain text
1628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1630 msgid "B<pthreads>(7), B<signal-safety>(7)"
1631 msgstr "B<pthreads>(7), B<signal-safety>(7)"
1632
1633 #. type: TH
1634 #: debian-trixie
1635 #, no-wrap
1636 msgid "2024-05-02"
1637 msgstr "2. Mai 2024"
1638
1639 #. type: TH
1640 #: debian-trixie
1641 #, no-wrap
1642 msgid "Linux man-pages 6.9.1"
1643 msgstr "Linux man-pages 6.9.1"
1644
1645 # FIXME The function → Functions marked with
1646 # FIXME reads → read
1647 #. type: Plain text
1648 #: debian-trixie
1649 msgid ""
1650 "The function marked with I<hostid> as an MT-Safety issue reads from the "
1651 "system-wide data structures that hold the \"host ID\" of the machine. These "
1652 "data structures cannot generally be modified atomically. Since it is "
1653 "expected that the \"host ID\" will not normally change, the function that "
1654 "reads from it (B<gethostid>(3)) is regarded as safe, whereas the function "
1655 "that modifies it (B<sethostid>(3)) is marked with I<const:hostid>, "
1656 "indicating it may require special care if it is to be called. In this "
1657 "specific case, the special care amounts to system-wide (not merely intra-"
1658 "process) coordination."
1659 msgstr ""
1660 "Mit I<hostid> als MT-Sicherheitsproblem kommentierte Funktionen lesen von "
1661 "systemweiten Datenstrukturen, die die »Rechnerkennung« der Maschine halten. "
1662 "Diese Datenstrukturen können im Allgemeinen nicht atomar verändert werden. "
1663 "Da erwartet wird, dass sich die »Rechnerkennung« im Allgemeinen nicht "
1664 "ändert, wird die daraus lesende Funktionen (B<gethostid>(3)) als sicher "
1665 "betrachtet, während die verändernde Funktion (B<sethostid>(3)) als "
1666 "I<const:hostid> markiert ist und damit anzeigt, dass bei Aufruf besondere "
1667 "Vorsicht walten zu lassen ist. In diesem speziellen Fall erfordert die "
1668 "besondere Vorsicht eine systemweite (und nicht nur zwischen Prozessen) "
1669 "Koordination."
1670
1671 #. type: TH
1672 #: fedora-44 fedora-rawhide
1673 #, no-wrap
1674 msgid "2024-11-17"
1675 msgstr "17. November 2024"
1676
1677 #. type: TH
1678 #: fedora-44 fedora-rawhide
1679 #, no-wrap
1680 msgid "Linux man-pages 6.13"
1681 msgstr "Linux man-pages 6.13"
1682
1683 #. type: TH
1684 #: mageia-cauldron
1685 #, no-wrap
1686 msgid "Linux man-pages 6.17"
1687 msgstr "Linux man-pages 6.17"
1688
1689 #. type: TH
1690 #: opensuse-leap-16-1 opensuse-tumbleweed
1691 #, no-wrap
1692 msgid "Linux man-pages (unreleased)"
1693 msgstr "Linux man-pages (unveröffentlicht)"