Debian Codegraph @

po/de/man2/fcntl.2.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 # Martin Schulze <[email protected]>, 1998.
5 # Chris Leick <[email protected]>, 2017.
6 # Helge Kreutzmann <[email protected]>, 2012-2020,2022,2025,2026.
7 # Mario Blättermann <[email protected]>, 2021.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.29.1\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2026-03-06 17:27+0100\n"
13 "Last-Translator: Helge Kreutzmann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "fcntl"
26 msgstr "fcntl"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8. Februar 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "BEZEICHNUNG"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "fcntl - manipulate file descriptor"
52 msgstr "fcntl - Dateideskriptoren manipulieren"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTHEK"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "ÜBERSICHT"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>fcntl.hE<gt>>\n"
79 msgstr "B<#include E<lt>fcntl.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ...);>\n"
86 msgstr "B<int fcntl(int >I<dd>B<, int >I<Aktion>B<, …);>\n"
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr "BESCHREIBUNG"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "B<fcntl>() performs one of the operations described below on the open file "
100 "descriptor I<fd>. The operation is determined by I<op>."
101 msgstr ""
102 "B<fcntl>() führt eine der unten beschriebenen Aktionen auf dem offenen "
103 "Dateideskriptor I<dd> aus. Die Aktion wird durch I<Aktion> festgelegt."
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "Certain of the operations below are supported only since a particular Linux "
110 "kernel version. The preferred method of checking whether the host kernel "
111 "supports a particular operation is to invoke B<fcntl>() with the desired "
112 "I<op> value and then test whether the call failed with B<EINVAL>, indicating "
113 "that the kernel does not recognize this value."
114 msgstr ""
115 "Bestimmte der unten aufgeführten Aktionen werden nur seit einer bestimmten "
116 "Linux-Kernelversion unterstützt. Die bevorzugte Methode, um herauszufinden, "
117 "ob der Gastkernel eine bestimmte Aktion unterstützt, ist der Aufruf von "
118 "B<fcntl>() mit dem gewünschten Wert von I<Aktion> und dem anschließenden "
119 "Test, ob der Aufruf mit B<EINVAL> fehlschlug, wodurch angezeigt wird, dass "
120 "der Kernel diesen Wert nicht unterstützt."
121
122 #. type: SS
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, no-wrap
126 msgid "Duplicating a file descriptor"
127 msgstr "Duplizieren eines Dateideskriptors"
128
129 #. type: TP
130 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
131 #: opensuse-tumbleweed
132 #, no-wrap
133 msgid "B<F_DUPFD>(2const)"
134 msgstr "B<F_DUPFD>(2const)"
135
136 #. type: TQ
137 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
138 #: opensuse-tumbleweed
139 #, no-wrap
140 msgid "B<F_DUPFD_CLOEXEC>(2const)"
141 msgstr "B<F_DUPFD_CLOEXEC>(2const)"
142
143 #. type: SS
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "File descriptor flags"
148 msgstr "Datei-Deskriptor-Schalter"
149
150 #. type: TP
151 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
152 #: opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<F_GETFD>(2const)"
155 msgstr "B<F_GETFD>(2const)"
156
157 #. type: TQ
158 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
159 #: opensuse-tumbleweed
160 #, no-wrap
161 msgid "B<F_SETFD>(2const)"
162 msgstr "B<F_SETFD>(2const)"
163
164 #. type: SS
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "File status flags"
169 msgstr "Dateistatusschalter"
170
171 #. type: TP
172 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
173 #: opensuse-tumbleweed
174 #, no-wrap
175 msgid "B<F_GETFL>(2const)"
176 msgstr "B<F_GETFL>(2const)"
177
178 #. type: TQ
179 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
180 #: opensuse-tumbleweed
181 #, no-wrap
182 msgid "B<F_SETFL>(2const)"
183 msgstr "B<F_SETFL>(2const)"
184
185 #. type: SS
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "Advisory record locking"
190 msgstr "Empfohlene Datensatzsperren"
191
192 #. type: TP
193 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
194 #: opensuse-tumbleweed
195 #, no-wrap
196 msgid "B<F_SETLK>(2const)"
197 msgstr "B<F_SETLK>(2const)"
198
199 #. type: TQ
200 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
201 #: opensuse-tumbleweed
202 #, no-wrap
203 msgid "B<F_SETLKW>(2const)"
204 msgstr "B<F_SETLKW>(2const)"
205
206 #. type: TQ
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 #, no-wrap
210 msgid "B<F_GETLK>(2const)"
211 msgstr "B<F_GETLK>(2const)"
212
213 #. type: SS
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "Open file description locks (non-POSIX)"
218 msgstr "Offene Dateideskriptionssperren (nicht POSIX)"
219
220 #. type: TP
221 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
222 #: opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<F_OFD_SETLK>(2const)"
225 msgstr "B<F_OFD_SETLK>(2const)"
226
227 #. type: TQ
228 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
229 #: opensuse-tumbleweed
230 #, no-wrap
231 msgid "B<F_OFD_SETLKW>(2const)"
232 msgstr "B<F_OFD_SETLKW>(2const)"
233
234 #. type: TQ
235 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
236 #: opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<F_OFD_GETLK>(2const)"
239 msgstr "B<F_OFD_GETLK>(2const)"
240
241 #. type: SS
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "Managing signals"
246 msgstr "Signale verwalten"
247
248 #. type: TP
249 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
250 #: opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<F_GETOWN>(2const)"
253 msgstr "B<F_GETOWN>(2const)"
254
255 #. type: TQ
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 #, no-wrap
259 msgid "B<F_SETOWN>(2const)"
260 msgstr "B<F_SETOWN>(2const)"
261
262 #. type: TQ
263 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
264 #: opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<F_GETOWN_EX>(2const)"
267 msgstr "B<F_GETOWN_EX>(2const)"
268
269 #. type: TQ
270 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
271 #: opensuse-tumbleweed
272 #, no-wrap
273 msgid "B<F_SETOWN_EX>(2const)"
274 msgstr "B<F_SETOWN_EX>(2const)"
275
276 #. type: TQ
277 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
278 #: opensuse-tumbleweed
279 #, no-wrap
280 msgid "B<F_GETSIG>(2const)"
281 msgstr "B<F_GETSIG>(2const)"
282
283 #. type: TQ
284 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 #, no-wrap
287 msgid "B<F_SETSIG>(2const)"
288 msgstr "B<F_SETSIG>(2const)"
289
290 #. type: SS
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "Leases"
295 msgstr "Ausleihe"
296
297 #. type: TP
298 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
299 #: opensuse-tumbleweed
300 #, no-wrap
301 msgid "B<F_SETLEASE>(2const)"
302 msgstr "B<F_SETLEASE>(2const)"
303
304 #. type: TQ
305 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
306 #: opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<F_GETLEASE>(2const)"
309 msgstr "B<F_GETLEASE>(2const)"
310
311 #. type: SS
312 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
313 #: opensuse-tumbleweed
314 #, no-wrap
315 msgid "Delegations"
316 msgstr "Delegierungen"
317
318 #. type: TP
319 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
320 #: opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<F_SETDELEG>(2const)"
323 msgstr "B<F_SETDELEG>(2const)"
324
325 #. type: TQ
326 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
327 #: opensuse-tumbleweed
328 #, no-wrap
329 msgid "B<F_GETDELEG>(2const)"
330 msgstr "B<F_GETDELEG>(2const)"
331
332 #. type: SS
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "File and directory change notification (dnotify)"
337 msgstr "Datei- und Verzeichnis-Änderungsbenachrichtigung (dnotify)"
338
339 #. type: TP
340 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
341 #: opensuse-tumbleweed
342 #, no-wrap
343 msgid "B<F_NOTIFY>(2const)"
344 msgstr "B<F_NOTIFY>(2const)"
345
346 #. type: SS
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "Changing the capacity of a pipe"
351 msgstr "Ändern der Kapazität einer Pipe"
352
353 #. type: TP
354 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
355 #: opensuse-tumbleweed
356 #, no-wrap
357 msgid "B<F_SETPIPE_SZ>(2const)"
358 msgstr "B<F_SETPIPE_SZ>(2const)"
359
360 #. type: TQ
361 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
362 #: opensuse-tumbleweed
363 #, no-wrap
364 msgid "B<F_GETPIPE_SZ>(2const)"
365 msgstr "B<F_GETPIPE_SZ>(2const)"
366
367 #. type: SS
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "File Sealing"
372 msgstr "Versiegelung von Dateien"
373
374 #. type: TP
375 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
376 #: opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<F_ADD_SEALS>(2const)"
379 msgstr "B<F_ADD_SEALS>(2const)"
380
381 #. type: TQ
382 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
383 #: opensuse-tumbleweed
384 #, no-wrap
385 msgid "B<F_GET_SEALS>(2const)"
386 msgstr "B<F_GET_SEALS>(2const)"
387
388 #. type: SS
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "File read/write hints"
393 msgstr "Datei Lese-/Schreibehinweise"
394
395 #. type: TP
396 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<F_GET_RW_HINT>(2const)"
400 msgstr "B<F_GET_RW_HINT>(2const)"
401
402 #. type: TQ
403 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
404 #: opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<F_SET_RW_HINT>(2const)"
407 msgstr "B<F_SET_RW_HINT>(2const)"
408
409 #. type: TQ
410 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
411 #: opensuse-tumbleweed
412 #, no-wrap
413 msgid "B<F_GET_FILE_RW_HINT>(2const)"
414 msgstr "B<F_GET_FILE_RW_HINT>(2const)"
415
416 #. type: TQ
417 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
418 #: opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<F_SET_FILE_RW_HINT>(2const)"
421 msgstr "B<F_SET_FILE_RW_HINT>(2const)"
422
423 #. type: SH
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "RETURN VALUE"
428 msgstr "RÜCKGABEWERT"
429
430 #. type: Plain text
431 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
432 #: opensuse-tumbleweed
433 msgid "For a successful call, the return value depends on the operation."
434 msgstr ""
435 "Für einen erfolgreichen Aufruf hängt der Rückgabewert von der Aktion ab."
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
441 msgstr ""
442 "Bei einem Fehler wird -1 zurückgegeben und I<errno> wird gesetzt, um den "
443 "Fehler anzuzeigen."
444
445 #. type: SH
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "ERRORS"
450 msgstr "FEHLER"
451
452 #. type: TP
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "B<EACCES> or B<EAGAIN>"
457 msgstr "B<EACCES> oder B<EAGAIN>"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid "Operation is prohibited by locks held by other processes."
463 msgstr "Aktion wird durch von anderen Prozessen gehaltene Sperren verhindert."
464
465 #. type: TP
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "B<EAGAIN>"
470 msgstr "B<EAGAIN>"
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "The operation is prohibited because the file has been memory-mapped by "
477 "another process."
478 msgstr ""
479 "Die Aktion ist verboten, da die Datei durch einen anderen Prozess in den "
480 "Speicher gemappt wurde."
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<EBADF>"
487 msgstr "B<EBADF>"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "I<fd> is not an open file descriptor"
493 msgstr "I<dd> ist kein offener Dateideskriptor."
494
495 #. type: TP
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<EINVAL>"
500 msgstr "B<EINVAL>"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid "The value specified in I<op> is not recognized by this kernel."
506 msgstr "Der in I<Aktion> angegebene Wert wird von diesem Kernel nicht erkannt."
507
508 #. type: SH
509 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
510 #: opensuse-tumbleweed
511 #, no-wrap
512 msgid "VERSIONS"
513 msgstr "VERSIONEN"
514
515 #. type: Plain text
516 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
517 #: opensuse-tumbleweed
518 msgid ""
519 "POSIX.1-2024 specifies B<FD_CLOFORK> and B<F_DUPFD_CLOFORK>, but Linux "
520 "doesn't support them."
521 msgstr ""
522 "POSIX.1-2024 spezifiziert B<FD_CLOFORK> und B<F_DUPFD_CLOFORK>, aber Linux "
523 "unterstützt sie nicht."
524
525 #. type: SH
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "STANDARDS"
530 msgstr "STANDARDS"
531
532 #. .P
533 #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
534 #. type: Plain text
535 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
536 #: opensuse-tumbleweed
537 msgid "POSIX.1-2024."
538 msgstr "POSIX.1-2024."
539
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "HISTORY"
545 msgstr "GESCHICHTE"
546
547 #. type: Plain text
548 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
549 #: opensuse-tumbleweed
550 msgid "4.3BSD, SVr4, POSIX.1-1988."
551 msgstr "4.3BSD, SVr4, POSIX.1-1988."
552
553 #. type: SH
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 #, no-wrap
557 msgid "SEE ALSO"
558 msgstr "SIEHE AUCH"
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), "
565 "B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)"
566 msgstr ""
567 "B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), "
568 "B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)"
569
570 #. type: TH
571 #: debian-trixie
572 #, no-wrap
573 msgid "2024-05-02"
574 msgstr "2. Mai 2024"
575
576 #. type: TH
577 #: debian-trixie
578 #, no-wrap
579 msgid "Linux man-pages 6.9.1"
580 msgstr "Linux man-pages 6.9.1"
581
582 #. type: Plain text
583 #: debian-trixie
584 msgid "Standard C library (I<libc>, I<-lc>)"
585 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
586
587 #. type: Plain text
588 #: debian-trixie fedora-44 fedora-rawhide
589 #, no-wrap
590 msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n"
591 msgstr "B<int fcntl(int >I<dd>B<, int >I<Aktion>B<, … /* >I<arg>B< */ );>\n"
592
593 #. type: Plain text
594 #: debian-trixie fedora-44 fedora-rawhide
595 msgid ""
596 "B<fcntl>() can take an optional third argument. Whether or not this "
597 "argument is required is determined by I<op>. The required argument type is "
598 "indicated in parentheses after each I<op> name (in most cases, the required "
599 "type is I<int>, and we identify the argument using the name I<arg>), or "
600 "I<void> is specified if the argument is not required."
601 msgstr ""
602 "B<fcntl>() kann ein optionales drittes Argument akzeptieren. Ob dieses "
603 "Argument notwendig ist, ergibt sich durch I<Aktion>. Der benötigte "
604 "Argumenttyp wird nach jedem I<Aktion>-Namen in Klammern angedeutet (in den "
605 "meisten Fällen ist der benötigte Typ I<int> und der Argumenttyp wird mit dem "
606 "Namen I<arg> identifiziert). Falls das Argument nicht notwendig ist, wird "
607 "I<void> angegeben."
608
609 #. type: TP
610 #: debian-trixie fedora-44 fedora-rawhide
611 #, no-wrap
612 msgid "B<F_DUPFD> (I<int>)"
613 msgstr "B<F_DUPFD> (I<int>)"
614
615 #. type: Plain text
616 #: debian-trixie fedora-44 fedora-rawhide
617 msgid ""
618 "Duplicate the file descriptor I<fd> using the lowest-numbered available file "
619 "descriptor greater than or equal to I<arg>. This is different from "
620 "B<dup2>(2), which uses exactly the file descriptor specified."
621 msgstr ""
622 "verdoppelt den Dateideskriptor I<dd> unter Verwendung des Dateideskriptors "
623 "mit der kleinsten Nummer, die identisch zu oder größer als I<arg> ist. Dies "
624 "unterscheidet sich von B<dup2>(2), das exakt den angegebenen Dateideskriptor "
625 "verwendet."
626
627 #. type: Plain text
628 #: debian-trixie fedora-44 fedora-rawhide
629 msgid "On success, the new file descriptor is returned."
630 msgstr "Bei Erfolg wird der neue Dateideskriptor zurückgegeben."
631
632 #. type: Plain text
633 #: debian-trixie fedora-44 fedora-rawhide
634 msgid "See B<dup>(2) for further details."
635 msgstr "Lesen Sie B<dup>(2) für weitere Details."
636
637 #. type: TP
638 #: debian-trixie fedora-44 fedora-rawhide
639 #, no-wrap
640 msgid "B<F_DUPFD_CLOEXEC> (I<int>; since Linux 2.6.24)"
641 msgstr "B<F_DUPFD_CLOEXEC> (I<int>; seit Linux 2.6.24)"
642
643 #. type: Plain text
644 #: debian-trixie fedora-44 fedora-rawhide
645 msgid ""
646 "As for B<F_DUPFD>, but additionally set the close-on-exec flag for the "
647 "duplicate file descriptor. Specifying this flag permits a program to avoid "
648 "an additional B<fcntl>() B<F_SETFD> operation to set the B<FD_CLOEXEC> "
649 "flag. For an explanation of why this flag is useful, see the description of "
650 "B<O_CLOEXEC> in B<open>(2)."
651 msgstr ""
652 "Wie für B<F_DUPFD>, setzt aber zusätzlich den Schalter »close-on-exec« für "
653 "den duplizierten Dateideskriptor. Die Angabe dieses Schalters ermöglicht es "
654 "einem Programm, eine zusätzliche B<fcntl>()-B<F_SETFD>-Aktion zu vermeiden, "
655 "um den Schalter B<FD_CLOEXEC> zu setzen. Für eine Erläuterung, warum dieser "
656 "Schalter nützlich ist, lesen Sie die Beschreibung von B<O_CLOEXEC> in "
657 "B<open>(2)."
658
659 #. type: Plain text
660 #: debian-trixie fedora-44 fedora-rawhide
661 msgid ""
662 "The following operations manipulate the flags associated with a file "
663 "descriptor. Currently, only one such flag is defined: B<FD_CLOEXEC>, the "
664 "close-on-exec flag. If the B<FD_CLOEXEC> bit is set, the file descriptor "
665 "will automatically be closed during a successful B<execve>(2). (If the "
666 "B<execve>(2) fails, the file descriptor is left open.) If the "
667 "B<FD_CLOEXEC> bit is not set, the file descriptor will remain open across an "
668 "B<execve>(2)."
669 msgstr ""
670 "Die folgenden Aktionen verändern die einem Dateideskriptor zugeordneten "
671 "Schalter. Derzeit ist nur ein solcher Schalter definiert: B<FD_CLOEXEC>, der "
672 "»close-on-exec«-Schalter. Falls das B<FD_CLOEXEC>-Bit gesetzt ist, wird der "
673 "Dateideskriptor automatisch bei einem erfolgreichen B<execve>(2) "
674 "geschlossen. (Falls der B<execve>(2) fehlschlägt, bleibt der Dateideskriptor "
675 "offen.) Falls das Bit B<FD_CLOEXEC> nicht gesetzt ist, wird der "
676 "Dateideskriptor über ein B<execve>(2) hinweg offen bleiben."
677
678 #. type: TP
679 #: debian-trixie fedora-44 fedora-rawhide
680 #, no-wrap
681 msgid "B<F_GETFD> (I<void>)"
682 msgstr "B<F_GETFD> (I<void>)"
683
684 #. type: Plain text
685 #: debian-trixie fedora-44 fedora-rawhide
686 msgid ""
687 "Return (as the function result) the file descriptor flags; I<arg> is ignored."
688 msgstr ""
689 "Liefert (als Ergebnis der Funktion) die Dateideskriptorschalter; I<arg> wird "
690 "ignoriert."
691
692 #. type: TP
693 #: debian-trixie fedora-44 fedora-rawhide
694 #, no-wrap
695 msgid "B<F_SETFD> (I<int>)"
696 msgstr "B<F_SETFD> (I<int>)"
697
698 #. type: Plain text
699 #: debian-trixie fedora-44 fedora-rawhide
700 msgid "Set the file descriptor flags to the value specified by I<arg>."
701 msgstr ""
702 "Setzt den Dateideskriptorschalter auf den durch I<arg> angegebenen Wert."
703
704 #. type: Plain text
705 #: debian-trixie fedora-44 fedora-rawhide
706 msgid ""
707 "In multithreaded programs, using B<fcntl>() B<F_SETFD> to set the close-on-"
708 "exec flag at the same time as another thread performs a B<fork>(2) plus "
709 "B<execve>(2) is vulnerable to a race condition that may unintentionally "
710 "leak the file descriptor to the program executed in the child process. See "
711 "the discussion of the B<O_CLOEXEC> flag in B<open>(2) for details and a "
712 "remedy to the problem."
713 msgstr ""
714 "In Programmen mit mehreren Threads ist die Verwendung von B<fcntl>() "
715 "B<F_SETFD>, um den Schalter »close-on-exec« zum gleichen Zeitpunkt zu "
716 "setzen, zu dem ein anderer Thread ein B<fork>(2) mit einem B<execve>(2) "
717 "ausführt, anfällig für einen Ressourcenwettlauf, der unbeabsichtigterweise "
718 "den Dateideskriptor an das Programm, das im Kindprozess läuft, durchsickern "
719 "lässt. Siehe die Diskussion des Schalters B<O_CLOEXEC> in B<open>(2) für "
720 "Details und wie dem Problem abgeholfen werden kann."
721
722 #. or
723 #. .BR creat (2),
724 #. type: Plain text
725 #: debian-trixie fedora-44 fedora-rawhide
726 msgid ""
727 "Each open file description has certain associated status flags, initialized "
728 "by B<open>(2) and possibly modified by B<fcntl>(). Duplicated file "
729 "descriptors (made with B<dup>(2), B<fcntl>(F_DUPFD), B<fork>(2), etc.) refer "
730 "to the same open file description, and thus share the same file status flags."
731 msgstr ""
732 "Jede offene Dateideskription hat bestimmte zugeordnete Statusschalter, die "
733 "durch B<open>(2) initialisiert und möglicherweise durch B<fcntl>() verändert "
734 "werden. Duplizierte Dateideskriptoren (mit B<dup>(2), B<fcntl>(F_DUPFD), "
735 "B<fork>(2) usw. erstellte) beziehen sich auf die gleiche offene "
736 "Dateideskription und teilen sich daher die gleichen Dateistatusschalter."
737
738 #. type: Plain text
739 #: debian-trixie fedora-44 fedora-rawhide
740 msgid "The file status flags and their semantics are described in B<open>(2)."
741 msgstr ""
742 "Die Dateistatusschalter und deren Bedeutung sind in B<open>(2) beschrieben."
743
744 #. type: TP
745 #: debian-trixie fedora-44 fedora-rawhide
746 #, no-wrap
747 msgid "B<F_GETFL> (I<void>)"
748 msgstr "B<F_GETFL> (I<void>)"
749
750 #. type: Plain text
751 #: debian-trixie fedora-44 fedora-rawhide
752 msgid ""
753 "Return (as the function result) the file access mode and the file status "
754 "flags; I<arg> is ignored."
755 msgstr ""
756 "Liefert (als Ergebnis der Funktion) den Dateizugriffsmodus und die "
757 "Dateistatusschalter; I<arg> wird ignoriert."
758
759 #. type: TP
760 #: debian-trixie fedora-44 fedora-rawhide
761 #, no-wrap
762 msgid "B<F_SETFL> (I<int>)"
763 msgstr "B<F_SETFL> (I<int>)"
764
765 #. type: Plain text
766 #: debian-trixie fedora-44 fedora-rawhide
767 msgid ""
768 "Set the file status flags to the value specified by I<arg>. File access "
769 "mode (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) and file creation flags (i.e., "
770 "B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, B<O_TRUNC>) in I<arg> are ignored. On "
771 "Linux, this operation can change only the B<O_APPEND>, B<O_ASYNC>, "
772 "B<O_DIRECT>, B<O_NOATIME>, and B<O_NONBLOCK> flags. It is not possible to "
773 "change the B<O_DSYNC> and B<O_SYNC> flags; see BUGS, below."
774 msgstr ""
775 "Setzt die Dateistatusschalter auf den durch I<arg> angegebenen Wert. "
776 "Dateizugriffsmodus (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) und "
777 "Dateierzeugungsschalter (d.h. B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, "
778 "B<O_TRUNC>) werden in I<arg> ignoriert. Unter Linux kann diese Aktion nur "
779 "die Schalter B<O_APPEND>, B<O_ASYNC>, B<O_DIRECT>, B<O_NOATIME> und "
780 "B<O_NONBLOCK> ändern. Es ist nicht möglich, die Schalter B<O_DSYNC> und "
781 "B<O_SYNC> zu ändern, siehe FEHLER weiter unten."
782
783 #. type: Plain text
784 #: debian-trixie fedora-44 fedora-rawhide
785 msgid ""
786 "Linux implements traditional (\"process-associated\") UNIX record locks, as "
787 "standardized by POSIX. For a Linux-specific alternative with better "
788 "semantics, see the discussion of open file description locks below."
789 msgstr ""
790 "Linux implementiert traditionelle (»Prozess-orientierte«) UNIX-Datensatz-"
791 "Sperren, wie durch POSIX standardisiert. Für eine Linux-spezifische "
792 "Alternative mit besserer Semantik lesen Sie die Diskussion über offene "
793 "Dateideskriptions-Sperren unten."
794
795 #. type: Plain text
796 #: debian-trixie fedora-44 fedora-rawhide
797 msgid ""
798 "B<F_SETLK>, B<F_SETLKW>, and B<F_GETLK> are used to acquire, release, and "
799 "test for the existence of record locks (also known as byte-range, file-"
800 "segment, or file-region locks). The third argument, I<lock>, is a pointer "
801 "to a structure that has at least the following fields (in unspecified order)."
802 msgstr ""
803 "B<F_SETLK>, B<F_SETLKW> und B<F_GETLK> werden dazu verwandt, "
804 "Datensatzsperren (auch bekannt als Byte-Bereichs-, Dateisegment- oder "
805 "Dateiregionsperren) zu erlangen, abzugeben oder auf deren Existenz zu "
806 "prüfen. Das dritte Argument, I<lock>, ist ein Zeiger auf eine Struktur, die "
807 "mindestens die folgende Felder (in einer nicht festgelegten Reihenfolge) "
808 "enthält:"
809
810 #. type: Plain text
811 #: debian-trixie fedora-44 fedora-rawhide
812 #, no-wrap
813 msgid ""
814 "struct flock {\n"
815 " ...\n"
816 " short l_type; /* Type of lock: F_RDLCK,\n"
817 " F_WRLCK, F_UNLCK */\n"
818 " short l_whence; /* How to interpret l_start:\n"
819 " SEEK_SET, SEEK_CUR, SEEK_END */\n"
820 " off_t l_start; /* Starting offset for lock */\n"
821 " off_t l_len; /* Number of bytes to lock */\n"
822 " pid_t l_pid; /* PID of process blocking our lock\n"
823 " (set by F_GETLK and F_OFD_GETLK) */\n"
824 " ...\n"
825 "};\n"
826 msgstr ""
827 "struct flock {\n"
828 " …\n"
829 " short l_type; /* Art der Sperre: F_RDLCK,\n"
830 " F_WRLCK, F_UNLCK */\n"
831 " short l_whence; /* Wie l_start interpretiert wird:\n"
832 " SEEK_SET, SEEK_CUR, SEEK_END */\n"
833 " off_t l_start; /* Anfangsversatz für Sperre */\n"
834 " off_t l_len; /* Anzahl von zu sperrenden Bytes */\n"
835 " pid_t l_pid; /* PID des Prozesses, der unsere Sperre blockiert\n"
836 " (gesetzt durch F_GETLK und F_OFD_GETLK) */\n"
837 " …\n"
838 "};\n"
839
840 #. type: Plain text
841 #: debian-trixie fedora-44 fedora-rawhide
842 msgid ""
843 "The I<l_whence>, I<l_start>, and I<l_len> fields of this structure specify "
844 "the range of bytes we wish to lock. Bytes past the end of the file may be "
845 "locked, but not bytes before the start of the file."
846 msgstr ""
847 "Die Felder I<l_whence>, I<l_start> und I<l_len> dieser Struktur legen den "
848 "Bereich der Bytes, die gesperrt werden sollen, fest. Bytes hinter dem Ende "
849 "der Datei können gesperrt sein, aber Bytes vor dem Anfang der Datei sind es "
850 "nicht."
851
852 #. type: Plain text
853 #: debian-trixie fedora-44 fedora-rawhide
854 msgid ""
855 "I<l_start> is the starting offset for the lock, and is interpreted relative "
856 "to either: the start of the file (if I<l_whence> is B<SEEK_SET>); the "
857 "current file offset (if I<l_whence> is B<SEEK_CUR>); or the end of the file "
858 "(if I<l_whence> is B<SEEK_END>). In the final two cases, I<l_start> can be "
859 "a negative number provided the offset does not lie before the start of the "
860 "file."
861 msgstr ""
862 "I<l_start> ist der Startversatz für die Sperre und wird relativ zu einem der "
863 "folgenden interpretiert: Dem Anfang der Datei (falls I<l_whence> B<SEEK_SET> "
864 "ist), dem aktuellen Dateiversatz (falls I<l_whence> B<SEEK_CUR> ist) oder "
865 "dem Ende der Datei (falls I<l_whence> B<SEEK_END> ist). In den "
866 "abschließenden zwei Fällen kann I<l_start> eine negative Zahl sein, "
867 "vorausgesetzt, der Versatz liegt nicht vor dem Anfang der Datei."
868
869 #. type: Plain text
870 #: debian-trixie fedora-44 fedora-rawhide
871 msgid ""
872 "I<l_len> specifies the number of bytes to be locked. If I<l_len> is "
873 "positive, then the range to be locked covers bytes I<l_start> up to and "
874 "including I<l_start>+I<l_len>-1. Specifying 0 for I<l_len> has the special "
875 "meaning: lock all bytes starting at the location specified by I<l_whence> "
876 "and I<l_start> through to the end of file, no matter how large the file "
877 "grows."
878 msgstr ""
879 "I<l_len> legt die Anzahl der zu sperrenden Bytes fest. Falls I<l_len> "
880 "positiv ist, wird der zu sperrende Bereich die Bytes I<l_start> bis "
881 "einschließlich I<l_start>+I<l_len>-1 umfassen. Die Angabe von 0 für I<l_len> "
882 "hat eine besondere Bedeutung: Alle Bytes beginnend bei I<l_whence> und "
883 "I<l_start> bis zum Ende der Datei sperren, unabhängig davon, wie groß die "
884 "Datei anwächst."
885
886 #. type: Plain text
887 #: debian-trixie fedora-44 fedora-rawhide
888 msgid ""
889 "POSIX.1-2001 allows (but does not require) an implementation to support a "
890 "negative I<l_len> value; if I<l_len> is negative, the interval described by "
891 "I<lock> covers bytes I<l_start>+I<l_len> up to and including I<l_start>-1. "
892 "This is supported since Linux 2.4.21 and Linux 2.5.49."
893 msgstr ""
894 "POSIX.1-2001 erlaubt (verlangt es aber nicht), dass eine Implementierung "
895 "einen negativen Wert für I<l_len> unterstützt. Falls I<l_len> negativ ist, "
896 "deckt das durch I<lock> beschriebene Intervall die Bytes I<l_start>+I<l_len> "
897 "bis zu einschließlich I<l_start>-1 ab. Dies wird durch Linux seit 2.4.21 und "
898 "2.5.49 unterstützt."
899
900 #. type: Plain text
901 #: debian-trixie fedora-44 fedora-rawhide
902 msgid ""
903 "The I<l_type> field can be used to place a read (B<F_RDLCK>) or a write "
904 "(B<F_WRLCK>) lock on a file. Any number of processes may hold a read lock "
905 "(shared lock) on a file region, but only one process may hold a write lock "
906 "(exclusive lock). An exclusive lock excludes all other locks, both shared "
907 "and exclusive. A single process can hold only one type of lock on a file "
908 "region; if a new lock is applied to an already-locked region, then the "
909 "existing lock is converted to the new lock type. (Such conversions may "
910 "involve splitting, shrinking, or coalescing with an existing lock if the "
911 "byte range specified by the new lock does not precisely coincide with the "
912 "range of the existing lock.)"
913 msgstr ""
914 "Das Feld I<l_type> kann dazu verwandt werden, eine Lese- (B<F_RDLCK>) oder "
915 "Schreibsperre (B<F_WRLCK>) auf eine Datei zu setzen. Eine beliebige Anzahl "
916 "an Prozessen kann eine Lesesperre auf eine Dateiregion halten (gemeinsame "
917 "Sperre), aber nur ein Prozess kann eine Schreibsperre (exklusive Sperre) "
918 "halten. Eine exklusive Sperre sperrt alle anderen Sperren aus, sowohl "
919 "exklusive als auch gemeinsame. Ein einzelner Prozess kann nur eine Art von "
920 "Sperre auf eine Dateiregion halten. Falls eine neue Sperre auf eine bereits "
921 "gesperrte Region angewandt wird, wird die existierende Sperre in den Typ der "
922 "neuen Sperre umgewandelt. (Solche Umwandlungen können das Teilen, "
923 "Verkleinern, Vereinigen mit bestehenden Sperren beinhalten, falls der durch "
924 "die neue Sperre festgelegte Byte-Bereiche nicht genau mit dem Bereich der "
925 "bereits existierenden Sperre zusammenfällt.)"
926
927 #. type: TP
928 #: debian-trixie fedora-44 fedora-rawhide
929 #, no-wrap
930 msgid "B<F_SETLK> (I<struct flock *>)"
931 msgstr "B<F_SETLK> (I<struct flock *>)"
932
933 #. type: Plain text
934 #: debian-trixie fedora-44 fedora-rawhide
935 msgid ""
936 "Acquire a lock (when I<l_type> is B<F_RDLCK> or B<F_WRLCK>) or release a "
937 "lock (when I<l_type> is B<F_UNLCK>) on the bytes specified by the "
938 "I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If a conflicting "
939 "lock is held by another process, this call returns -1 and sets I<errno> to "
940 "B<EACCES> or B<EAGAIN>. (The error returned in this case differs across "
941 "implementations, so POSIX requires a portable application to check for both "
942 "errors.)"
943 msgstr ""
944 "Erlangt (wenn I<l_type> B<F_RDLCK> oder B<F_WRLCK> ist) oder gibt eine "
945 "Sperre (wenn I<l_type> B<F_UNLCK> ist) für die durch die Felder I<l_whence>, "
946 "I<l_start> und I<l_len> von I<lock> festgelegten Bytes ab. Falls durch einen "
947 "anderen Prozess eine im Konflikt stehende Sperre gehalten wird, liefert "
948 "dieser Aufruf -1 zurück und setzt I<errno> auf B<EACCES> oder B<EAGAIN>. "
949 "(Der in diesem Fall zurückgelieferte Fehler unterscheidet sich zwischen "
950 "Implementierungen, daher verlangt POSIX, dass portable Anwendungen auf beide "
951 "Fehler prüfen.)"
952
953 #. type: TP
954 #: debian-trixie fedora-44 fedora-rawhide
955 #, no-wrap
956 msgid "B<F_SETLKW> (I<struct flock *>)"
957 msgstr "B<F_SETLKW> (I<struct flock *>)"
958
959 #. type: Plain text
960 #: debian-trixie fedora-44 fedora-rawhide
961 msgid ""
962 "As for B<F_SETLK>, but if a conflicting lock is held on the file, then wait "
963 "for that lock to be released. If a signal is caught while waiting, then the "
964 "call is interrupted and (after the signal handler has returned) returns "
965 "immediately (with return value -1 and I<errno> set to B<EINTR>; see "
966 "B<signal>(7))."
967 msgstr ""
968 "Wie für B<F_SETLK>, aber bei Konflikten um eine Sperre auf die Datei wird "
969 "auf die Freigabe der Sperre gewartet. Falls während des Wartens ein Signal "
970 "abgefangen wird, dann wird der Aufruf unterbrochen und (nachdem der "
971 "Signalbearbeiter zurückgekehrt ist) sofort zurückgekehrt (mit dem "
972 "Rückgabewert -1 und I<errno> auf B<EINTR> gesetzt; siehe B<signal>(7))."
973
974 #. type: TP
975 #: debian-trixie fedora-44 fedora-rawhide
976 #, no-wrap
977 msgid "B<F_GETLK> (I<struct flock *>)"
978 msgstr "B<F_GETLK> (I<struct flock *>)"
979
980 #. type: Plain text
981 #: debian-trixie fedora-44 fedora-rawhide
982 msgid ""
983 "On input to this call, I<lock> describes a lock we would like to place on "
984 "the file. If the lock could be placed, B<fcntl>() does not actually place "
985 "it, but returns B<F_UNLCK> in the I<l_type> field of I<lock> and leaves the "
986 "other fields of the structure unchanged."
987 msgstr ""
988 "Als Eingabe zu diesem Aufruf beschreibt I<lock> eine Sperre, die auf diese "
989 "Datei angewandt werden soll. Falls die Sperre angewandt werden könnte, setzt "
990 "B<fcntl>() diese nicht wirklich, sondern liefert B<F_UNLCK> in dem Feld "
991 "I<l_type> von I<lock> und lässt die anderen Felder dieser Struktur "
992 "unverändert."
993
994 #. type: Plain text
995 #: debian-trixie fedora-44 fedora-rawhide
996 msgid ""
997 "If one or more incompatible locks would prevent this lock being placed, then "
998 "B<fcntl>() returns details about one of those locks in the I<l_type>, "
999 "I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If the conflicting "
1000 "lock is a traditional (process-associated) record lock, then the I<l_pid> "
1001 "field is set to the PID of the process holding that lock. If the "
1002 "conflicting lock is an open file description lock, then I<l_pid> is set to "
1003 "-1. Note that the returned information may already be out of date by the "
1004 "time the caller inspects it."
1005 msgstr ""
1006 "Falls eine oder mehrere inkompatible Sperren das Setzen dieser Sperre "
1007 "verhinderten, dann liefert B<fcntl>() Details über eine dieser Sperren in "
1008 "den Feldern I<l_type>, I<l_whence>, I<l_start> und I<l_len> von I<lock> "
1009 "zurück. Falls die im Konflikt stehende Sperre eine traditionelle (Prozess-"
1010 "orientierte) Datensatzsperre ist, dann wird das Feld I<l_pid> auf die PID "
1011 "des Prozesses gesetzt, der die Sperre hält. Falls die in Konflikt stehende "
1012 "Sperre eine offene Dateideskriptionssperre ist, dann wird I<l_pid> auf -1 "
1013 "gesetzt. Beachten Sie, dass die zurückgelieferte Information zum Zeitpunkt "
1014 "der Analyse durch den Aufrufenden bereits veraltet sein kann."
1015
1016 #. type: Plain text
1017 #: debian-trixie fedora-44 fedora-rawhide
1018 msgid ""
1019 "In order to place a read lock, I<fd> must be open for reading. In order to "
1020 "place a write lock, I<fd> must be open for writing. To place both types of "
1021 "lock, open a file read-write."
1022 msgstr ""
1023 "Um eine Lesesperre zu setzen, muss I<dd> zum Lesen offen sein. Um eine "
1024 "Schreibsperre zu setzen, muss I<dd> zum Schreiben offen sein. Um beide Typen "
1025 "setzen zu können, öffnen Sie eine Datei lese- und schreibbar."
1026
1027 #. type: Plain text
1028 #: debian-trixie fedora-44 fedora-rawhide
1029 msgid ""
1030 "When placing locks with B<F_SETLKW>, the kernel detects I<deadlocks>, "
1031 "whereby two or more processes have their lock requests mutually blocked by "
1032 "locks held by the other processes. For example, suppose process A holds a "
1033 "write lock on byte 100 of a file, and process B holds a write lock on byte "
1034 "200. If each process then attempts to lock the byte already locked by the "
1035 "other process using B<F_SETLKW>, then, without deadlock detection, both "
1036 "processes would remain blocked indefinitely. When the kernel detects such "
1037 "deadlocks, it causes one of the blocking lock requests to immediately fail "
1038 "with the error B<EDEADLK>; an application that encounters such an error "
1039 "should release some of its locks to allow other applications to proceed "
1040 "before attempting regain the locks that it requires. Circular deadlocks "
1041 "involving more than two processes are also detected. Note, however, that "
1042 "there are limitations to the kernel's deadlock-detection algorithm; see BUGS."
1043 msgstr ""
1044 "Wenn Sperren mit B<F_SETLKW> gesetzt werden, erkennt der Kernel "
1045 "I<Verklemmungen>, bei denen zwei oder mehr Prozesse ihre Sperr-Anfragen "
1046 "gegenseitig durch Sperren, die von anderen Prozessen gehalten werden, "
1047 "blockieren. Nehmen Sie beispielsweise an, Prozess A hält eine Schreibsperre "
1048 "auf Byte 100 einer Datei und Prozess B hält eine Schreibsperre auf Byte 200. "
1049 "Falls jeder Prozess dann versucht, mit B<F_SETLKW> die vom anderen Prozess "
1050 "bereits gesperrten Bytes zu sperren, würden ohne Erkennung von Verklemmungen "
1051 "beide Prozesse unbegrenzt blockiert bleiben. Wenn der Kernel solche "
1052 "Verklemmungen erkennt, sorgt er dafür, dass eine der blockierenden "
1053 "Sperranfragen sofort mit dem Fehler B<EDEADLK> fehlschlägt. Eine Anwendung, "
1054 "die auf einen solchen Fehler trifft, sollte einige ihrer Sperren freigeben, "
1055 "um anderen Anwendungen das Fortfahren zu erlauben, bevor sie erneut "
1056 "versucht, die von ihr benötigten Sperren zu erlangen. Zirkuläre "
1057 "Verklemmungen mit mehr als zwei Prozessen werden auch erkannt. Beachten Sie "
1058 "aber, dass es eine Begrenzung der Erkennung von Verklemmungen im Kernel "
1059 "gibt; siehe FEHLER."
1060
1061 #. type: Plain text
1062 #: debian-trixie fedora-44 fedora-rawhide
1063 msgid ""
1064 "As well as being removed by an explicit B<F_UNLCK>, record locks are "
1065 "automatically released when the process terminates."
1066 msgstr ""
1067 "Datensatzsperren werden durch ein explizites B<F_UNLCK> entfernt und auch "
1068 "freigegeben, wenn der Prozess sich beendet."
1069
1070 #. type: Plain text
1071 #: debian-trixie fedora-44 fedora-rawhide
1072 msgid ""
1073 "Record locks are not inherited by a child created via B<fork>(2), but are "
1074 "preserved across an B<execve>(2)."
1075 msgstr ""
1076 "Datensatzsperren werden nicht von einem durch B<fork>(2) erstellten Kind "
1077 "geerbt, aber über ein B<execve>(2) hinweg erhalten."
1078
1079 #. type: Plain text
1080 #: debian-trixie fedora-44 fedora-rawhide
1081 msgid ""
1082 "Because of the buffering performed by the B<stdio>(3) library, the use of "
1083 "record locking with routines in that package should be avoided; use "
1084 "B<read>(2) and B<write>(2) instead."
1085 msgstr ""
1086 "Aufgrund des durch die B<stdio>(3)-Bibliothek durchgeführten Pufferns sollte "
1087 "die Verwendung von Datensatzsperren mit Routinen aus diesem Paket vermieden "
1088 "werden; verwenden Sie stattdessen B<read>(2) und B<write>(2)."
1089
1090 #. type: Plain text
1091 #: debian-trixie fedora-44 fedora-rawhide
1092 msgid ""
1093 "The record locks described above are associated with the process (unlike the "
1094 "open file description locks described below). This has some unfortunate "
1095 "consequences:"
1096 msgstr ""
1097 "Die weiter oben beschriebenen Datensatzsperren werden dem Prozess zugeordnet "
1098 "(anders als die weiter unten beschriebenen Dateideskriptionssperren). Dies "
1099 "hat einige unglückliche Konsequenzen:"
1100
1101 #. type: IP
1102 #: debian-trixie fedora-44 fedora-rawhide
1103 #, no-wrap
1104 msgid "\\[bu]"
1105 msgstr "\\[bu]"
1106
1107 #. (Additional file descriptors referring to the same file
1108 #. may have been obtained by calls to
1109 #. .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().)
1110 #. type: Plain text
1111 #: debian-trixie fedora-44 fedora-rawhide
1112 msgid ""
1113 "If a process closes I<any> file descriptor referring to a file, then all of "
1114 "the process's locks on that file are released, regardless of the file "
1115 "descriptor(s) on which the locks were obtained. This is bad: it means that "
1116 "a process can lose its locks on a file such as I</etc/passwd> or I</etc/"
1117 "mtab> when for some reason a library function decides to open, read, and "
1118 "close the same file."
1119 msgstr ""
1120 "Falls ein Prozess I<irgendeinen> Dateideskriptor mit Bezug zu einer Datei "
1121 "schließt, dann werden alle Sperren des Prozesses für diese Datei aufgehoben, "
1122 "unabhängig von den Dateideskriptor(en), mit denen diese Sperren erworben "
1123 "wurden. Das ist schlecht: Es bedeutet, dass ein Prozess seine Sperren auf "
1124 "eine Datei wie I</etc/passwd> oder I</etc/mtab> verlieren kann, wenn aus "
1125 "irgendeinem Grund eine Bibliotheksfunktion sich entscheidet, die gleiche "
1126 "Datei zu öffnen, zu lesen und zu schließen."
1127
1128 #. type: Plain text
1129 #: debian-trixie fedora-44 fedora-rawhide
1130 msgid ""
1131 "The threads in a process share locks. In other words, a multithreaded "
1132 "program can't use record locking to ensure that threads don't simultaneously "
1133 "access the same region of a file."
1134 msgstr ""
1135 "Die Threads in einem Prozess nutzen die Sperren gemeinsam. Mit anderen "
1136 "Worten, ein Programm mit mehreren Threads kann Datensatzsperren nicht "
1137 "benutzen, um sicherzustellen, dass die Threads nicht simultan auf die "
1138 "gleichen Regionen einer Datei zugreifen."
1139
1140 #. type: Plain text
1141 #: debian-trixie fedora-44 fedora-rawhide
1142 msgid "Open file description locks solve both of these problems."
1143 msgstr "Offene Dateideskriptionssperren lösen beide Probleme."
1144
1145 #. FIXME . Review progress into POSIX
1146 #. http://austingroupbugs.net/view.php?id=768
1147 #. type: Plain text
1148 #: debian-trixie fedora-44 fedora-rawhide
1149 msgid ""
1150 "Open file description locks are advisory byte-range locks whose operation is "
1151 "in most respects identical to the traditional record locks described above. "
1152 "This lock type is Linux-specific, and available since Linux 3.15. (There is "
1153 "a proposal with the Austin Group to include this lock type in the next "
1154 "revision of POSIX.1.) For an explanation of open file descriptions, see "
1155 "B<open>(2)."
1156 msgstr ""
1157 "Offene Dateideskriptionsperren sind empfohlene Byte-Bereichssperren, deren "
1158 "Funktionsweise in den meisten Aspekten den herkömmlichen, oben beschriebenen "
1159 "Datensatzsperren entspricht. Dieser Sperrtyp ist Linux-spezifisch und seit "
1160 "Linux 3.15 verfügbar. (Es gibt einen Vorschlag der Austin-Gruppe, diesen "
1161 "Sperrtyp in die nächste Überarbeitung von POSIX.1 aufzunehmen.) Eine "
1162 "Erklärung offener Dateideskriptionen finden Sie in B<open>(2)."
1163
1164 #. type: Plain text
1165 #: debian-trixie fedora-44 fedora-rawhide
1166 msgid ""
1167 "The principal difference between the two lock types is that whereas "
1168 "traditional record locks are associated with a process, open file "
1169 "description locks are associated with the open file description on which "
1170 "they are acquired, much like locks acquired with B<flock>(2). Consequently "
1171 "(and unlike traditional advisory record locks), open file description locks "
1172 "are inherited across B<fork>(2) (and B<clone>(2) with B<CLONE_FILES>), and "
1173 "are only automatically released on the last close of the open file "
1174 "description, instead of being released on any close of the file."
1175 msgstr ""
1176 "Der Hauptunterschied zwischen den beiden Sperrtypen besteht darin, dass die "
1177 "herkömmlichen Datensatzsperren mit einem Prozess verbunden sind, während "
1178 "Sperren offener Dateideskriptionen mit der offenen Dateideskription "
1179 "verbunden sind, für die sie erlangt wurden, ähnlich wie Sperren, die mit "
1180 "B<flock>(2) erlangt wurden. Konsequenterweise (und anders als herkömmliche "
1181 "empfohlene Datensatzsperren) werden Sperren offener Dateideskriptionen über "
1182 "B<fork>(2) (und B<clone>(2) mit B<CLONE_FILES>) geerbt und werden nur "
1183 "automatisch durch das Schließen der letzten offenen Dateideskription "
1184 "freigegeben, statt bei jedem Schließen der Datei."
1185
1186 #. type: Plain text
1187 #: debian-trixie fedora-44 fedora-rawhide
1188 msgid ""
1189 "Conflicting lock combinations (i.e., a read lock and a write lock or two "
1190 "write locks) where one lock is an open file description lock and the other "
1191 "is a traditional record lock conflict even when they are acquired by the "
1192 "same process on the same file descriptor."
1193 msgstr ""
1194 "Im Konflikt stehende Kombinationen von Sperren (d.h. eine Lese-Sperre und "
1195 "eine Schreib-Sperre oder zwei Schreib-Sperren), wobei eine Sperre eine "
1196 "offene Dateideskriptionssperre und die andere eine traditionelle "
1197 "Datensatzsperre ist, sind selbst dann im Konflikt, wenn sie vom gleichen "
1198 "Prozess auf dem gleichen Dateideskriptor aufgenommen wurden."
1199
1200 #. type: Plain text
1201 #: debian-trixie fedora-44 fedora-rawhide
1202 msgid ""
1203 "Open file description locks placed via the same open file description (i.e., "
1204 "via the same file descriptor, or via a duplicate of the file descriptor "
1205 "created by B<fork>(2), B<dup>(2), B<fcntl>() B<F_DUPFD>, and so on) are "
1206 "always compatible: if a new lock is placed on an already locked region, then "
1207 "the existing lock is converted to the new lock type. (Such conversions may "
1208 "result in splitting, shrinking, or coalescing with an existing lock as "
1209 "discussed above.)"
1210 msgstr ""
1211 "Offene Dateideskriptionssperren, die über die gleichen offenen "
1212 "Dateideskriptionen (d.h. über den gleichen Dateideskriptor oder über durch "
1213 "B<fork>(2), B<dup>(2), B<fcntl>() B<F_DUPFD> und so weiter erstellte "
1214 "Duplikate des Dateideskriptors) gesetzt werden, sind immer kompatibel: Falls "
1215 "auf einen bereits gesperrten Bereich eine neue Sperre gesetzt wird, wird die "
1216 "existierende Sperre in den neuen Sperrtyp umgewandelt. (Solche Umwandlungen "
1217 "können wie oben beschrieben zum Teilen, Verkleinern oder Verschmelzen mit "
1218 "einer existierenden Sperre führen.)"
1219
1220 #. type: Plain text
1221 #: debian-trixie fedora-44 fedora-rawhide
1222 msgid ""
1223 "On the other hand, open file description locks may conflict with each other "
1224 "when they are acquired via different open file descriptions. Thus, the "
1225 "threads in a multithreaded program can use open file description locks to "
1226 "synchronize access to a file region by having each thread perform its own "
1227 "B<open>(2) on the file and applying locks via the resulting file descriptor."
1228 msgstr ""
1229 "Auf der anderen Seite können offene Dateideskriptionssperren zueinander im "
1230 "Konflikt stehen, wenn sie über verschiedene offene Dateideskriptionen "
1231 "erlangt wurden. Daher können die Threads in einem Programm mit mehreren "
1232 "Threads offene Dateideskriptionssperren dazu verwenden, um den Zugriff auf "
1233 "Dateiregionen zu koordinieren, indem jeder Thread sein eigenes B<open>(2) "
1234 "auf der Datei durchführt und die Sperren über den entstehenden "
1235 "Dateideskriptor anwendet."
1236
1237 #. type: Plain text
1238 #: debian-trixie fedora-44 fedora-rawhide
1239 msgid ""
1240 "As with traditional advisory locks, the third argument to B<fcntl>(), "
1241 "I<lock>, is a pointer to an I<flock> structure. By contrast with "
1242 "traditional record locks, the I<l_pid> field of that structure must be set "
1243 "to zero when using the operations described below."
1244 msgstr ""
1245 "Wie bei herkömmlichen empfohlenen Sperren ist das dritte Argument für "
1246 "B<fcntl>(), I<lock>, ein Zeiger auf eine I<flock>-Struktur. Im Gegensatz zu "
1247 "herkömmlichen Datensatzsperren muss das Feld I<l_pid> dieser Struktur bei "
1248 "Verwendung der unterhalb beschriebener Aktionen auf Null gesetzt werden."
1249
1250 #. type: Plain text
1251 #: debian-trixie fedora-44 fedora-rawhide
1252 msgid ""
1253 "The operations for working with open file description locks are analogous to "
1254 "those used with traditional locks:"
1255 msgstr ""
1256 "Die Aktionen für den Umgang mit offenen Dateideskriptionssperren sind analog "
1257 "zu denen, die mit traditionellen Sperren verwandt werden:"
1258
1259 #. type: TP
1260 #: debian-trixie fedora-44 fedora-rawhide
1261 #, no-wrap
1262 msgid "B<F_OFD_SETLK> (I<struct flock *>)"
1263 msgstr "B<F_OFD_SETLK> (I<struct flock *>)"
1264
1265 #. type: Plain text
1266 #: debian-trixie fedora-44 fedora-rawhide
1267 msgid ""
1268 "Acquire an open file description lock (when I<l_type> is B<F_RDLCK> or "
1269 "B<F_WRLCK>) or release an open file description lock (when I<l_type> is "
1270 "B<F_UNLCK>) on the bytes specified by the I<l_whence>, I<l_start>, and "
1271 "I<l_len> fields of I<lock>. If a conflicting lock is held by another "
1272 "process, this call returns -1 and sets I<errno> to B<EAGAIN>."
1273 msgstr ""
1274 "Erlangt eine offene Dateideskriptionssperre (wenn I<l_type> B<F_RDLCK> oder "
1275 "B<F_WRLCK> ist) oder gibt eine offene Dateideskriptionssperre frei (wenn "
1276 "I<l_type> B<F_UNLCK> ist), für die Bytes, die durch die Felder I<l_whence>, "
1277 "I<l_start> und I<l_len> festgelegt sind. Falls durch einen anderen Prozess "
1278 "eine im Konflikt stehende Sperre gehalten wird, liefert der Aufruf -1 zurück "
1279 "und setzt I<errno> auf B<EAGAIN>."
1280
1281 #. type: TP
1282 #: debian-trixie fedora-44 fedora-rawhide
1283 #, no-wrap
1284 msgid "B<F_OFD_SETLKW> (I<struct flock *>)"
1285 msgstr "B<F_OFD_SETLKW> (I<struct flock *>)"
1286
1287 #. type: Plain text
1288 #: debian-trixie fedora-44 fedora-rawhide
1289 msgid ""
1290 "As for B<F_OFD_SETLK>, but if a conflicting lock is held on the file, then "
1291 "wait for that lock to be released. If a signal is caught while waiting, "
1292 "then the call is interrupted and (after the signal handler has returned) "
1293 "returns immediately (with return value -1 and I<errno> set to B<EINTR>; see "
1294 "B<signal>(7))."
1295 msgstr ""
1296 "Wie bei B<F_OFD_SETLK>, aber falls eine im Konflikt stehende Sperre auf der "
1297 "Datei gehalten wird, dann wird auf die Freigabe dieser Sperre gewartet. "
1298 "Falls beim Warten ein Signal gefangen wird, dann wird der Aufruf "
1299 "unterbrochen und (nachdem der Signal-Handler zurückgekehrt ist) sofort "
1300 "zurückgekehrt (mit einem Rückgabewert -1 und I<errno> auf B<EINTR> gesetzt, "
1301 "siehe B<signal>(7))."
1302
1303 #. type: TP
1304 #: debian-trixie fedora-44 fedora-rawhide
1305 #, no-wrap
1306 msgid "B<F_OFD_GETLK> (I<struct flock *>)"
1307 msgstr "B<F_OFD_GETLK> (I<struct flock *>)"
1308
1309 #. type: Plain text
1310 #: debian-trixie fedora-44 fedora-rawhide
1311 msgid ""
1312 "On input to this call, I<lock> describes an open file description lock we "
1313 "would like to place on the file. If the lock could be placed, B<fcntl>() "
1314 "does not actually place it, but returns B<F_UNLCK> in the I<l_type> field of "
1315 "I<lock> and leaves the other fields of the structure unchanged. If one or "
1316 "more incompatible locks would prevent this lock being placed, then details "
1317 "about one of these locks are returned via I<lock>, as described above for "
1318 "B<F_GETLK>."
1319 msgstr ""
1320 "Bei der Eingabe zu diesem Aufruf beschreibt I<lock> eine offene "
1321 "Dateideskriptionssperre, die auf der Datei gesetzt werden soll. Falls die "
1322 "Sperre gesetzt werden könnte, setzt sie B<fcntl>() nicht wirklich, sondern "
1323 "liefert im Feld I<l_type> von I<lock> B<F_UNLCK> zurück und lässt die "
1324 "anderen Felder der Struktur unverändert. Falls eine oder mehrere "
1325 "inkompatible Sperren das Setzen dieser Sperre behinderten, werden die "
1326 "Details über eine dieser Sperren mittels I<lock>, wie oben für B<F_GETLK> "
1327 "beschrieben, zurückgeliefert."
1328
1329 #. commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7
1330 #. type: Plain text
1331 #: debian-trixie fedora-44 fedora-rawhide
1332 msgid ""
1333 "In the current implementation, no deadlock detection is performed for open "
1334 "file description locks. (This contrasts with process-associated record "
1335 "locks, for which the kernel does perform deadlock detection.)"
1336 msgstr ""
1337 "In der aktuellen Implementierung wird nicht auf Verklemmungen für offene "
1338 "Dateideskriptionssperren geprüft. (Dies steht im Gegensatz zu den "
1339 "prozessorientierten Datensatzsperren, bei denen der Kernel eine Erkennung "
1340 "von Verklemmungen durchführt.)"
1341
1342 #. type: SS
1343 #: debian-trixie fedora-44 fedora-rawhide
1344 #, no-wrap
1345 msgid "Mandatory locking"
1346 msgstr "Pflichtsperren"
1347
1348 #. type: Plain text
1349 #: debian-trixie fedora-44 fedora-rawhide
1350 msgid ""
1351 "I<Warning>: the Linux implementation of mandatory locking is unreliable. "
1352 "See BUGS below. Because of these bugs, and the fact that the feature is "
1353 "believed to be little used, since Linux 4.5, mandatory locking has been made "
1354 "an optional feature, governed by a configuration option "
1355 "(B<CONFIG_MANDATORY_FILE_LOCKING>). This feature is no longer supported at "
1356 "all in Linux 5.15 and above."
1357 msgstr ""
1358 "I<Warnung>: Die Linux-Implementierung der Pflichtsperren ist unzuverlässig. "
1359 "Siehe FEHLER unten. Aufgrund dieser Fehler und der Tatsache, dass davon "
1360 "ausgegangen wird, dass diese Funktionalität wenig genutzt wird, sind die "
1361 "Pflichtsperren seit Linux 4.5 eine optionale Funktionalität, die durch eine "
1362 "Konfigurationsoption (B<CONFIG_MANDATORY_FILE_LOCKING>) gesteuert werden. In "
1363 "Linux 5.15 und neuer wird diese Funktionalität nicht mehr unterstützt."
1364
1365 #. type: Plain text
1366 #: debian-trixie fedora-44 fedora-rawhide
1367 msgid ""
1368 "By default, both traditional (process-associated) and open file description "
1369 "record locks are advisory. Advisory locks are not enforced and are useful "
1370 "only between cooperating processes."
1371 msgstr ""
1372 "Standardmäßig sind herkömmliche (prozessorientierte) und Sperren offener "
1373 "Dateideskriptionsdatensätze empfohlene Sperren. Empfohlene Sperren werden "
1374 "nicht erzwungen und sind nur bei der Zusammenarbeit von Prozessen nützlich."
1375
1376 #. type: Plain text
1377 #: debian-trixie fedora-44 fedora-rawhide
1378 msgid ""
1379 "Both lock types can also be mandatory. Mandatory locks are enforced for all "
1380 "processes. If a process tries to perform an incompatible access (e.g., "
1381 "B<read>(2) or B<write>(2)) on a file region that has an incompatible "
1382 "mandatory lock, then the result depends upon whether the B<O_NONBLOCK> flag "
1383 "is enabled for its open file description. If the B<O_NONBLOCK> flag is not "
1384 "enabled, then the system call is blocked until the lock is removed or "
1385 "converted to a mode that is compatible with the access. If the "
1386 "B<O_NONBLOCK> flag is enabled, then the system call fails with the error "
1387 "B<EAGAIN>."
1388 msgstr ""
1389 "Beide Sperrtypen können auch verpflichtend sein. Verpflichtende Sperren "
1390 "werden für alle Prozesse durchgesetzt. Falls ein Prozess einen inkompatiblen "
1391 "Zugriff auf einen Dateibereich versucht (z.B. B<read>(2) oder B<write>(2)), "
1392 "der eine inkompatible verpflichtende Sperre hat, dann hängt das Ergebnis "
1393 "davon ab, ob der Schalter B<O_NONBLOCK> für seine offene Dateideskription "
1394 "aktiviert ist. Falls der Schalter B<O_NONBLOCK> nicht aktiviert ist, wird "
1395 "der Systemaufruf blockiert, bis die Sperre entfernt oder in einen Modus "
1396 "umgewandelt wurde, der mit dem Zugriff kompatibel ist. Falls der Schalter "
1397 "B<O_NONBLOCK> aktiviert ist, wird der Systemaufruf mit dem Fehler B<EAGAIN> "
1398 "fehlschlagen."
1399
1400 #. type: Plain text
1401 #: debian-trixie fedora-44 fedora-rawhide
1402 msgid ""
1403 "To make use of mandatory locks, mandatory locking must be enabled both on "
1404 "the filesystem that contains the file to be locked, and on the file itself. "
1405 "Mandatory locking is enabled on a filesystem using the \"-o mand\" option to "
1406 "B<mount>(8), or the B<MS_MANDLOCK> flag for B<mount>(2). Mandatory locking "
1407 "is enabled on a file by disabling group execute permission on the file and "
1408 "enabling the set-group-ID permission bit (see B<chmod>(1) and B<chmod>(2))."
1409 msgstr ""
1410 "Um verpflichtende Sperren zu verwenden, müssen verpflichtende Sperren sowohl "
1411 "auf dem Dateisystem, das die zu sperrende Datei enthält, aktiviert werden "
1412 "als auch auf der Datei selbst. Verpflichtende Sperren werden auf "
1413 "Dateisystemen mit der Option »-o mand« von B<mount>(8) oder dem Schalter "
1414 "B<MS_MANDLOCK> für B<mount>(2) aktiviert. Verpflichtende Sperren werden für "
1415 "eine Datei aktiviert, indem das Ausführrecht für die Datei entfernt und das "
1416 "»set-group-ID«-Rechte-Bit aktiviert wird (siehe B<chmod>(1) und B<chmod>(2))."
1417
1418 #. type: Plain text
1419 #: debian-trixie fedora-44 fedora-rawhide
1420 msgid ""
1421 "Mandatory locking is not specified by POSIX. Some other systems also "
1422 "support mandatory locking, although the details of how to enable it vary "
1423 "across systems."
1424 msgstr ""
1425 "Verpflichtende Sperren werden nicht durch POSIX spezifiziert. Einige andere "
1426 "Systeme unterstützen auch verpflichtende Sperren, allerdings unterscheiden "
1427 "sich die Details zur Aktivierung zwischen den Systemen."
1428
1429 #. type: SS
1430 #: debian-trixie fedora-44 fedora-rawhide
1431 #, no-wrap
1432 msgid "Lost locks"
1433 msgstr "Verlorene Sperren"
1434
1435 #. type: Plain text
1436 #: debian-trixie fedora-44 fedora-rawhide
1437 msgid ""
1438 "When an advisory lock is obtained on a networked filesystem such as NFS it "
1439 "is possible that the lock might get lost. This may happen due to "
1440 "administrative action on the server, or due to a network partition (i.e., "
1441 "loss of network connectivity with the server) which lasts long enough for "
1442 "the server to assume that the client is no longer functioning."
1443 msgstr ""
1444 "Wenn eine empfohlene Sperre auf einem Netzwerkdateisystem wie NFS erlangt "
1445 "wird, ist es möglich, dass die Sperre verloren geht. Die kann aufgrund "
1446 "administrativer Aktionen auf dem Server oder aufgrund einer "
1447 "Netzwerkeinteilung (d.h. einem Verlust der Netzverbindung mit dem Server) "
1448 "passieren, die so lange dauert, dass der Server annimmt, dass der Client "
1449 "nicht mehr funktioniert."
1450
1451 #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d
1452 #. type: Plain text
1453 #: debian-trixie fedora-44 fedora-rawhide
1454 msgid ""
1455 "When the filesystem determines that a lock has been lost, future B<read>(2) "
1456 "or B<write>(2) requests may fail with the error B<EIO>. This error will "
1457 "persist until the lock is removed or the file descriptor is closed. Since "
1458 "Linux 3.12, this happens at least for NFSv4 (including all minor versions)."
1459 msgstr ""
1460 "Wenn das Dateisystem ermittelt, dass eine Sperre verloren gegangen ist, "
1461 "können zukünftige B<read>(2)- oder B<write>(2)-Anfragen mit dem Fehler "
1462 "B<EIO> fehlschlagen. Dieser Fehler wird beibehalten, bis die Sperre entfernt "
1463 "oder der Dateideskriptor geschlossen wird. Seit Linux 3.12 passiert dies "
1464 "zumindest auf NFSv4 (einschließlich aller Unterversionen)."
1465
1466 #. type: Plain text
1467 #: debian-trixie fedora-44 fedora-rawhide
1468 msgid ""
1469 "Some versions of UNIX send a signal (B<SIGLOST>) in this circumstance. "
1470 "Linux does not define this signal, and does not provide any asynchronous "
1471 "notification of lost locks."
1472 msgstr ""
1473 "Einige UNIX-Versionen senden in diesen Fällen ein Signal (B<SIGLOST>). Linux "
1474 "definiert dieses Signal nicht und stellt keine asynchrone Benachrichtigung "
1475 "über verlorene Sperren bereit."
1476
1477 #. type: Plain text
1478 #: debian-trixie fedora-44 fedora-rawhide
1479 msgid ""
1480 "B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and "
1481 "B<F_SETSIG> are used to manage I/O availability signals:"
1482 msgstr ""
1483 "B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG> und "
1484 "B<F_SETSIG> werden zur Verwaltung der E/A-Verfügbarkeitssignale verwandt:"
1485
1486 #. type: TP
1487 #: debian-trixie fedora-44 fedora-rawhide
1488 #, no-wrap
1489 msgid "B<F_GETOWN> (I<void>)"
1490 msgstr "B<F_GETOWN> (I<void>)"
1491
1492 #. type: Plain text
1493 #: debian-trixie fedora-44 fedora-rawhide
1494 msgid ""
1495 "Return (as the function result) the process ID or process group ID "
1496 "currently receiving B<SIGIO> and B<SIGURG> signals for events on file "
1497 "descriptor I<fd>. Process IDs are returned as positive values; process "
1498 "group IDs are returned as negative values (but see BUGS below). I<arg> is "
1499 "ignored."
1500 msgstr ""
1501 "Liefert (als Funktionsergebnis) die Prozess- oder Prozessgruppenkennung "
1502 "zurück, die derzeit B<SIGIO>- und B<SIGURG>-Signale für Ereignisse auf "
1503 "Dateideskriptor I<dd> erhält. Prozesskennungen werden als positive Werte, "
1504 "Prozessgruppenkennungen als negative Werte zurückgeliefert (siehe aber auch "
1505 "FEHLER unten). I<arg> wird ignoriert."
1506
1507 #. type: TP
1508 #: debian-trixie fedora-44 fedora-rawhide
1509 #, no-wrap
1510 msgid "B<F_SETOWN> (I<int>)"
1511 msgstr "B<F_SETOWN> (I<int>)"
1512
1513 #. type: Plain text
1514 #: debian-trixie fedora-44 fedora-rawhide
1515 msgid ""
1516 "Set the process ID or process group ID that will receive B<SIGIO> and "
1517 "B<SIGURG> signals for events on the file descriptor I<fd>. The target "
1518 "process or process group ID is specified in I<arg>. A process ID is "
1519 "specified as a positive value; a process group ID is specified as a negative "
1520 "value. Most commonly, the calling process specifies itself as the owner "
1521 "(that is, I<arg> is specified as B<getpid>(2))."
1522 msgstr ""
1523 "Setzt die Prozesskennung oder Prozessgruppenkennung, die B<SIGIO>- und "
1524 "B<SIGURG>-Signale für Ereignisse auf dem Dateideskriptor I<dd> erhalten "
1525 "wird. Der Zielprozess oder die Zielprozessgruppe wird in I<arg> angegeben. "
1526 "Eine Prozesskennung wird als positiver, eine Prozessgruppenkennung wird als "
1527 "negativer Wert angegeben. Häufig legt sich der aufrufende Prozess als der "
1528 "Eigentümer fest (d.h. I<arg> wird als B<getpid>(2) angegeben)."
1529
1530 #. type: Plain text
1531 #: debian-trixie fedora-44 fedora-rawhide
1532 msgid ""
1533 "As well as setting the file descriptor owner, one must also enable "
1534 "generation of signals on the file descriptor. This is done by using the "
1535 "B<fcntl>() B<F_SETFL> operation to set the B<O_ASYNC> file status flag on "
1536 "the file descriptor. Subsequently, a B<SIGIO> signal is sent whenever input "
1537 "or output becomes possible on the file descriptor. The B<fcntl>() "
1538 "B<F_SETSIG> operation can be used to obtain delivery of a signal other than "
1539 "B<SIGIO>."
1540 msgstr ""
1541 "Neben dem Setzen des Dateideskriptoreigentümers muss auch die Erzeugung von "
1542 "Signalen auf dem Dateideskriptor aktiviert werden. Dies erfolgt durch die "
1543 "Aktion B<fcntl>() B<F_SETFL>, um den Dateistatusschalter B<SIGIO> zu setzen, "
1544 "immer wenn Ein- oder Ausgabe auf dem Dateideskriptor möglich wird. Die "
1545 "Aktion B<fcntl>() B<F_SETSIG> kann zum Erhalt des Empfangs von Signalen "
1546 "neben B<SIGIO> verwandt werden."
1547
1548 #. type: Plain text
1549 #: debian-trixie fedora-44 fedora-rawhide
1550 msgid ""
1551 "Sending a signal to the owner process (group) specified by B<F_SETOWN> is "
1552 "subject to the same permissions checks as are described for B<kill>(2), "
1553 "where the sending process is the one that employs B<F_SETOWN> (but see BUGS "
1554 "below). If this permission check fails, then the signal is silently "
1555 "discarded. I<Note>: The B<F_SETOWN> operation records the caller's "
1556 "credentials at the time of the B<fcntl>() call, and it is these saved "
1557 "credentials that are used for the permission checks."
1558 msgstr ""
1559 "Senden von Signalen an den durch B<F_SETOWN> festgelegten Prozesseigner "
1560 "(Gruppe) unterliegt den gleichen Rechteprüfungen wie sie in B<kill>(2) "
1561 "beschrieben sind, wobei der sendende Prozess derjenige ist, der B<F_SETOWN> "
1562 "einsetzt (siehe aber FEHLER unten). Falls diese Rechteprüfung fehlschlägt, "
1563 "wird das Signal ohne Rückmeldung verworfen. I<Hinweis>: Die Aktion "
1564 "B<F_SETOWN> notiert die Berechtigungen des Aufrufenden zum Zeitpunkt des "
1565 "Aufrufs von B<fcntl>() und es sind diese gespeicherten Berechtigungen, die "
1566 "für die Rechteüberprüfung verwandt werden."
1567
1568 #
1569 #. The following appears to be rubbish. It doesn't seem to
1570 #. be true according to the kernel source, and I can write
1571 #. a program that gets a terminal-generated SIGIO even though
1572 #. it is not the foreground process group of the terminal.
1573 #. -- MTK, 8 Apr 05
1574 #. If the file descriptor
1575 #. .I fd
1576 #. refers to a terminal device, then SIGIO
1577 #. signals are sent to the foreground process group of the terminal.
1578 #. type: Plain text
1579 #: debian-trixie fedora-44 fedora-rawhide
1580 msgid ""
1581 "If the file descriptor I<fd> refers to a socket, B<F_SETOWN> also selects "
1582 "the recipient of B<SIGURG> signals that are delivered when out-of-band data "
1583 "arrives on that socket. (B<SIGURG> is sent in any situation where "
1584 "B<select>(2) would report the socket as having an \"exceptional "
1585 "condition\".)"
1586 msgstr ""
1587 "Falls der Dateideskriptor I<dd> sich auf ein Socket bezieht, wählt "
1588 "B<F_SETOWN> auch den Empfänger des Signals B<SIGURG>, das ausgeliefert wird, "
1589 "wenn Außerbanddaten beim Socket eintreffen, aus. (B<SIGURG> wird in jeder "
1590 "Situation gesandt, in der B<select>(2) berichtete, dass das Socket eine "
1591 "»außergewöhnliche Bedingung« habe.)"
1592
1593 #. type: Plain text
1594 #: debian-trixie fedora-44 fedora-rawhide
1595 msgid "The following was true in Linux 2.6.x up to and including Linux 2.6.11:"
1596 msgstr "Das Folgende stimmte in Linux 2.6.x bis einschließlich Linux 2.6.11:"
1597
1598 #. The relevant place in the (2.6) kernel source is the
1599 #. 'switch' in fs/fcntl.c::send_sigio_to_task() -- MTK, Apr 2005
1600 #. send_sigurg()/send_sigurg_to_task() bypasses
1601 #. kill_fasync()/send_sigio()/send_sigio_to_task()
1602 #. to directly call send_group_sig_info()
1603 #. -- MTK, Apr 2005 (kernel 2.6.11)
1604 #. type: Plain text
1605 #: debian-trixie fedora-44 fedora-rawhide
1606 msgid ""
1607 "If a nonzero value is given to B<F_SETSIG> in a multithreaded process "
1608 "running with a threading library that supports thread groups (e.g., NPTL), "
1609 "then a positive value given to B<F_SETOWN> has a different meaning: instead "
1610 "of being a process ID identifying a whole process, it is a thread ID "
1611 "identifying a specific thread within a process. Consequently, it may be "
1612 "necessary to pass B<F_SETOWN> the result of B<gettid>(2) instead of "
1613 "B<getpid>(2) to get sensible results when B<F_SETSIG> is used. (In current "
1614 "Linux threading implementations, a main thread's thread ID is the same as "
1615 "its process ID. This means that a single-threaded program can equally use "
1616 "B<gettid>(2) or B<getpid>(2) in this scenario.) Note, however, that the "
1617 "statements in this paragraph do not apply to the B<SIGURG> signal generated "
1618 "for out-of-band data on a socket: this signal is always sent to either a "
1619 "process or a process group, depending on the value given to B<F_SETOWN>."
1620 msgstr ""
1621 "Falls in einem Prozess mit mehreren Threads, der mit einer Threading-"
1622 "Bibliothek läuft, die Thread-Gruppen unterstützt (z.B. NPTL), ein von Null "
1623 "verschiedener Wert an B<F_SETSIG> übergeben wird, dann hat ein an "
1624 "B<F_SETOWN> übergebener positiver Wert eine andere Bedeutung: Statt eine "
1625 "Prozesskennung zu sein, die einen gesamten Prozess identifiziert, ist es "
1626 "eine Thread-Kennung, die einen bestimmten Prozess innerhalb des Threads "
1627 "identifiziert. Konsequenterweise kann es notwendig sein, B<F_SETOWN> das "
1628 "Ergebnis von B<gettid>(2) statt von B<getpid>(2) zu übergeben, um "
1629 "vernünftige Ergebnisse zu erhalten, wenn B<F_SETSIG> benutzt wird. (In "
1630 "aktuellen Linux-Threading-Implementierungen ist die Kennung des Haupt-"
1631 "Threads identisch zu seiner Prozesskennung. Das bedeutet, dass ein Programm "
1632 "mit nur einem einzigen Thread in diesem Szenario genauso B<gettid>(2) oder "
1633 "B<getpid>(2) verwenden kann.) Beachten Sie allerdings, dass die Aussage in "
1634 "diesem Absatz nicht auf das Signal B<SIGURG> für Außerbanddaten für ein "
1635 "Socket zutrifft: Dieses Signal wird immer zu einem Prozess oder einer "
1636 "Prozessgruppe gesandt, abhängig vom in B<F_SETOWN> übergebenen Wert."
1637
1638 #. type: Plain text
1639 #: debian-trixie fedora-44 fedora-rawhide
1640 msgid ""
1641 "The above behavior was accidentally dropped in Linux 2.6.12, and won't be "
1642 "restored. From Linux 2.6.32 onward, use B<F_SETOWN_EX> to target B<SIGIO> "
1643 "and B<SIGURG> signals at a particular thread."
1644 msgstr ""
1645 "Das obige Verhalten wurde in Linux 2.6.12 versehentlich deaktiviert und wird "
1646 "nicht mehr wiederhergestellt. Seit Linux 2.6.32 verwenden Sie "
1647 "B<F_SETOWN_EX>, um die Signale B<SIGIO> und B<SIGURG> auf einen bestimmten "
1648 "Thread anzuwenden."
1649
1650 #. type: TP
1651 #: debian-trixie fedora-44 fedora-rawhide
1652 #, no-wrap
1653 msgid "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)"
1654 msgstr "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (seit Linux 2.6.32)"
1655
1656 #. type: Plain text
1657 #: debian-trixie fedora-44 fedora-rawhide
1658 msgid ""
1659 "Return the current file descriptor owner settings as defined by a previous "
1660 "B<F_SETOWN_EX> operation. The information is returned in the structure "
1661 "pointed to by I<arg>, which has the following form:"
1662 msgstr ""
1663 "Liefert die aktuellen Eigenschaften des Dateideskriptoreigentümers, wie sie "
1664 "von einer vorherigen B<F_SETOWN_EX>-Aktion definiert wurden, zurück. Die "
1665 "Information wird in der Struktur, auf die I<arg> zeigt, zurückgeliefert. Sie "
1666 "hat die folgende Form:"
1667
1668 #. type: Plain text
1669 #: debian-trixie fedora-44 fedora-rawhide
1670 #, no-wrap
1671 msgid ""
1672 "struct f_owner_ex {\n"
1673 " int type;\n"
1674 " pid_t pid;\n"
1675 "};\n"
1676 msgstr ""
1677 "struct f_owner_ex {\n"
1678 " int type;\n"
1679 " pid_t pid;\n"
1680 "};\n"
1681
1682 #. type: Plain text
1683 #: debian-trixie fedora-44 fedora-rawhide
1684 msgid ""
1685 "The I<type> field will have one of the values B<F_OWNER_TID>, "
1686 "B<F_OWNER_PID>, or B<F_OWNER_PGRP>. The I<pid> field is a positive integer "
1687 "representing a thread ID, process ID, or process group ID. See "
1688 "B<F_SETOWN_EX> for more details."
1689 msgstr ""
1690 "Das Feld I<type> wird einen der Werte B<F_OWNER_TID>, B<F_OWNER_PID> oder "
1691 "B<F_OWNER_PGRP> enthalten. Das Feld I<pid> ist eine positive Ganzzahl, die "
1692 "die Thread-Kennung, Prozesskennung oder Prozessgruppenkennung darstellt. "
1693 "Siehe B<F_SETOWN_EX> für weitere Details."
1694
1695 #. type: TP
1696 #: debian-trixie fedora-44 fedora-rawhide
1697 #, no-wrap
1698 msgid "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)"
1699 msgstr "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (seit Linux 2.6.32)"
1700
1701 #. type: Plain text
1702 #: debian-trixie fedora-44 fedora-rawhide
1703 msgid ""
1704 "This operation performs a similar task to B<F_SETOWN>. It allows the caller "
1705 "to direct I/O availability signals to a specific thread, process, or process "
1706 "group. The caller specifies the target of signals via I<arg>, which is a "
1707 "pointer to a I<f_owner_ex> structure. The I<type> field has one of the "
1708 "following values, which define how I<pid> is interpreted:"
1709 msgstr ""
1710 "Diese Aktion führt eine ähnliche Aufgabe wie B<F_SETOWN> aus. Sie erlaubt "
1711 "dem Aufrufenden, E/A-Verfügbarkeitssignale zu einem bestimmten Thread, "
1712 "Prozess oder einer Prozessgruppe zu dirigieren. Der Aufrufende bestimmt das "
1713 "Ziel der Signale mittels I<arg>, der ein Zeiger auf eine Struktur "
1714 "I<f_owner_ex> ist. Das Feld I<type> hat einen der folgenden Werte, der "
1715 "definiert, wie I<pid> interpretiert wird:"
1716
1717 #. type: TP
1718 #: debian-trixie fedora-44 fedora-rawhide
1719 #, no-wrap
1720 msgid "B<F_OWNER_TID>"
1721 msgstr "B<F_OWNER_TID>"
1722
1723 #. type: Plain text
1724 #: debian-trixie fedora-44 fedora-rawhide
1725 msgid ""
1726 "Send the signal to the thread whose thread ID (the value returned by a call "
1727 "to B<clone>(2) or B<gettid>(2)) is specified in I<pid>."
1728 msgstr ""
1729 "Sendet das Signal an den Thread, dessen Thread-Kennung (der von den Aufrufen "
1730 "B<clone>(2) oder B<gettid>(2) zurückgelieferte Wert) in I<pid> festgelegt "
1731 "ist."
1732
1733 #. type: TP
1734 #: debian-trixie fedora-44 fedora-rawhide
1735 #, no-wrap
1736 msgid "B<F_OWNER_PID>"
1737 msgstr "B<F_OWNER_PID>"
1738
1739 #. type: Plain text
1740 #: debian-trixie fedora-44 fedora-rawhide
1741 msgid "Send the signal to the process whose ID is specified in I<pid>."
1742 msgstr "Sendet das Signal an den Prozess dessen ID in I<pid> angegeben ist."
1743
1744 #. type: TP
1745 #: debian-trixie fedora-44 fedora-rawhide
1746 #, no-wrap
1747 msgid "B<F_OWNER_PGRP>"
1748 msgstr "B<F_OWNER_PGRP>"
1749
1750 #. type: Plain text
1751 #: debian-trixie fedora-44 fedora-rawhide
1752 msgid ""
1753 "Send the signal to the process group whose ID is specified in I<pid>. (Note "
1754 "that, unlike with B<F_SETOWN>, a process group ID is specified as a positive "
1755 "value here.)"
1756 msgstr ""
1757 "Sendet das Signal zu der Prozessgruppe, deren Kennung in I<pid> festgelegt "
1758 "ist. (Beachten Sie, dass anders als bei B<F_SETOWN>, eine "
1759 "Prozessgruppenkennung hier als positiver Wert festgelegt ist.)"
1760
1761 #. type: TP
1762 #: debian-trixie fedora-44 fedora-rawhide
1763 #, no-wrap
1764 msgid "B<F_GETSIG> (I<void>)"
1765 msgstr "B<F_GETSIG> (I<void>)"
1766
1767 #. type: Plain text
1768 #: debian-trixie fedora-44 fedora-rawhide
1769 msgid ""
1770 "Return (as the function result) the signal sent when input or output "
1771 "becomes possible. A value of zero means B<SIGIO> is sent. Any other value "
1772 "(including B<SIGIO>) is the signal sent instead, and in this case "
1773 "additional info is available to the signal handler if installed with "
1774 "B<SA_SIGINFO>. I<arg> is ignored."
1775 msgstr ""
1776 "Liefert (als Funktionsergebnis) das Signal zurück, das gesendet wird, wenn "
1777 "Ein- oder Ausgabe möglich wird. Ein Wert von Null bedeutet, dass B<SIGIO> "
1778 "gesandt wird. Jeder andere Wert (einschließlich B<SIGIO>) ist stattdessen "
1779 "das gesandt Signal. In diesem Fall sind zusätzliche Informationen im Signal-"
1780 "Handler verfügbar, falls er mit B<SA_SIGINFO> installiert wurde. I<arg> wird "
1781 "ignoriert."
1782
1783 #. type: TP
1784 #: debian-trixie fedora-44 fedora-rawhide
1785 #, no-wrap
1786 msgid "B<F_SETSIG> (I<int>)"
1787 msgstr "B<F_SETSIG> (I<int>)"
1788
1789 #
1790 #
1791 #. The following was true only up until Linux 2.6.11:
1792 #. Additionally, passing a nonzero value to
1793 #. .B F_SETSIG
1794 #. changes the signal recipient from a whole process to a specific thread
1795 #. within a process.
1796 #. See the description of
1797 #. .B F_SETOWN
1798 #. for more details.
1799 #. type: Plain text
1800 #: debian-trixie fedora-44 fedora-rawhide
1801 msgid ""
1802 "Set the signal sent when input or output becomes possible to the value given "
1803 "in I<arg>. A value of zero means to send the default B<SIGIO> signal. Any "
1804 "other value (including B<SIGIO>) is the signal to send instead, and in this "
1805 "case additional info is available to the signal handler if installed with "
1806 "B<SA_SIGINFO>."
1807 msgstr ""
1808 "Setzt das gesandte Signal, wenn Ein- oder Ausgabe möglich wird, auf den in "
1809 "I<arg> angegebenen Wert. Ein Wert von Null bedeutet, das Vorgabesignal "
1810 "B<SIGIO> zu senden. Jeder andere Wert (einschließlich B<SIGIO>) ist das "
1811 "stattdessen zu sendende Signal und in diesem Fall sind zusätzliche "
1812 "Informationen im Signal-Handler verfügbar, falls dieser mit B<SA_SIGINFO> "
1813 "installiert wurde."
1814
1815 #. type: Plain text
1816 #: debian-trixie fedora-44 fedora-rawhide
1817 msgid ""
1818 "By using B<F_SETSIG> with a nonzero value, and setting B<SA_SIGINFO> for the "
1819 "signal handler (see B<sigaction>(2)), extra information about I/O events is "
1820 "passed to the handler in a I<siginfo_t> structure. If the I<si_code> field "
1821 "indicates the source is B<SI_SIGIO>, the I<si_fd> field gives the file "
1822 "descriptor associated with the event. Otherwise, there is no indication "
1823 "which file descriptors are pending, and you should use the usual mechanisms "
1824 "(B<select>(2), B<poll>(2), B<read>(2) with B<O_NONBLOCK> set etc.) to "
1825 "determine which file descriptors are available for I/O."
1826 msgstr ""
1827 "Durch Verwendung von B<F_SETSIG> mit einem von Null verschiedenen Wert und "
1828 "Setzen von B<SA_SIGINFO> für den Signal-Handler (siehe B<sigaction>(2)) "
1829 "werden Zusatzinformationen über E/A-Ereignisse an den Handler in einer "
1830 "Struktur I<siginfo_t> übergeben. Falls das Feld I<si_code> anzeigt, dass die "
1831 "Quelle B<SI_SIGIO> ist, gibt das Feld I<si_fd> den mit diesem Ereignis "
1832 "korrelierten Dateideskriptor zurück. Andernfalls gibt es keine Anzeichen, "
1833 "welche Dateideskriptoren wartend sind und Sie sollten die normalen "
1834 "Mechanismen (B<select>(2), B<poll>(2), B<read>(2) mit gesetztem "
1835 "B<O_NONBLOCK> usw.) verwenden, um herauszufinden, welche Dateideskriptoren "
1836 "für E/A verfügbar sind."
1837
1838 #. type: Plain text
1839 #: debian-trixie fedora-44 fedora-rawhide
1840 msgid ""
1841 "Note that the file descriptor provided in I<si_fd> is the one that was "
1842 "specified during the B<F_SETSIG> operation. This can lead to an unusual "
1843 "corner case. If the file descriptor is duplicated (B<dup>(2) or similar), "
1844 "and the original file descriptor is closed, then I/O events will continue to "
1845 "be generated, but the I<si_fd> field will contain the number of the now "
1846 "closed file descriptor."
1847 msgstr ""
1848 "Beachten Sie, dass der in I<si_fd> bereitgestellte Dateideskriptor derjenige "
1849 "ist, der in der Aktion B<F_SETSIG> festgelegt wurde. Dies kann zu "
1850 "ungewöhnlichen Grenzfällen führen. Falls der Dateideskriptor dupliziert wird "
1851 "(B<dup>(2) oder ähnlich) und der ursprüngliche Dateideskriptor geschlossen "
1852 "wird, dann werden E/A-Ereignisse weiterhin generiert aber das Feld I<si_fd> "
1853 "wird die Anzahl der jetzt geschlossenen Dateideskriptoren enthalten."
1854
1855 #. type: Plain text
1856 #: debian-trixie fedora-44 fedora-rawhide
1857 msgid ""
1858 "By selecting a real time signal (value E<gt>= B<SIGRTMIN>), multiple I/O "
1859 "events may be queued using the same signal numbers. (Queuing is dependent "
1860 "on available memory.) Extra information is available if B<SA_SIGINFO> is "
1861 "set for the signal handler, as above."
1862 msgstr ""
1863 "Durch Auswahl von Echtzeitsignalen (Wert E<gt>= B<SIGRTMIN>), können mehrere "
1864 "E/A-Ereignisse unter Verwendung der gleichen Signalnummer in eine "
1865 "Warteschlange eingereiht werden. (Einreihung in Warteschlangen hängt vom "
1866 "verfügbaren Speicher ab). Falls wie oben B<SA_SIGINFO> für den Signal-"
1867 "Handler gesetzt ist, sind zusätzliche Informationen verfügbar."
1868
1869 #. See fs/fcntl.c::send_sigio_to_task() (2.4/2.6) sources -- MTK, Apr 05
1870 #. type: Plain text
1871 #: debian-trixie fedora-44 fedora-rawhide
1872 msgid ""
1873 "Note that Linux imposes a limit on the number of real-time signals that may "
1874 "be queued to a process (see B<getrlimit>(2) and B<signal>(7)) and if this "
1875 "limit is reached, then the kernel reverts to delivering B<SIGIO>, and this "
1876 "signal is delivered to the entire process rather than to a specific thread."
1877 msgstr ""
1878 "Beachten Sie, dass Linux eine Begrenzung für die Anzahl der Echtzeitsignale "
1879 "erzwingt, die für einen Prozess in eine Warteschlange eingereiht werden "
1880 "(siehe B<getrlimit>(2) und B<signal>(7)). Falls diese Begrenzung erreicht "
1881 "ist, kehrt der Kernel zur Auslieferung von B<SIGIO> zurück und dieses Signal "
1882 "wird dem gesamten Prozess statt nur einem bestimmten Thread ausgeliefert."
1883
1884 #. type: Plain text
1885 #: debian-trixie fedora-44 fedora-rawhide
1886 msgid ""
1887 "Using these mechanisms, a program can implement fully asynchronous I/O "
1888 "without using B<select>(2) or B<poll>(2) most of the time."
1889 msgstr ""
1890 "Mittels dieser Mechanismen kann ein Programm eine komplett asynchrone E/A "
1891 "implementieren, ohne (in den meisten Fällen) B<select>(2) oder B<poll>(2) zu "
1892 "verwenden."
1893
1894 #. type: Plain text
1895 #: debian-trixie fedora-44 fedora-rawhide
1896 msgid ""
1897 "The use of B<O_ASYNC> is specific to BSD and Linux. The only use of "
1898 "B<F_GETOWN> and B<F_SETOWN> specified in POSIX.1 is in conjunction with the "
1899 "use of the B<SIGURG> signal on sockets. (POSIX does not specify the "
1900 "B<SIGIO> signal.) B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and "
1901 "B<F_SETSIG> are Linux-specific. POSIX has asynchronous I/O and the "
1902 "I<aio_sigevent> structure to achieve similar things; these are also "
1903 "available in Linux as part of the GNU C Library (glibc)."
1904 msgstr ""
1905 "Die Verwendung von B<O_ASYNC> ist für BSD und Linux spezifisch. Die einzige "
1906 "in POSIX.1 spezifizierte Verwendung von B<F_GETOWN> and B<F_SETOWN> ist im "
1907 "Zusammenhang mit der Verwendung des Signals B<SIGURG> bei Sockets. (POSIX "
1908 "spezifiziert das Signal B<SIGIO> nicht). POSIX enthält asynchrone E/A und "
1909 "auch die Struktur I<aio_sigevent>, um ähnliche Dinge zu erreichen; diese "
1910 "sind unter Linux auch als Teil der GNU-C-Bibliothek (Glibc) verfügbar."
1911
1912 # Bei Änderung dieses Absatzes bitte auch capabilities(7) nachziehen. Danke.
1913 #. type: Plain text
1914 #: debian-trixie fedora-44 fedora-rawhide
1915 msgid ""
1916 "B<F_SETLEASE> and B<F_GETLEASE> (Linux 2.4 onward) are used to establish a "
1917 "new lease, and retrieve the current lease, on the open file description "
1918 "referred to by the file descriptor I<fd>. A file lease provides a mechanism "
1919 "whereby the process holding the lease (the \"lease holder\") is notified "
1920 "(via delivery of a signal) when a process (the \"lease breaker\") tries to "
1921 "B<open>(2) or B<truncate>(2) the file referred to by that file descriptor."
1922 msgstr ""
1923 "B<F_SETLEASE> und B<F_GETLEASE> (Linux 2.4 und neuer) werden dazu verwandt, "
1924 "für die offene Dateideskription, auf den der Dateideskriptor I<dd> verweist, "
1925 "eine Ausleihe (»lease«) zu etablieren und die aktuelle Ausleihe zu "
1926 "ermitteln. Ein Datei-Ausleihe stellt einen Mechanismus bereit, durch den ein "
1927 "Prozess, der die Ausleihe hält (der »Ausleiher«) über die Auslieferung eines "
1928 "Signals benachrichtigt wird, wenn ein Prozess (der »Ausleihe-Brecher«) "
1929 "versucht, die von diesem Dateideskriptor referenzierte Datei mit B<open>(2) "
1930 "zu öffen oder mit B<truncate>(2) zu verkleinern/vergrößern."
1931
1932 #. type: TP
1933 #: debian-trixie fedora-44 fedora-rawhide
1934 #, no-wrap
1935 msgid "B<F_SETLEASE> (I<int>)"
1936 msgstr "B<F_SETLEASE> (I<int>)"
1937
1938 #. type: Plain text
1939 #: debian-trixie fedora-44 fedora-rawhide
1940 msgid ""
1941 "Set or remove a file lease according to which of the following values is "
1942 "specified in the integer I<arg>:"
1943 msgstr ""
1944 "Setzt oder entfernt eine Datei-Ausleihe, abhängig davon, welcher der "
1945 "folgenden Wert in der Ganzzahl I<arg> angegeben ist:"
1946
1947 #. type: TP
1948 #: debian-trixie fedora-44 fedora-rawhide
1949 #, no-wrap
1950 msgid "B<F_RDLCK>"
1951 msgstr "B<F_RDLCK>"
1952
1953 #. The following became true in Linux 2.6.10:
1954 #. See the man-pages-2.09 Changelog for further info.
1955 #. type: Plain text
1956 #: debian-trixie fedora-44 fedora-rawhide
1957 msgid ""
1958 "Take out a read lease. This will cause the calling process to be notified "
1959 "when the file is opened for writing or is truncated. A read lease can be "
1960 "placed only on a file descriptor that is opened read-only."
1961 msgstr ""
1962 "Nimmt eine Lese-Ausleihe heraus. Dies führt dazu, dass der aufrufende "
1963 "Prozess informiert wird, wenn die Datei zum Schreiben geöffnet oder "
1964 "abgeschnitten wird. Eine Lese-Ausleihe kann nur auf einen Dateideskriptor "
1965 "gelegt werden, der nur-lesbar geöffnet ist."
1966
1967 #. type: TP
1968 #: debian-trixie fedora-44 fedora-rawhide
1969 #, no-wrap
1970 msgid "B<F_WRLCK>"
1971 msgstr "B<F_WRLCK>"
1972
1973 #. type: Plain text
1974 #: debian-trixie fedora-44 fedora-rawhide
1975 msgid ""
1976 "Take out a write lease. This will cause the caller to be notified when the "
1977 "file is opened for reading or writing or is truncated. A write lease may be "
1978 "placed on a file only if there are no other open file descriptors for the "
1979 "file."
1980 msgstr ""
1981 "Nimmt eine Schreibe-Ausleihe heraus. Dies führt dazu, dass der aufrufende "
1982 "Prozess informiert wird, wenn die Datei zum Lesen oder Schreiben geöffnet "
1983 "oder abgeschnitten wird. Eine Schreibe-Ausleihe kann nur auf eine Datei "
1984 "gelegt werden, falls es keine anderen offenen Dateideskriptoren für diese "
1985 "Datei gibt."
1986
1987 #. type: TP
1988 #: debian-trixie fedora-44 fedora-rawhide
1989 #, no-wrap
1990 msgid "B<F_UNLCK>"
1991 msgstr "B<F_UNLCK>"
1992
1993 #. type: Plain text
1994 #: debian-trixie fedora-44 fedora-rawhide
1995 msgid "Remove our lease from the file."
1996 msgstr "Unsere Ausleihe von einer Datei entfernen."
1997
1998 #. type: Plain text
1999 #: debian-trixie fedora-44 fedora-rawhide
2000 msgid ""
2001 "Leases are associated with an open file description (see B<open>(2)). This "
2002 "means that duplicate file descriptors (created by, for example, B<fork>(2) "
2003 "or B<dup>(2)) refer to the same lease, and this lease may be modified or "
2004 "released using any of these descriptors. Furthermore, the lease is released "
2005 "by either an explicit B<F_UNLCK> operation on any of these duplicate file "
2006 "descriptors, or when all such file descriptors have been closed."
2007 msgstr ""
2008 "Ausleihen sind einem offenen Dateideskriptor zugeordnet (siehe B<open>(2)). "
2009 "Das bedeutet, dass ein duplizierter Dateideskriptor (zum Beispiel durch "
2010 "B<fork>(2) oder B<dup>(2) erstellt) sich auf die gleiche Ausleihe bezieht "
2011 "und dass diese Ausleihe durch jeden dieser Deskriptoren verändert oder "
2012 "freigegeben werden kann. Desweiteren werden Ausleihen durch eine explizite "
2013 "Aktion B<F_UNLCK> auf einem dieser duplizierten Dateideskriptoren "
2014 "freigegeben oder wenn alle solchen Dateideskriptoren geschlossen wurden."
2015
2016 #. type: Plain text
2017 #: debian-trixie fedora-44 fedora-rawhide
2018 msgid ""
2019 "Leases may be taken out only on regular files. An unprivileged process may "
2020 "take out a lease only on a file whose UID (owner) matches the filesystem UID "
2021 "of the process. A process with the B<CAP_LEASE> capability may take out "
2022 "leases on arbitrary files."
2023 msgstr ""
2024 "Ausleihen dürfen nur für reguläre Dateien herausgenommen werden. Ein nicht "
2025 "privilegierter Prozess darf eine Ausleihe nur für Dateien herausnehmen, "
2026 "deren UID (Eigentümer) auf die Dateisystem-UID des Prozesses passt. Ein "
2027 "Prozess mit der Capability B<CAP_LEASE> darf Ausleihen für beliebige Dateien "
2028 "herausnehmen."
2029
2030 #. type: TP
2031 #: debian-trixie fedora-44 fedora-rawhide
2032 #, no-wrap
2033 msgid "B<F_GETLEASE> (I<void>)"
2034 msgstr "B<F_GETLEASE> (I<void>)"
2035
2036 #. type: Plain text
2037 #: debian-trixie fedora-44 fedora-rawhide
2038 msgid ""
2039 "Indicates what type of lease is associated with the file descriptor I<fd> by "
2040 "returning either B<F_RDLCK>, B<F_WRLCK>, or B<F_UNLCK>, indicating, "
2041 "respectively, a read lease , a write lease, or no lease. I<arg> is ignored."
2042 msgstr ""
2043 "Zeigt den Typ der Ausleihe, der dem Dateideskriptor I<dd> zugeordnet ist, "
2044 "an, indem entweder B<F_RDLCK>, B<F_WRLCK> oder B<F_UNLCK> zurückgeliefert "
2045 "wird, das respektive eine Lese-, Schreib- oder keine Ausleihe anzeigt. "
2046 "I<arg> wird ignoriert."
2047
2048 #. type: Plain text
2049 #: debian-trixie fedora-44 fedora-rawhide
2050 msgid ""
2051 "When a process (the \"lease breaker\") performs an B<open>(2) or "
2052 "B<truncate>(2) that conflicts with a lease established via B<F_SETLEASE>, "
2053 "the system call is blocked by the kernel and the kernel notifies the lease "
2054 "holder by sending it a signal (B<SIGIO> by default). The lease holder "
2055 "should respond to receipt of this signal by doing whatever cleanup is "
2056 "required in preparation for the file to be accessed by another process "
2057 "(e.g., flushing cached buffers) and then either remove or downgrade its "
2058 "lease. A lease is removed by performing an B<F_SETLEASE> operation "
2059 "specifying I<arg> as B<F_UNLCK>. If the lease holder currently holds a "
2060 "write lease on the file, and the lease breaker is opening the file for "
2061 "reading, then it is sufficient for the lease holder to downgrade the lease "
2062 "to a read lease. This is done by performing an B<F_SETLEASE> operation "
2063 "specifying I<arg> as B<F_RDLCK>."
2064 msgstr ""
2065 "Wenn ein Prozess (der »Ausleihe-Brecher«) ein B<open>(2) oder B<truncate>(2) "
2066 "durchführt, der mit einer mittels B<F_SETLEASE> etablierten Ausleihe in "
2067 "Konflikt steht, wird der Systemaufruf durch den Kernel blockiert und der "
2068 "Kernel informiert den Ausleihenden, indem er ihm ein Signal (standardmäßig "
2069 "B<SIGIO>) sendet. Der Ausleihende sollte reagieren, indem er alle "
2070 "notwendigen Aufräumarbeiten durchführt, um den Zugriff des anderen Prozesses "
2071 "auf die Datei vorzubereiten (z.B. das Rausschreiben von "
2072 "zwischengespeicherten Puffern). Danach sollte er entweder seine Ausleihe "
2073 "entfernen oder runterstufen. Eine Ausleihe wird durch Ausführung der Aktion "
2074 "B<F_SETLEASE> mit der Angabe von I<arg> als B<F_UNLCK> entfernt. Falls der "
2075 "Ausleihende derzeit eine Schreib-Ausleihe auf die Datei hält und der Ausleih-"
2076 "Brecher die Datei zum Lesen öffnet, dann reicht es aus, wenn der Ausleihende "
2077 "seine Ausleihe auf eine Lese-Ausleihe herunterstuft. Dies erfolgt durch "
2078 "Ausführung der Aktion B<F_SETLEASE> mit der Angabe von I<arg> als B<F_RDLCK>."
2079
2080 #. type: Plain text
2081 #: debian-trixie fedora-44 fedora-rawhide
2082 msgid ""
2083 "If the lease holder fails to downgrade or remove the lease within the number "
2084 "of seconds specified in I</proc/sys/fs/lease-break-time>, then the kernel "
2085 "forcibly removes or downgrades the lease holder's lease."
2086 msgstr ""
2087 "Falls der Ausleihende nicht innerhalb der in I</proc/sys/fs/lease-break-"
2088 "time> festgelegten Anzahl von Sekunden seine Ausleihe herunterstuft oder "
2089 "entfernt, entfernt der Kernel die Ausleihe des Ausleihenden zwangsweise oder "
2090 "stuft sie zwangsweise herunter."
2091
2092 #. type: Plain text
2093 #: debian-trixie fedora-44 fedora-rawhide
2094 msgid ""
2095 "Once a lease break has been initiated, B<F_GETLEASE> returns the target "
2096 "lease type (either B<F_RDLCK> or B<F_UNLCK>, depending on what would be "
2097 "compatible with the lease breaker) until the lease holder voluntarily "
2098 "downgrades or removes the lease or the kernel forcibly does so after the "
2099 "lease break timer expires."
2100 msgstr ""
2101 "Sobald ein Ausleih-Brechen eingeleitet wurde, liefert B<F_GETLEASE> den Ziel-"
2102 "Ausleihtyp (entweder B<F_RDLCK> oder B<F_UNLCK>, abhängig davon, was zum "
2103 "Ausleih-Brecher kompatibel wäre) zurück, bis der Ausleihende freiwillig "
2104 "seine Ausleihe herunterstuft oder entfernt oder der Kernel dies zwangsweise "
2105 "tut, nachdem der Ausleih-Brech-Timer abgelaufen ist."
2106
2107 #. type: Plain text
2108 #: debian-trixie fedora-44 fedora-rawhide
2109 msgid ""
2110 "Once the lease has been voluntarily or forcibly removed or downgraded, and "
2111 "assuming the lease breaker has not unblocked its system call, the kernel "
2112 "permits the lease breaker's system call to proceed."
2113 msgstr ""
2114 "Sobald die Ausleihe freiwillig oder zwangsweise entfernt oder "
2115 "heruntergestuft wurde und unter der Annahme, dass der Ausleih-Brecher nicht "
2116 "den Systemaufruf entblockiert hat, erlaubt der Kernel dem Systemaufruf des "
2117 "Ausleih-Brechers fortzufahren."
2118
2119 #. type: Plain text
2120 #: debian-trixie fedora-44 fedora-rawhide
2121 msgid ""
2122 "If the lease breaker's blocked B<open>(2) or B<truncate>(2) is interrupted "
2123 "by a signal handler, then the system call fails with the error B<EINTR>, but "
2124 "the other steps still occur as described above. If the lease breaker is "
2125 "killed by a signal while blocked in B<open>(2) or B<truncate>(2), then the "
2126 "other steps still occur as described above. If the lease breaker specifies "
2127 "the B<O_NONBLOCK> flag when calling B<open>(2), then the call immediately "
2128 "fails with the error B<EWOULDBLOCK>, but the other steps still occur as "
2129 "described above."
2130 msgstr ""
2131 "Falls das vom Ausleih-Brecher blockierte B<open>(2) oder B<truncate>(2) "
2132 "durch einen Signal-Handler unterbrochen wird, schlägt der Systemaufruf mit "
2133 "dem Fehler B<EINTR> fehl, aber die anderen Schritte erfolgen dennoch wie "
2134 "oben beschrieben. Falls der Ausleih-Brecher durch ein Signal getötet wird, "
2135 "während er in B<open>(2) oder B<truncate>(2) blockiert ist, erfolgen die "
2136 "anderen Schritte dennoch wie oben beschrieben. Falls der Ausleih-Brecher den "
2137 "Schalter B<O_NONBLOCK> beim Aufruf von B<open>(2) angegeben hat, schlägt der "
2138 "Aufruf sofort mit dem Fehler B<EWOULDBLOCK> fehl, aber die anderen Schritte "
2139 "erfolgen dennoch wie oben beschrieben."
2140
2141 #. type: Plain text
2142 #: debian-trixie fedora-44 fedora-rawhide
2143 msgid ""
2144 "The default signal used to notify the lease holder is B<SIGIO>, but this can "
2145 "be changed using the B<F_SETSIG> operation to B<fcntl>(). If a B<F_SETSIG> "
2146 "operation is performed (even one specifying B<SIGIO>), and the signal "
2147 "handler is established using B<SA_SIGINFO>, then the handler will receive a "
2148 "I<siginfo_t> structure as its second argument, and the I<si_fd> field of "
2149 "this argument will hold the file descriptor of the leased file that has been "
2150 "accessed by another process. (This is useful if the caller holds leases "
2151 "against multiple files.)"
2152 msgstr ""
2153 "Standardmäßig wird das Signal B<SIGIO> zur Information des Ausleihenden "
2154 "verwandt, dies kann aber mit der Aktion B<F_SETSIG> von B<fcntl>() geändert "
2155 "werden. Falls eine Aktion B<F_SETSIG> ausgeführt wird (selbst eine, die "
2156 "B<SIGIO> festlegt) und der Singal-Handler mittels B<SA_SIGINFO> etabliert "
2157 "wurde, dann wird der Handler eine Struktur I<siginfo_t> als sein zweites "
2158 "Argument erhalten und das Feld I<si_fd> dieses Argumentes wird den "
2159 "Dateideskriptor der Datei mit der Ausleihe, auf die ein anderer Prozess "
2160 "zugegriffen hat, enthalten. (Dies ist nützlich, falls der Aufrufende "
2161 "Ausleihen für mehrere Dateien hält.)"
2162
2163 #. type: TP
2164 #: debian-trixie fedora-44 fedora-rawhide
2165 #, no-wrap
2166 msgid "B<F_NOTIFY> (I<int>)"
2167 msgstr "B<F_NOTIFY> (I<int>)"
2168
2169 #. type: Plain text
2170 #: debian-trixie fedora-44 fedora-rawhide
2171 msgid ""
2172 "(Linux 2.4 onward) Provide notification when the directory referred to by "
2173 "I<fd> or any of the files that it contains is changed. The events to be "
2174 "notified are specified in I<arg>, which is a bit mask specified by ORing "
2175 "together zero or more of the following bits:"
2176 msgstr ""
2177 "(Seit Linux 2.4) Stellt Benachrichtigungen bereit, wenn das durch I<dd> "
2178 "referenzierte Verzeichnis oder eine der darin enthaltenen Dateien geändert "
2179 "wird. Die Ereignisse, für die benachrichtigt wird, werden in I<arg> "
2180 "angegeben. Dies ist eine Bitmaske, in der mittels ODER eines oder mehrere "
2181 "der folgenden Bits festgelegt sind:"
2182
2183 #. type: TP
2184 #: debian-trixie fedora-44 fedora-rawhide
2185 #, no-wrap
2186 msgid "B<DN_ACCESS>"
2187 msgstr "B<DN_ACCESS>"
2188
2189 #. type: Plain text
2190 #: debian-trixie fedora-44 fedora-rawhide
2191 msgid "A file was accessed (B<read>(2), B<pread>(2), B<readv>(2), and similar)"
2192 msgstr ""
2193 "Ein Dateizugriff erfolgte (B<read>(2), B<pread>(2), B<readv>(2) und "
2194 "ähnliche)."
2195
2196 #. type: TP
2197 #: debian-trixie fedora-44 fedora-rawhide
2198 #, no-wrap
2199 msgid "B<DN_MODIFY>"
2200 msgstr "B<DN_MODIFY>"
2201
2202 #. type: Plain text
2203 #: debian-trixie fedora-44 fedora-rawhide
2204 msgid ""
2205 "A file was modified (B<write>(2), B<pwrite>(2), B<writev>(2), "
2206 "B<truncate>(2), B<ftruncate>(2), and similar)."
2207 msgstr ""
2208 "Eine Datei wurde verändert (B<write>(2), B<pwrite>(2), B<writev>(2), "
2209 "B<truncate>(2), B<ftruncate>(2) und ähnliche)."
2210
2211 #. type: TP
2212 #: debian-trixie fedora-44 fedora-rawhide
2213 #, no-wrap
2214 msgid "B<DN_CREATE>"
2215 msgstr "B<DN_CREATE>"
2216
2217 #. type: Plain text
2218 #: debian-trixie fedora-44 fedora-rawhide
2219 msgid ""
2220 "A file was created (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), "
2221 "B<link>(2), B<symlink>(2), B<rename>(2) into this directory)."
2222 msgstr ""
2223 "Eine Datei wurde erstellt (B<open>(2), B<creat>(2), B<mknod>(2), "
2224 "B<mkdir>(2), B<link>(2), B<symlink>(2), B<rename>(2) in dieses Verzeichnis)."
2225
2226 #. type: TP
2227 #: debian-trixie fedora-44 fedora-rawhide
2228 #, no-wrap
2229 msgid "B<DN_DELETE>"
2230 msgstr "B<DN_DELETE>"
2231
2232 #. type: Plain text
2233 #: debian-trixie fedora-44 fedora-rawhide
2234 msgid ""
2235 "A file was unlinked (B<unlink>(2), B<rename>(2) to another directory, "
2236 "B<rmdir>(2))."
2237 msgstr ""
2238 "Der Link auf eine Datei wurde entfernt (B<unlink>(2), B<rename>(2) in ein "
2239 "anderes Verzeichnis, B<rmdir>(2))."
2240
2241 #. type: TP
2242 #: debian-trixie fedora-44 fedora-rawhide
2243 #, no-wrap
2244 msgid "B<DN_RENAME>"
2245 msgstr "B<DN_RENAME>"
2246
2247 #. type: Plain text
2248 #: debian-trixie fedora-44 fedora-rawhide
2249 msgid "A file was renamed within this directory (B<rename>(2))."
2250 msgstr ""
2251 "Eine Datei wurde innerhalb dieses Verzeichnis umbenannt (B<rename>(2))."
2252
2253 #. type: TP
2254 #: debian-trixie fedora-44 fedora-rawhide
2255 #, no-wrap
2256 msgid "B<DN_ATTRIB>"
2257 msgstr "B<DN_ATTRIB>"
2258
2259 #. type: Plain text
2260 #: debian-trixie fedora-44 fedora-rawhide
2261 msgid ""
2262 "The attributes of a file were changed (B<chown>(2), B<chmod>(2), "
2263 "B<utime>(2), B<utimensat>(2), and similar)."
2264 msgstr ""
2265 "Die Attribute einer Datei wurden geändert (B<chown>(2), B<chmod>(2), "
2266 "B<utime>(2), B<utimensat>(2) und ähnliche)."
2267
2268 #. type: Plain text
2269 #: debian-trixie fedora-44 fedora-rawhide
2270 msgid ""
2271 "(In order to obtain these definitions, the B<_GNU_SOURCE> feature test macro "
2272 "must be defined before including I<any> header files.)"
2273 msgstr ""
2274 "(Um diese Definitionen zu erhalten, muss das Feature-Test-Makro "
2275 "B<_GNU_SOURCE> vor der Einbindung I<irgendeiner> Header-Datei definiert "
2276 "werden.)"
2277
2278 #. type: Plain text
2279 #: debian-trixie fedora-44 fedora-rawhide
2280 msgid ""
2281 "Directory notifications are normally \"one-shot\", and the application must "
2282 "reregister to receive further notifications. Alternatively, if "
2283 "B<DN_MULTISHOT> is included in I<arg>, then notification will remain in "
2284 "effect until explicitly removed."
2285 msgstr ""
2286 "Verzeichnisbenachrichtigungen sind normalerweise »einmalig« und die "
2287 "Anwendung muss sich erneut registrieren, um weitere Benachrichtigungen zu "
2288 "erhalten. Wird alternativ B<DN_MULTISHOT> in I<arg> aufgenommen, bleiben die "
2289 "Benachrichtigungen aktiv, bis sie explizit entfernt werden."
2290
2291 #. The following does seem a poor API-design choice...
2292 #. type: Plain text
2293 #: debian-trixie fedora-44 fedora-rawhide
2294 msgid ""
2295 "A series of B<F_NOTIFY> requests is cumulative, with the events in I<arg> "
2296 "being added to the set already monitored. To disable notification of all "
2297 "events, make an B<F_NOTIFY> call specifying I<arg> as 0."
2298 msgstr ""
2299 "Eine Reihe von B<F_NOTIFY>-Anfragen ist kumulativ, bei der die Ereignisse in "
2300 "I<arg> zu der Menge der bereits beobachteten hinzugefügt werden. Um "
2301 "Benachrichtigungen für alle Ereignisse zu deaktivieren, führen Sie einen "
2302 "Aufruf B<F_NOTIFY> mit I<arg> als 0 durch."
2303
2304 #. type: Plain text
2305 #: debian-trixie fedora-44 fedora-rawhide
2306 msgid ""
2307 "Notification occurs via delivery of a signal. The default signal is "
2308 "B<SIGIO>, but this can be changed using the B<F_SETSIG> operation to "
2309 "B<fcntl>(). (Note that B<SIGIO> is one of the nonqueuing standard signals; "
2310 "switching to the use of a real-time signal means that multiple notifications "
2311 "can be queued to the process.) In the latter case, the signal handler "
2312 "receives a I<siginfo_t> structure as its second argument (if the handler was "
2313 "established using B<SA_SIGINFO>) and the I<si_fd> field of this structure "
2314 "contains the file descriptor which generated the notification (useful when "
2315 "establishing notification on multiple directories)."
2316 msgstr ""
2317 "Benachrichtigungen erfolgen über die Zustellung eines Signals. Das "
2318 "Standardsignal ist B<SIGIO>, dies kann aber mittels der Aktion B<F_SETSIG> "
2319 "von B<fcntl>() geändert werden. (Beachten Sie, dass B<SIGIO> eines der "
2320 "nichtwarteschlangenfähigen Standardsignale ist; wird auf Echtzeitsignale "
2321 "umgestellt, können mehrere Benachrichtigungen für den Prozess in die "
2322 "Warteschlange gestellt werden). Im letzteren Falle erhält der Signal-Handler "
2323 "eine Struktur I<siginfo_t> als zweites Argument (falls der Hanndler mittels "
2324 "B<SA_SIGINFO> etabliert wurde) und das Feld I<si_fd> dieser Struktur enthält "
2325 "einen Dateideskriptor, der die Benachrichtigung erstellte (nützlich, falls "
2326 "Benachrichtigungen für mehrere Verzeichnisse eingerichtet werden)."
2327
2328 #. type: Plain text
2329 #: debian-trixie fedora-44 fedora-rawhide
2330 msgid ""
2331 "Especially when using B<DN_MULTISHOT>, a real time signal should be used for "
2332 "notification, so that multiple notifications can be queued."
2333 msgstr ""
2334 "Insbesondere bei der Verwendung von B<DN_MULTISHOT> sollte ein "
2335 "Echtzeitsignal für die Benachrichtigung verwandt werden, so dass mehrere "
2336 "Benachrichtigungen in die Warteschlange aufgenommen werden können."
2337
2338 #. type: Plain text
2339 #: debian-trixie fedora-44 fedora-rawhide
2340 msgid ""
2341 "B<NOTE:> New applications should use the I<inotify> interface (available "
2342 "since Linux 2.6.13), which provides a much superior interface for obtaining "
2343 "notifications of filesystem events. See B<inotify>(7)."
2344 msgstr ""
2345 "B<HINWEIS>: Neue Anwendungen sollten die Schnittstelle I<inotify> (verfügbar "
2346 "seit Linux 2.6.13) verwenden, die eine deutlich überlegene Schnittstelle zur "
2347 "Ermittlung von Benachrichtigungen über Dateisystemereignisse bietet. Siehe "
2348 "B<inotify>(7)."
2349
2350 #. type: TP
2351 #: debian-trixie fedora-44 fedora-rawhide
2352 #, no-wrap
2353 msgid "B<F_SETPIPE_SZ> (I<int>; since Linux 2.6.35)"
2354 msgstr "B<F_SETPIPE_SZ> (I<int>; seit Linux 2.6.35)"
2355
2356 #. type: Plain text
2357 #: debian-trixie fedora-44 fedora-rawhide
2358 msgid ""
2359 "Change the capacity of the pipe referred to by I<fd> to be at least I<arg> "
2360 "bytes. An unprivileged process can adjust the pipe capacity to any value "
2361 "between the system page size and the limit defined in I</proc/sys/fs/pipe-"
2362 "max-size> (see B<proc>(5)). Attempts to set the pipe capacity below the "
2363 "page size are silently rounded up to the page size. Attempts by an "
2364 "unprivileged process to set the pipe capacity above the limit in I</proc/sys/"
2365 "fs/pipe-max-size> yield the error B<EPERM>; a privileged process "
2366 "(B<CAP_SYS_RESOURCE>) can override the limit."
2367 msgstr ""
2368 "Ändert die Kapazität der durch I<dd> referenzierten Pipe auf mindestens "
2369 "I<arg> Byte. Ein unprivilegierter Prozess kann die Pipe-Kapazität auf jeden "
2370 "Wert zwischen der Systemseitengröße und der durch I</proc/sys/fs/pipe-max-"
2371 "size> (siehe B<proc>(5)) definierten Grenze anpassen. Wird versucht, die "
2372 "Pipe-Kapazität unter die Seitengröße zu setzen, dann wird diese ohne "
2373 "Rückmeldung auf die Seitengröße gerundet. Versucht ein unprivilegierter "
2374 "Prozess, die Pipe-Kapazität über die in I</proc/sys/fs/pipe-max-size> "
2375 "definierte Grenze zu setzen, führt dies zu dem Fehler B<EPERM>; ein "
2376 "privilegierter Prozess (B<CAP_SYS_RESOURCE>) kann die Grenze außer Kraft "
2377 "setzen."
2378
2379 #. type: Plain text
2380 #: debian-trixie fedora-44 fedora-rawhide
2381 msgid ""
2382 "When allocating the buffer for the pipe, the kernel may use a capacity "
2383 "larger than I<arg>, if that is convenient for the implementation. (In the "
2384 "current implementation, the allocation is the next higher power-of-two page-"
2385 "size multiple of the requested size.) The actual capacity (in bytes) that "
2386 "is set is returned as the function result."
2387 msgstr ""
2388 "Beim Reservieren des Puffers für die Pipe darf der Kernel eine größere "
2389 "Kapazität als I<arg> verwenden, falls das für die Implementierung passend "
2390 "ist. (In der aktuellen Implementierung ist die Allokation die nächst-größere "
2391 "Zweierpotenz des Vielfachen der Seitengröße der angeforderten Größe.) Die "
2392 "tatsächliche gesetzte Kapazität (in Byte) wird als Ergebnis der Funktion "
2393 "zurückgeliefert."
2394
2395 #. type: Plain text
2396 #: debian-trixie fedora-44 fedora-rawhide
2397 msgid ""
2398 "Attempting to set the pipe capacity smaller than the amount of buffer space "
2399 "currently used to store data produces the error B<EBUSY>."
2400 msgstr ""
2401 "Wird versucht, die Pipe-Kapazität auf einen Wert zu setzen, der kleiner als "
2402 "der derzeit zum Speichern von Daten verwandte Pufferbereich ist, dann wird "
2403 "der Fehler B<EBUSY> erzeugt."
2404
2405 #. type: Plain text
2406 #: debian-trixie fedora-44 fedora-rawhide
2407 msgid ""
2408 "Note that because of the way the pages of the pipe buffer are employed when "
2409 "data is written to the pipe, the number of bytes that can be written may be "
2410 "less than the nominal size, depending on the size of the writes."
2411 msgstr ""
2412 "Beachten Sie, dass aufgrund der Art, wie die Seiten des Pipe-Puffers "
2413 "eingesetzt werden, wenn Daten in die Pipe geschrieben werden, die Anzahl der "
2414 "Bytes geringer als die nominale Größe sein kann, abhängig von der Größe der "
2415 "Schreibvorgänge."
2416
2417 #. type: TP
2418 #: debian-trixie fedora-44 fedora-rawhide
2419 #, no-wrap
2420 msgid "B<F_GETPIPE_SZ> (I<void>; since Linux 2.6.35)"
2421 msgstr "B<F_GETPIPE_SZ> (I<void>; seit Linux 2.6.35)"
2422
2423 #. type: Plain text
2424 #: debian-trixie fedora-44 fedora-rawhide
2425 msgid ""
2426 "Return (as the function result) the capacity of the pipe referred to by "
2427 "I<fd>."
2428 msgstr ""
2429 "Liefert (als Ergebnis der Funktion) die Kapazität der durch I<dd> "
2430 "referenzierten Pipe zurück."
2431
2432 #. type: Plain text
2433 #: debian-trixie fedora-44 fedora-rawhide
2434 msgid ""
2435 "File seals limit the set of allowed operations on a given file. For each "
2436 "seal that is set on a file, a specific set of operations will fail with "
2437 "B<EPERM> on this file from now on. The file is said to be sealed. The "
2438 "default set of seals depends on the type of the underlying file and "
2439 "filesystem. For an overview of file sealing, a discussion of its purpose, "
2440 "and some code examples, see B<memfd_create>(2)."
2441 msgstr ""
2442 "Dateisiegel begrenzen die Menge der erlaubten Aktionen für eine bestimmte "
2443 "Datei. Für jedes auf eine Datei angebrachte Siegel wird von jetzt an eine "
2444 "bestimmte Gruppe an Aktionen auf dieser Datei mit dem Fehler B<EPERM> "
2445 "fehlschlagen. Die Datei wird als versiegelt bezeichnet. Die Vorgabemenge der "
2446 "Siegel hängt von der Art der unterliegenden Datei und dem Dateisystem ab. "
2447 "Für einen Überblick über Dateiversiegelung, einer Diskussion ihres Zwecks "
2448 "und Code-Beispiele siehe B<memfd_create>(2)."
2449
2450 #. type: Plain text
2451 #: debian-trixie fedora-44 fedora-rawhide
2452 msgid ""
2453 "Currently, file seals can be applied only to a file descriptor returned by "
2454 "B<memfd_create>(2) (if the B<MFD_ALLOW_SEALING> was employed). On other "
2455 "filesystems, all B<fcntl>() operations that operate on seals will return "
2456 "B<EINVAL>."
2457 msgstr ""
2458 "Derzeit können Dateisiegel nur auf durch B<memfd_create>(2) zurückgelieferte "
2459 "Dateideskriptoren angewandt werden (falls B<MFD_ALLOW_SEALING> eingesetzt "
2460 "wurde). Auf anderen Dateisystemen werden alle B<fcntl>()-Aktionen zur "
2461 "Versiegelung B<EINVAL> zurückliefern."
2462
2463 #. type: Plain text
2464 #: debian-trixie fedora-44 fedora-rawhide
2465 msgid ""
2466 "Seals are a property of an inode. Thus, all open file descriptors referring "
2467 "to the same inode share the same set of seals. Furthermore, seals can never "
2468 "be removed, only added."
2469 msgstr ""
2470 "Siegel sind eine Eigenschaft eines Inodes. Daher verfügen alle offenen "
2471 "Dateideskriptoren, die auf den gleichen Inode verweisen, über die gleiche "
2472 "Gruppe an Siegeln. Desweiteren können Siegel nie entfernt, nur hinzugefügt "
2473 "werden."
2474
2475 #. type: TP
2476 #: debian-trixie fedora-44 fedora-rawhide
2477 #, no-wrap
2478 msgid "B<F_ADD_SEALS> (I<int>; since Linux 3.17)"
2479 msgstr "B<F_ADD_SEALS> (I<int>; seit Linux 3.17)"
2480
2481 #. type: Plain text
2482 #: debian-trixie fedora-44 fedora-rawhide
2483 msgid ""
2484 "Add the seals given in the bit-mask argument I<arg> to the set of seals of "
2485 "the inode referred to by the file descriptor I<fd>. Seals cannot be removed "
2486 "again. Once this call succeeds, the seals are enforced by the kernel "
2487 "immediately. If the current set of seals includes B<F_SEAL_SEAL> (see "
2488 "below), then this call will be rejected with B<EPERM>. Adding a seal that "
2489 "is already set is a no-op, in case B<F_SEAL_SEAL> is not set already. In "
2490 "order to place a seal, the file descriptor I<fd> must be writable."
2491 msgstr ""
2492 "Fügt die im Bitmasken-Argument I<arg> übergebenen Siegel zu der Gruppe der "
2493 "Siegel des Inodes, der vom Dateideskriptor I<dd> referenziert wird, hinzu. "
2494 "Siegel können nicht mehr entfernt werden. Sobald dieser Aufruf gelingt, "
2495 "werden die Siegel sofort vom Kernel durchgesetzt. Falls die derzeitige "
2496 "Gruppe der Siegel B<F_SEAL_SEAL> enthält (siehe unten) wird dieser Aufruf "
2497 "mit B<EPERM> abgelehnt. Hinzufügen eines bereits gesetzten Siegels ist eine "
2498 "Nullaktion, falls B<F_SEAL_SEAL> nicht bereits gesetzt ist. Um ein Siegel zu "
2499 "setzen, muss der Dateideskriptor I<dd> schreibbar sein."
2500
2501 #. type: TP
2502 #: debian-trixie fedora-44 fedora-rawhide
2503 #, no-wrap
2504 msgid "B<F_GET_SEALS> (I<void>; since Linux 3.17)"
2505 msgstr "B<F_GET_SEALS> (I<void>; seit Linux 3.17)"
2506
2507 #. type: Plain text
2508 #: debian-trixie fedora-44 fedora-rawhide
2509 msgid ""
2510 "Return (as the function result) the current set of seals of the inode "
2511 "referred to by I<fd>. If no seals are set, 0 is returned. If the file does "
2512 "not support sealing, -1 is returned and I<errno> is set to B<EINVAL>."
2513 msgstr ""
2514 "Liefert (als Funktionsergebnis) die aktuelle Menge der Siegel des durch "
2515 "I<dd> referenzierten Inodes zurück. Falls keine Siegel gesetzt sind, wird 0 "
2516 "zurückgeliefert. Falls die Datei Versiegelung nicht unterstützt, wird -1 "
2517 "zurückgeliefert und I<errno> auf B<EINVAL> gesetzt."
2518
2519 #. type: Plain text
2520 #: debian-trixie fedora-44 fedora-rawhide
2521 msgid "The following seals are available:"
2522 msgstr "Die folgenden Versiegelungen sind verfügbar:"
2523
2524 #. type: TP
2525 #: debian-trixie fedora-44 fedora-rawhide
2526 #, no-wrap
2527 msgid "B<F_SEAL_SEAL>"
2528 msgstr "B<F_SEAL_SEAL>"
2529
2530 #. type: Plain text
2531 #: debian-trixie fedora-44 fedora-rawhide
2532 msgid ""
2533 "If this seal is set, any further call to B<fcntl>() with B<F_ADD_SEALS> "
2534 "fails with the error B<EPERM>. Therefore, this seal prevents any "
2535 "modifications to the set of seals itself. If the initial set of seals of a "
2536 "file includes B<F_SEAL_SEAL>, then this effectively causes the set of seals "
2537 "to be constant and locked."
2538 msgstr ""
2539 "Falls dieses Siegel gesetzt ist, wird jeder zukünftige Aufruf von B<fcntl>() "
2540 "mit B<F_ADD_SEALS> mit dem Fehler B<EPERM> fehlschlagen. Daher verhindert "
2541 "dieses Siegel jede Änderung an der Siegelmenge selbst. Falls die "
2542 "ursprüngliche Siegelmenge einer Datei B<F_SEAL_SEAL> enthält, dann führt "
2543 "dies effektiv dazu, dass die Siegelmenge konstant und gesperrt ist."
2544
2545 #. type: TP
2546 #: debian-trixie fedora-44 fedora-rawhide
2547 #, no-wrap
2548 msgid "B<F_SEAL_SHRINK>"
2549 msgstr "B<F_SEAL_SHRINK>"
2550
2551 #. type: Plain text
2552 #: debian-trixie fedora-44 fedora-rawhide
2553 msgid ""
2554 "If this seal is set, the file in question cannot be reduced in size. This "
2555 "affects B<open>(2) with the B<O_TRUNC> flag as well as B<truncate>(2) and "
2556 "B<ftruncate>(2). Those calls fail with B<EPERM> if you try to shrink the "
2557 "file in question. Increasing the file size is still possible."
2558 msgstr ""
2559 "Falls dieses Siegel gesetzt ist, kann die in Frage kommende Datei nicht "
2560 "verkleinert werden. Dies betrifft B<open>(2) mit dem Schalter B<O_TRUNC> "
2561 "sowie B<truncate>(2) und B<ftruncate>(2). Diese Aufrufe schlagen mit "
2562 "B<EPERM> fehl, falls Sie versuchen, die in Frage kommende Datei zu "
2563 "verkleinern. Vergrößern der Datei ist weiterhin möglich."
2564
2565 #. type: TP
2566 #: debian-trixie fedora-44 fedora-rawhide
2567 #, no-wrap
2568 msgid "B<F_SEAL_GROW>"
2569 msgstr "B<F_SEAL_GROW>"
2570
2571 #. type: Plain text
2572 #: debian-trixie fedora-44 fedora-rawhide
2573 msgid ""
2574 "If this seal is set, the size of the file in question cannot be increased. "
2575 "This affects B<write>(2) beyond the end of the file, B<truncate>(2), "
2576 "B<ftruncate>(2), and B<fallocate>(2). These calls fail with B<EPERM> if you "
2577 "use them to increase the file size. If you keep the size or shrink it, "
2578 "those calls still work as expected."
2579 msgstr ""
2580 "Falls dieses Siegel gesetzt ist, kann die in Frage kommende Datei nicht "
2581 "vergrößert werden. Dies betrifft B<write>(2) über das Ende der Datei hinaus, "
2582 "B<truncate>(2), B<ftruncate>(2) und B<fallocate>(2). Diese Aufrufe schlagen "
2583 "mit B<EPERM> fehl, falls Sie versuchen, diese zum Vergrößern der Datei zu "
2584 "verwenden. Falls Sie die Dateigröße beibehalten oder verkleinern, werden "
2585 "diese Aufrufe weiterhin wie erwartet funktionieren."
2586
2587 #. type: TP
2588 #: debian-trixie fedora-44 fedora-rawhide
2589 #, no-wrap
2590 msgid "B<F_SEAL_WRITE>"
2591 msgstr "B<F_SEAL_WRITE>"
2592
2593 #. One or more other seals are typically used with F_SEAL_WRITE
2594 #. because, given a file with the F_SEAL_WRITE seal set, then,
2595 #. while it would no longer be possible to (say) write zeros into
2596 #. the last 100 bytes of a file, it would still be possible
2597 #. to (say) shrink the file by 100 bytes using ftruncate(), and
2598 #. then increase the file size by 100 bytes, which would have
2599 #. the effect of replacing the last hundred bytes by zeros.
2600 #. type: Plain text
2601 #: debian-trixie fedora-44 fedora-rawhide
2602 msgid ""
2603 "If this seal is set, you cannot modify the contents of the file. Note that "
2604 "shrinking or growing the size of the file is still possible and allowed. "
2605 "Thus, this seal is normally used in combination with one of the other "
2606 "seals. This seal affects B<write>(2) and B<fallocate>(2) (only in "
2607 "combination with the B<FALLOC_FL_PUNCH_HOLE> flag). Those calls fail with "
2608 "B<EPERM> if this seal is set. Furthermore, trying to create new shared, "
2609 "writable memory-mappings via B<mmap>(2) will also fail with B<EPERM>."
2610 msgstr ""
2611 "Falls dieses Siegel gesetzt ist, können Sie den Inhalt der Datei nicht "
2612 "verändern. Beachten Sie, dass das Verkleinern oder Vergrößern der Größe der "
2613 "Datei weiterhin möglich und erlaubt ist. Daher wird dieses Siegel "
2614 "normalerweise zusammen mit einem der anderen Siegel verwandt. Dieses Siegel "
2615 "betrifft B<write>(2) und B<fallocate>(2) (nur in Zusammenhang mit dem "
2616 "Schalter B<FALLOC_FL_PUNCH_HOLE>). Diese Aufrufe werden mit B<EPERM> "
2617 "fehlschlagen, falls dieses Siegel gesetzt ist. Desweiteren wird das "
2618 "Erstellen von gemeinsam benutzten schreibbaren Speicher-Mappings per "
2619 "B<mmap>(2) auch mit B<EPERM> fehlschlagen."
2620
2621 #. type: Plain text
2622 #: debian-trixie fedora-44 fedora-rawhide
2623 msgid ""
2624 "Using the B<F_ADD_SEALS> operation to set the B<F_SEAL_WRITE> seal fails "
2625 "with B<EBUSY> if any writable, shared mapping exists. Such mappings must be "
2626 "unmapped before you can add this seal. Furthermore, if there are any "
2627 "asynchronous I/O operations (B<io_submit>(2)) pending on the file, all "
2628 "outstanding writes will be discarded."
2629 msgstr ""
2630 "Die Verwendung der Aktion B<F_ADD_SEALS> zum Setzen von B<F_SEAL_WRITE> wird "
2631 "mit B<EBUSY> fehlschlagen, falls irgendeine gemeinsam benutzbares "
2632 "schreibbares Speicher-Mappings existiert. Derartige Mappings müssen vor dem "
2633 "Hinzufügen dieses Siegels aufgehoben werden. Weiterhin werden alle "
2634 "ausstehenden Schreibvorgänge verworfen, falls irgendwelche asynchronen E/A-"
2635 "Transaktionen (B<io_submit>(2)) auf die Datei ausstehen."
2636
2637 #. type: TP
2638 #: debian-trixie fedora-44 fedora-rawhide
2639 #, no-wrap
2640 msgid "B<F_SEAL_FUTURE_WRITE> (since Linux 5.1)"
2641 msgstr "B<F_SEAL_FUTURE_WRITE> (seit Linux 5.1)"
2642
2643 #. type: Plain text
2644 #: debian-trixie fedora-44 fedora-rawhide
2645 msgid ""
2646 "The effect of this seal is similar to B<F_SEAL_WRITE>, but the contents of "
2647 "the file can still be modified via shared writable mappings that were "
2648 "created prior to the seal being set. Any attempt to create a new writable "
2649 "mapping on the file via B<mmap>(2) will fail with B<EPERM>. Likewise, an "
2650 "attempt to write to the file via B<write>(2) will fail with B<EPERM>."
2651 msgstr ""
2652 "Die Wirkung dieses Siegels ist ähnlich zu B<F_SEAL_WRITE>, aber der Inhalt "
2653 "der Datei kann weiterhin mittels gemeinsamen schreibbaren Mappings, die vor "
2654 "dem Setzen des Siegels erstellt wurden, verändert werden. Jeder Versuch, ein "
2655 "neues schreibbares Mapping auf der Datei mittels B<mmap>(2) zu erstellen, "
2656 "wird mit B<EPERM> fehlschlagen. Entsprechend wird ein Versuch, in die Datei "
2657 "mit B<write>(2) zu schreiben, mit B<EPERM> fehlschlagen."
2658
2659 #. type: Plain text
2660 #: debian-trixie fedora-44 fedora-rawhide
2661 msgid ""
2662 "Using this seal, one process can create a memory buffer that it can continue "
2663 "to modify while sharing that buffer on a \"read-only\" basis with other "
2664 "processes."
2665 msgstr ""
2666 "Durch Einsatz dieses Siegels kann ein Prozess einen Speicherpuffer "
2667 "erstellen, den es weiterhin verändern kann und der gleichzeitig von anderen "
2668 "Prozessen »nur lesend« mitgenutzt werden kann."
2669
2670 #. type: Plain text
2671 #: debian-trixie fedora-44 fedora-rawhide
2672 msgid ""
2673 "Write lifetime hints can be used to inform the kernel about the relative "
2674 "expected lifetime of writes on a given inode or via a particular open file "
2675 "description. (See B<open>(2) for an explanation of open file "
2676 "descriptions.) In this context, the term \"write lifetime\" means the "
2677 "expected time the data will live on media, before being overwritten or "
2678 "erased."
2679 msgstr ""
2680 "Der Kernel kann mit Schreib-Lebenszeithinweisen über die erwartete relative "
2681 "Lebenszeit von Schreibaktionen an einer benannten Inode oder über eine "
2682 "bestimmte offene Dateideskription informiert werden (Siehe B<open>(2) für "
2683 "eine Erläuterung von offenen Dateideskriptoren.). In diesem Kontext bedeutet "
2684 "der Ausdruck »Schreib-Lebenszeit«, die erwartete Zeit, die die Daten auf dem "
2685 "Medium verbleiben, bevor sie überschrieben oder gelöscht werden."
2686
2687 #. type: Plain text
2688 #: debian-trixie fedora-44 fedora-rawhide
2689 msgid ""
2690 "An application may use the different hint values specified below to separate "
2691 "writes into different write classes, so that multiple users or applications "
2692 "running on a single storage back-end can aggregate their I/O patterns in a "
2693 "consistent manner. However, there are no functional semantics implied by "
2694 "these flags, and different I/O classes can use the write lifetime hints in "
2695 "arbitrary ways, so long as the hints are used consistently."
2696 msgstr ""
2697 "Eine Anwendung darf die unten angegebenen verschiedenen Hinweisewerte "
2698 "verwenden, um die Schreibaktionen in verschiedene Schreibklassen zu trennen, "
2699 "so dass mehrere Benutzer oder Anwendungen, die mit dem gleichen Speicher-"
2700 "Backend arbeiten, ihre E/A-Muster in einer konsistenten Art zusammenfassen "
2701 "können. Allerdings implizieren diese Schalter keine funktionalen Semantiken "
2702 "und verschiedene E/A-Klassen können die Schreib-Lebenszeithinweise in "
2703 "beliebigen Arten benutzen, so lange die Hinweise konsistent benutzt werden."
2704
2705 #. type: Plain text
2706 #: debian-trixie fedora-44 fedora-rawhide
2707 msgid "The following operations can be applied to the file descriptor, I<fd>:"
2708 msgstr ""
2709 "Die folgenden Aktionen können auf den Dateideskriptor I<dd> angewandt werden:"
2710
2711 #. type: TP
2712 #: debian-trixie fedora-44 fedora-rawhide
2713 #, no-wrap
2714 msgid "B<F_GET_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2715 msgstr "B<F_GET_RW_HINT> (I<uint64_t *>; seit Linux 4.13)"
2716
2717 #. type: Plain text
2718 #: debian-trixie fedora-44 fedora-rawhide
2719 msgid ""
2720 "Returns the value of the read/write hint associated with the underlying "
2721 "inode referred to by I<fd>."
2722 msgstr ""
2723 "Liefert den Wert des Lese-/Schreibhinweises, der der durch I<dd> "
2724 "referenzierten unterliegenden Inode zugeordnet ist."
2725
2726 #. type: TP
2727 #: debian-trixie fedora-44 fedora-rawhide
2728 #, no-wrap
2729 msgid "B<F_SET_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2730 msgstr "B<F_SET_RW_HINT> (I<uint64_t *>; seit Linux 4.13)"
2731
2732 #. type: Plain text
2733 #: debian-trixie fedora-44 fedora-rawhide
2734 msgid ""
2735 "Sets the read/write hint value associated with the underlying inode referred "
2736 "to by I<fd>. This hint persists until either it is explicitly modified or "
2737 "the underlying filesystem is unmounted."
2738 msgstr ""
2739 "Setzt den Wert des Lese-/Schreibhinweises, der der durch I<dd> "
2740 "referenzierten unterliegenden Inode zugeordnet ist. Dieser Hinweis "
2741 "verbleibt, bis er entweder explizit geändert oder das unterliegende "
2742 "Dateisystem ausgehängt wird."
2743
2744 #. type: TP
2745 #: debian-trixie fedora-44 fedora-rawhide
2746 #, no-wrap
2747 msgid "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2748 msgstr "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; seit Linux 4.13)"
2749
2750 #. type: Plain text
2751 #: debian-trixie fedora-44 fedora-rawhide
2752 msgid ""
2753 "Returns the value of the read/write hint associated with the open file "
2754 "description referred to by I<fd>."
2755 msgstr ""
2756 "Liefert den Wert des Lese-/Schreibhinweises, der der durch I<dd> "
2757 "referenzierten offenen Dateideskription zugeordnet ist."
2758
2759 #. type: TP
2760 #: debian-trixie fedora-44 fedora-rawhide
2761 #, no-wrap
2762 msgid "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2763 msgstr "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; seit Linux 4.13)"
2764
2765 #. type: Plain text
2766 #: debian-trixie fedora-44 fedora-rawhide
2767 msgid ""
2768 "Sets the read/write hint value associated with the open file description "
2769 "referred to by I<fd>."
2770 msgstr ""
2771 "Setzt den Wert des Lese-/Schreibhinweises, der der durch I<dd> "
2772 "referenzierten offenen Dateideskription zugeordnet ist."
2773
2774 #. type: Plain text
2775 #: debian-trixie fedora-44 fedora-rawhide
2776 msgid ""
2777 "If an open file description has not been assigned a read/write hint, then it "
2778 "shall use the value assigned to the inode, if any."
2779 msgstr ""
2780 "Falls einer offenen Dateideskription noch kein Lese-/Schreibhinweis "
2781 "zugeordnet wurde, dann soll der der Inode zugeordnete Wert verwandt werden, "
2782 "falls vorhanden."
2783
2784 #. type: Plain text
2785 #: debian-trixie fedora-44 fedora-rawhide
2786 msgid "The following read/write hints are valid since Linux 4.13:"
2787 msgstr "Die folgenden Lese-/Schreibhinweise sind seit Linux 4.13 gültig:"
2788
2789 #. type: TP
2790 #: debian-trixie fedora-44 fedora-rawhide
2791 #, no-wrap
2792 msgid "B<RWH_WRITE_LIFE_NOT_SET>"
2793 msgstr "B<RWH_WRITE_LIFE_NOT_SET>"
2794
2795 #. type: Plain text
2796 #: debian-trixie fedora-44 fedora-rawhide
2797 msgid "No specific hint has been set. This is the default value."
2798 msgstr "Es wurde kein spezieller Hinweis gesetzt. Dies ist der Vorgabewert."
2799
2800 #. type: TP
2801 #: debian-trixie fedora-44 fedora-rawhide
2802 #, no-wrap
2803 msgid "B<RWH_WRITE_LIFE_NONE>"
2804 msgstr "B<RWH_WRITE_LIFE_NONE>"
2805
2806 #. type: Plain text
2807 #: debian-trixie fedora-44 fedora-rawhide
2808 msgid "No specific write lifetime is associated with this file or inode."
2809 msgstr ""
2810 "Kein spezielle Schreib-Lebenszeit ist dieser Datei oder diesem Inode "
2811 "zugeordnet."
2812
2813 #. type: TP
2814 #: debian-trixie fedora-44 fedora-rawhide
2815 #, no-wrap
2816 msgid "B<RWH_WRITE_LIFE_SHORT>"
2817 msgstr "B<RWH_WRITE_LIFE_SHORT>"
2818
2819 #. type: Plain text
2820 #: debian-trixie fedora-44 fedora-rawhide
2821 msgid ""
2822 "Data written to this inode or via this open file description is expected to "
2823 "have a short lifetime."
2824 msgstr ""
2825 "Es wird erwartet, dass Daten, die in diese Inode oder über diesen offenen "
2826 "Dateideskriptor geschrieben werden, eine kurze Lebenszeit haben werden."
2827
2828 #. type: TP
2829 #: debian-trixie fedora-44 fedora-rawhide
2830 #, no-wrap
2831 msgid "B<RWH_WRITE_LIFE_MEDIUM>"
2832 msgstr "B<RWH_WRITE_LIFE_MEDIUM>"
2833
2834 #. type: Plain text
2835 #: debian-trixie fedora-44 fedora-rawhide
2836 msgid ""
2837 "Data written to this inode or via this open file description is expected to "
2838 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_SHORT>."
2839 msgstr ""
2840 "Es wird erwartet, dass Daten, die in diese Inode oder über diesen offenen "
2841 "Dateideskriptor geschrieben werden, eine längere Lebenszeit als Daten, die "
2842 "mit B<RWH_WRITE_LIFE_SHORT> geschrieben wurden, haben werden."
2843
2844 #. type: TP
2845 #: debian-trixie fedora-44 fedora-rawhide
2846 #, no-wrap
2847 msgid "B<RWH_WRITE_LIFE_LONG>"
2848 msgstr "B<RWH_WRITE_LIFE_LONG>"
2849
2850 #. type: Plain text
2851 #: debian-trixie fedora-44 fedora-rawhide
2852 msgid ""
2853 "Data written to this inode or via this open file description is expected to "
2854 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_MEDIUM>."
2855 msgstr ""
2856 "Es wird erwartet, dass Daten, die in diese Inode oder über diesen offenen "
2857 "Dateideskriptor geschrieben werden, eine längere Lebenszeit als Daten, die "
2858 "mit B<RWH_WRITE_LIFE_MEDIUM> geschrieben wurden, haben werden."
2859
2860 #. type: TP
2861 #: debian-trixie fedora-44 fedora-rawhide
2862 #, no-wrap
2863 msgid "B<RWH_WRITE_LIFE_EXTREME>"
2864 msgstr "B<RWH_WRITE_LIFE_EXTREME>"
2865
2866 #. type: Plain text
2867 #: debian-trixie fedora-44 fedora-rawhide
2868 msgid ""
2869 "Data written to this inode or via this open file description is expected to "
2870 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_LONG>."
2871 msgstr ""
2872 "Es wird erwartet, dass Daten, die in diese Inode oder über diesen offenen "
2873 "Dateideskriptor geschrieben werden, eine längere Lebenszeit als Daten, die "
2874 "mit B<RWH_WRITE_LIFE_LONG> geschrieben wurden, haben werden."
2875
2876 #. type: Plain text
2877 #: debian-trixie fedora-44 fedora-rawhide
2878 msgid ""
2879 "All the write-specific hints are relative to each other, and no individual "
2880 "absolute meaning should be attributed to them."
2881 msgstr ""
2882 "Alle schreibspezifischen Hinweise sind relativ zueinander und ihnen sollte "
2883 "keine individuelle absolute Bedeutung beigemessen werden."
2884
2885 #. type: Plain text
2886 #: debian-trixie fedora-44 fedora-rawhide
2887 msgid "For a successful call, the return value depends on the operation:"
2888 msgstr ""
2889 "Für einen erfolgreichen Aufruf hängt der Rückgabewert von der Aktion ab:"
2890
2891 #. type: TP
2892 #: debian-trixie fedora-44 fedora-rawhide
2893 #, no-wrap
2894 msgid "B<F_DUPFD>"
2895 msgstr "B<F_DUPFD>"
2896
2897 #. type: Plain text
2898 #: debian-trixie fedora-44 fedora-rawhide
2899 msgid "The new file descriptor."
2900 msgstr "Der neue Dateideskriptor."
2901
2902 #. type: TP
2903 #: debian-trixie fedora-44 fedora-rawhide
2904 #, no-wrap
2905 msgid "B<F_GETFD>"
2906 msgstr "B<F_GETFD>"
2907
2908 #. type: Plain text
2909 #: debian-trixie fedora-44 fedora-rawhide
2910 msgid "Value of file descriptor flags."
2911 msgstr "Wert des File-Deskriptor-Schalters."
2912
2913 #. type: TP
2914 #: debian-trixie fedora-44 fedora-rawhide
2915 #, no-wrap
2916 msgid "B<F_GETFL>"
2917 msgstr "B<F_GETFL>"
2918
2919 #. type: Plain text
2920 #: debian-trixie fedora-44 fedora-rawhide
2921 msgid "Value of file status flags."
2922 msgstr "Wert der Dateistatusschalter."
2923
2924 #. type: TP
2925 #: debian-trixie fedora-44 fedora-rawhide
2926 #, no-wrap
2927 msgid "B<F_GETLEASE>"
2928 msgstr "B<F_GETLEASE>"
2929
2930 #. type: Plain text
2931 #: debian-trixie fedora-44 fedora-rawhide
2932 msgid "Type of lease held on file descriptor."
2933 msgstr "Art der Ausleihe, die auf dem Dateideskriptor gehalten wird."
2934
2935 #. type: TP
2936 #: debian-trixie fedora-44 fedora-rawhide
2937 #, no-wrap
2938 msgid "B<F_GETOWN>"
2939 msgstr "B<F_GETOWN>"
2940
2941 #. type: Plain text
2942 #: debian-trixie fedora-44 fedora-rawhide
2943 msgid "Value of file descriptor owner."
2944 msgstr "Wert des Dateideskriptor-Eigentümers."
2945
2946 #. type: TP
2947 #: debian-trixie fedora-44 fedora-rawhide
2948 #, no-wrap
2949 msgid "B<F_GETSIG>"
2950 msgstr "B<F_GETSIG>"
2951
2952 #. type: Plain text
2953 #: debian-trixie fedora-44 fedora-rawhide
2954 msgid ""
2955 "Value of signal sent when read or write becomes possible, or zero for "
2956 "traditional B<SIGIO> behavior."
2957 msgstr ""
2958 "Wert des Signals, wenn Lesen oder Schreiben möglich wird, oder Null für "
2959 "traditionelles B<SIGIO>-Verhalten."
2960
2961 #. type: TP
2962 #: debian-trixie fedora-44 fedora-rawhide
2963 #, no-wrap
2964 msgid "B<F_GETPIPE_SZ>"
2965 msgstr "B<F_GETPIPE_SZ>"
2966
2967 #. type: TQ
2968 #: debian-trixie fedora-44 fedora-rawhide
2969 #, no-wrap
2970 msgid "B<F_SETPIPE_SZ>"
2971 msgstr "B<F_SETPIPE_SZ>"
2972
2973 #. type: Plain text
2974 #: debian-trixie fedora-44 fedora-rawhide
2975 msgid "The pipe capacity."
2976 msgstr "Die Kapazität der Pipe."
2977
2978 #. type: TP
2979 #: debian-trixie fedora-44 fedora-rawhide
2980 #, no-wrap
2981 msgid "B<F_GET_SEALS>"
2982 msgstr "B<F_GET_SEALS>"
2983
2984 #. type: Plain text
2985 #: debian-trixie fedora-44 fedora-rawhide
2986 msgid ""
2987 "A bit mask identifying the seals that have been set for the inode referred "
2988 "to by I<fd>."
2989 msgstr ""
2990 "Eine Bitmaske, die die Siegel identifiziert, die für den durch I<dd> "
2991 "referenzierten Inode gesetzt wurden."
2992
2993 #. type: TP
2994 #: debian-trixie fedora-44 fedora-rawhide
2995 #, no-wrap
2996 msgid "All other operations"
2997 msgstr "Alle anderen Aktionen"
2998
2999 #. type: Plain text
3000 #: debian-trixie fedora-44 fedora-rawhide
3001 msgid "Zero."
3002 msgstr "Null"
3003
3004 #. type: Plain text
3005 #: debian-trixie fedora-44 fedora-rawhide
3006 msgid ""
3007 "I<op> is B<F_SETLK> or B<F_SETLKW> and the file descriptor open mode doesn't "
3008 "match with the type of lock requested."
3009 msgstr ""
3010 "I<Aktion> ist B<F_SETLK> oder B<F_SETLKW> und der Öffnungsmodus des "
3011 "Dateideskriptors passt nicht auf die angeforderte Art der Sperre."
3012
3013 #. type: TP
3014 #: debian-trixie fedora-44 fedora-rawhide
3015 #, no-wrap
3016 msgid "B<EBUSY>"
3017 msgstr "B<EBUSY>"
3018
3019 #. type: Plain text
3020 #: debian-trixie fedora-44 fedora-rawhide
3021 msgid ""
3022 "I<op> is B<F_SETPIPE_SZ> and the new pipe capacity specified in I<arg> is "
3023 "smaller than the amount of buffer space currently used to store data in the "
3024 "pipe."
3025 msgstr ""
3026 "I<Aktion> ist B<F_SETPIPE_SZ> und die in I<arg> angegebene neue Kapazität "
3027 "der Pipe ist kleiner als die Größe des derzeit zur Speicherung von Daten in "
3028 "der Pipe verwandten Pufferspeichers."
3029
3030 #. type: Plain text
3031 #: debian-trixie fedora-44 fedora-rawhide
3032 msgid ""
3033 "I<op> is B<F_ADD_SEALS>, I<arg> includes B<F_SEAL_WRITE>, and there exists a "
3034 "writable, shared mapping on the file referred to by I<fd>."
3035 msgstr ""
3036 "I<Aktion> ist B<F_ADD_SEALS>, I<arg> enthält B<F_SEAL_WRITE> und es gibt ein "
3037 "schreibbares gemeinsam benutztes Mapping der Datei, auf das I<dd> verweist."
3038
3039 #. type: TP
3040 #: debian-trixie fedora-44 fedora-rawhide
3041 #, no-wrap
3042 msgid "B<EDEADLK>"
3043 msgstr "B<EDEADLK>"
3044
3045 #. type: Plain text
3046 #: debian-trixie fedora-44 fedora-rawhide
3047 msgid ""
3048 "It was detected that the specified B<F_SETLKW> operation would cause a "
3049 "deadlock."
3050 msgstr ""
3051 "Es wurde erkannt, dass die angegebene Aktion B<F_SETLKW> zu einer "
3052 "Verklemmung führen würde."
3053
3054 #. type: TP
3055 #: debian-trixie fedora-44 fedora-rawhide
3056 #, no-wrap
3057 msgid "B<EFAULT>"
3058 msgstr "B<EFAULT>"
3059
3060 #. type: Plain text
3061 #: debian-trixie fedora-44 fedora-rawhide
3062 msgid "I<lock> is outside your accessible address space."
3063 msgstr "I<lock> befindet sich außerhalb Ihres adressierbaren Adressraums."
3064
3065 #. type: TP
3066 #: debian-trixie fedora-44 fedora-rawhide
3067 #, no-wrap
3068 msgid "B<EINTR>"
3069 msgstr "B<EINTR>"
3070
3071 #. type: Plain text
3072 #: debian-trixie fedora-44 fedora-rawhide
3073 msgid ""
3074 "I<op> is B<F_SETLKW> or B<F_OFD_SETLKW> and the operation was interrupted by "
3075 "a signal; see B<signal>(7)."
3076 msgstr ""
3077 "I<Aktion> ist B<F_SETLKW> oder B<F_OFD_SETLKW> und die Aktion wurde durch "
3078 "ein Signal unterbrochen; siehe B<signal>(7)."
3079
3080 #. type: Plain text
3081 #: debian-trixie fedora-44 fedora-rawhide
3082 msgid ""
3083 "I<op> is B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK>, or B<F_OFD_SETLK>, and the "
3084 "operation was interrupted by a signal before the lock was checked or "
3085 "acquired. Most likely when locking a remote file (e.g., locking over NFS), "
3086 "but can sometimes happen locally."
3087 msgstr ""
3088 "I<Aktion> ist B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK> oder B<F_OFD_SETLK> und "
3089 "die Aktion wurde durch ein Signal unterbrochen, bevor die Sperre geprüft "
3090 "oder erworben werden konnte. Passiert am wahrscheinlichsten beim Sperren von "
3091 "Dateien in der Ferne (d.h. Sperren über NFS), kann aber manchmal auch lokal "
3092 "auftreten."
3093
3094 #. type: Plain text
3095 #: debian-trixie fedora-44 fedora-rawhide
3096 msgid ""
3097 "I<op> is B<F_ADD_SEALS> and I<arg> includes an unrecognized sealing bit."
3098 msgstr ""
3099 "I<Aktion> ist B<F_ADD_SEALS> und I<arg> enthält ein nicht erkanntes "
3100 "Versiegelungs-Bit."
3101
3102 #. type: Plain text
3103 #: debian-trixie fedora-44 fedora-rawhide
3104 msgid ""
3105 "I<op> is B<F_ADD_SEALS> or B<F_GET_SEALS> and the filesystem containing the "
3106 "inode referred to by I<fd> does not support sealing."
3107 msgstr ""
3108 "I<Aktion> ist B<F_ADD_SEALS> oder B<F_GET_SEALS> und das Dateisystem, das "
3109 "den durch I<dd> referenzierten Inode enthält, unterstützt kein Versiegeln."
3110
3111 #. type: Plain text
3112 #: debian-trixie fedora-44 fedora-rawhide
3113 msgid ""
3114 "I<op> is B<F_DUPFD> and I<arg> is negative or is greater than the maximum "
3115 "allowable value (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))."
3116 msgstr ""
3117 "I<Aktion> ist B<F_DUPFD> und I<arg> ist negativ oder ist größer als der "
3118 "maximal zulässige Wert (siehe die Diskussion von B<RLIMIT_NOFILE> in "
3119 "B<getrlimit>(2))."
3120
3121 #. type: Plain text
3122 #: debian-trixie fedora-44 fedora-rawhide
3123 msgid "I<op> is B<F_SETSIG> and I<arg> is not an allowable signal number."
3124 msgstr ""
3125 "I<Aktion> ist B<F_SETSIG> und I<arg> ist keine erlaubbare Signalnummer."
3126
3127 #. type: Plain text
3128 #: debian-trixie fedora-44 fedora-rawhide
3129 msgid ""
3130 "I<op> is B<F_OFD_SETLK>, B<F_OFD_SETLKW>, or B<F_OFD_GETLK>, and I<l_pid> "
3131 "was not specified as zero."
3132 msgstr ""
3133 "I<Aktion> ist B<F_OFD_SETLK>, B<F_OFD_SETLKW> oder B<F_OFD_GETLK> und "
3134 "I<l_pid> wurde nicht als Null angegeben."
3135
3136 #. type: TP
3137 #: debian-trixie fedora-44 fedora-rawhide
3138 #, no-wrap
3139 msgid "B<EMFILE>"
3140 msgstr "B<EMFILE>"
3141
3142 #. type: Plain text
3143 #: debian-trixie fedora-44 fedora-rawhide
3144 msgid ""
3145 "I<op> is B<F_DUPFD> and the per-process limit on the number of open file "
3146 "descriptors has been reached."
3147 msgstr ""
3148 "I<Aktion> ist B<F_DUPFD> und die Beschränkung pro Prozess für die Anzahl "
3149 "offener Dateideskriptoren wurde erreicht."
3150
3151 #. type: TP
3152 #: debian-trixie fedora-44 fedora-rawhide
3153 #, no-wrap
3154 msgid "B<ENOLCK>"
3155 msgstr "B<ENOLCK>"
3156
3157 #. type: Plain text
3158 #: debian-trixie fedora-44 fedora-rawhide
3159 msgid ""
3160 "Too many segment locks open, lock table is full, or a remote locking "
3161 "protocol failed (e.g., locking over NFS)."
3162 msgstr ""
3163 "Zu viele Segment-Sperren offen, die Sperr-Tabelle ist voll oder ein "
3164 "Sperrprotokoll aus der Ferne schlug fehl (z.B. Sperren über NFS)."
3165
3166 #. type: TP
3167 #: debian-trixie fedora-44 fedora-rawhide
3168 #, no-wrap
3169 msgid "B<ENOTDIR>"
3170 msgstr "B<ENOTDIR>"
3171
3172 #. type: Plain text
3173 #: debian-trixie fedora-44 fedora-rawhide
3174 msgid ""
3175 "B<F_NOTIFY> was specified in I<op>, but I<fd> does not refer to a directory."
3176 msgstr ""
3177 "B<F_NOTIFY> wurde in I<Aktion> angegeben, aber I<dd> zeigt nicht auf ein "
3178 "Verzeichnis."
3179
3180 #. type: TP
3181 #: debian-trixie fedora-44 fedora-rawhide
3182 #, no-wrap
3183 msgid "B<EPERM>"
3184 msgstr "B<EPERM>"
3185
3186 #. type: Plain text
3187 #: debian-trixie fedora-44 fedora-rawhide
3188 msgid ""
3189 "I<op> is B<F_SETPIPE_SZ> and the soft or hard user pipe limit has been "
3190 "reached; see B<pipe>(7)."
3191 msgstr ""
3192 "I<Aktion> ist B<F_SETPIPE_SZ> und die weiche oder harte Benutzer-Pipe-"
3193 "Beschränkung wurde erreicht; siehe B<pipe>(7)."
3194
3195 #. type: Plain text
3196 #: debian-trixie fedora-44 fedora-rawhide
3197 msgid ""
3198 "Attempted to clear the B<O_APPEND> flag on a file that has the append-only "
3199 "attribute set."
3200 msgstr ""
3201 "Es wurde versucht, den Schalter B<O_APPEND> auf einer Datei zurückzusetzen, "
3202 "bei der das Attribut »nur anhängen« gesetzt ist."
3203
3204 #. type: Plain text
3205 #: debian-trixie fedora-44 fedora-rawhide
3206 msgid ""
3207 "I<op> was B<F_ADD_SEALS>, but I<fd> was not open for writing or the current "
3208 "set of seals on the file already includes B<F_SEAL_SEAL>."
3209 msgstr ""
3210 "I<Aktion> war B<F_ADD_SEALS> aber I<dd> war nicht zum Schreiben offen oder "
3211 "die aktuelle Menge der Siegel der Datei enthält bereits B<F_SEAL_SEAL>."
3212
3213 #. type: Plain text
3214 #: debian-trixie fedora-44 fedora-rawhide
3215 msgid "POSIX.1-2008."
3216 msgstr "POSIX.1-2008."
3217
3218 #. .P
3219 #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
3220 #. type: Plain text
3221 #: debian-trixie fedora-44 fedora-rawhide
3222 msgid ""
3223 "B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, "
3224 "B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE>, and B<F_SETLEASE> are "
3225 "Linux-specific. (Define the B<_GNU_SOURCE> macro to obtain these "
3226 "definitions.)"
3227 msgstr ""
3228 "B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, "
3229 "B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE> und B<F_SETLEASE> sind "
3230 "Linux-spezifisch. (Definieren Sie das Makro B<_GNU_SOURCE>, um diese "
3231 "Definitionen zu erhalten.)"
3232
3233 #. type: Plain text
3234 #: debian-trixie fedora-44 fedora-rawhide
3235 msgid ""
3236 "B<F_OFD_SETLK>, B<F_OFD_SETLKW>, and B<F_OFD_GETLK> are Linux-specific (and "
3237 "one must define B<_GNU_SOURCE> to obtain their definitions), but work is "
3238 "being done to have them included in the next version of POSIX.1."
3239 msgstr ""
3240 "B<F_OFD_SETLK>, B<F_OFD_SETLKW> und B<F_OFD_GETLK> sind Linux-spezifisch "
3241 "(und B<_GNU_SOURCE> muss definiert werden, um ihre Definitionen zu "
3242 "erhalten). Es wird aber daran gearbeitet, dass sie in der nächsten Version "
3243 "von POSIX.1 enthalten sind."
3244
3245 #. FIXME . Once glibc adds support, add a note about FTM requirements
3246 #. type: Plain text
3247 #: debian-trixie fedora-44 fedora-rawhide
3248 msgid "B<F_ADD_SEALS> and B<F_GET_SEALS> are Linux-specific."
3249 msgstr "B<F_ADD_SEALS> und B<F_GET_SEALS> sind Linux-spezifisch."
3250
3251 #. type: Plain text
3252 #: debian-trixie fedora-44 fedora-rawhide
3253 msgid "SVr4, 4.3BSD, POSIX.1-2001."
3254 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
3255
3256 #. type: Plain text
3257 #: debian-trixie fedora-44 fedora-rawhide
3258 msgid ""
3259 "Only the operations B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, "
3260 "B<F_SETFL>, B<F_GETLK>, B<F_SETLK>, and B<F_SETLKW> are specified in "
3261 "POSIX.1-2001."
3262 msgstr ""
3263 "Nur die Aktionen B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, B<F_SETFL>, "
3264 "B<F_GETLK>, B<F_SETLK> und B<F_SETLKW> sind in POSIX.1-2001 spezifiziert."
3265
3266 #. .BR _BSD_SOURCE ,
3267 #. or
3268 #. type: Plain text
3269 #: debian-trixie fedora-44 fedora-rawhide
3270 msgid ""
3271 "B<F_GETOWN> and B<F_SETOWN> are specified in POSIX.1-2001. (To get their "
3272 "definitions, define either B<_XOPEN_SOURCE> with the value 500 or greater, "
3273 "or B<_POSIX_C_SOURCE> with the value 200809L or greater.)"
3274 msgstr ""
3275 "B<F_GETOWN> und B<F_SETOWN> sind in POSIX.1-2001 spezifiziert. (Um Ihre "
3276 "Definitionen zu erhalten, definieren Sie entweder B<_XOPEN_SOURCE> mit einem "
3277 "Wert größer oder gleich 500 oder definieren Sie B<_POSIX_C_SOURCE> mit einem "
3278 "Wert größer oder gleich 200809L.)"
3279
3280 #. type: Plain text
3281 #: debian-trixie fedora-44 fedora-rawhide
3282 msgid ""
3283 "B<F_DUPFD_CLOEXEC> is specified in POSIX.1-2008. (To get this definition, "
3284 "define B<_POSIX_C_SOURCE> with the value 200809L or greater, or "
3285 "B<_XOPEN_SOURCE> with the value 700 or greater.)"
3286 msgstr ""
3287 "B<F_DUPFD_CLOEXEC> ist in POSIX.1-2001 spezifiziert. (Um diese Definitionen "
3288 "zu erhalten, definieren Sie B<_POSIX_C_SOURCE> mit einem Wert größer oder "
3289 "gleich 200809L oder B<_XOPEN_SOURCE> mit einem Wert größer oder gleich 700.)"
3290
3291 #. type: SH
3292 #: debian-trixie fedora-44 fedora-rawhide
3293 #, no-wrap
3294 msgid "NOTES"
3295 msgstr "ANMERKUNGEN"
3296
3297 #. type: Plain text
3298 #: debian-trixie fedora-44 fedora-rawhide
3299 msgid ""
3300 "The errors returned by B<dup2>(2) are different from those returned by "
3301 "B<F_DUPFD>."
3302 msgstr ""
3303 "Die Fehler, die von B<dup2>(2) zurückgegeben werden, sind anders als die von "
3304 "B<F_DUPFD>."
3305
3306 #. type: SS
3307 #: debian-trixie fedora-44 fedora-rawhide
3308 #, no-wrap
3309 msgid "File locking"
3310 msgstr "Sperrung von Dateien"
3311
3312 #. type: Plain text
3313 #: debian-trixie fedora-44 fedora-rawhide
3314 msgid ""
3315 "The original Linux B<fcntl>() system call was not designed to handle large "
3316 "file offsets (in the I<flock> structure). Consequently, an B<fcntl64>() "
3317 "system call was added in Linux 2.4. The newer system call employs a "
3318 "different structure for file locking, I<flock64>, and corresponding "
3319 "operations, B<F_GETLK64>, B<F_SETLK64>, and B<F_SETLKW64>. However, these "
3320 "details can be ignored by applications using glibc, whose B<fcntl>() "
3321 "wrapper function transparently employs the more recent system call where it "
3322 "is available."
3323 msgstr ""
3324 "Der ursprüngliche Systemaufruf B<fcntl>() von Linux war nicht dafür "
3325 "konstruiert, große Dateiversätze (in der Struktur I<flock>) zu handhaben. "
3326 "Konsequenterweise wurde ein Systemaufruf B<fcntl64>() in Linux 2.4 "
3327 "hinzugefügt. Dieser neuere Systemaufruf setzt eine andere Struktur zum "
3328 "Sperren von Dateien ein, I<flock64>, und entsprechende Aktionen "
3329 "B<F_GETLK64>, B<F_SETLK64> und B<F_SETLKW64>. Diese Details können "
3330 "allerdings von Anwendungen, die Glibc einsetzen, ignoriert werden, da dessen "
3331 "Wrapperfunktion B<fcntl>() transparent den neueren Systemaufruf einsetzt, wo "
3332 "er verfügbar ist."
3333
3334 #. type: SS
3335 #: debian-trixie fedora-44 fedora-rawhide
3336 #, no-wrap
3337 msgid "Record locks"
3338 msgstr "Datensatzsperren"
3339
3340 #. type: Plain text
3341 #: debian-trixie fedora-44 fedora-rawhide
3342 msgid ""
3343 "Since Linux 2.0, there is no interaction between the types of lock placed by "
3344 "B<flock>(2) and B<fcntl>()."
3345 msgstr ""
3346 "Seit Linux 2.0 gibt es keine Wechselwirkung zwischen den durch B<flock>(2) "
3347 "und B<fcntl>() gesetzten Sperrtypen."
3348
3349 #. e.g., Solaris 8 documents this field in fcntl(2), and Irix 6.5
3350 #. documents it in fcntl(5). mtk, May 2007
3351 #. Also, FreeBSD documents it (Apr 2014).
3352 #. type: Plain text
3353 #: debian-trixie fedora-44 fedora-rawhide
3354 msgid ""
3355 "Several systems have more fields in I<struct flock> such as, for example, "
3356 "I<l_sysid> (to identify the machine where the lock is held). Clearly, "
3357 "I<l_pid> alone is not going to be very useful if the process holding the "
3358 "lock may live on a different machine; on Linux, while present on some "
3359 "architectures (such as MIPS32), this field is not used."
3360 msgstr ""
3361 "Bei einer Reihe von Systemen gibt es in I<struct flock> weitere Felder wie "
3362 "z.B. I<l_sysid> (zur Identifizierung der Maschine, auf der die Sperre "
3363 "gehalten wird). Es ist klar, dass I<l_pid> alleine nicht sehr nützlich ist, "
3364 "falls der Prozess, der die Sperre hält, auf einer anderen Maschine "
3365 "existiert. Unter Linux wird dieses Feld, auch wenn es auf einigen "
3366 "Architekturen (wie MIPS32) vorhanden ist, nicht verwandt."
3367
3368 #. type: SS
3369 #: debian-trixie fedora-44 fedora-rawhide
3370 #, no-wrap
3371 msgid "Record locking and NFS"
3372 msgstr "Datensatzsperren und NFS"
3373
3374 #
3375 #
3376 #
3377 #. Neil Brown: With NFSv3 the failure mode is the reverse. If
3378 #. the server loses contact with a client then any lock stays in place
3379 #. indefinitely ("why can't I read my mail"... I remember it well).
3380 #. Jeff Layton:
3381 #. Note that this is not a firm timeout. The server runs a job
3382 #. periodically to clean out expired stateful objects, and it's likely
3383 #. that there is some time (maybe even up to another whole lease period)
3384 #. between when the timeout expires and the job actually runs. If the
3385 #. client gets a RENEW in there within that window, its lease will be
3386 #. renewed and its state preserved.
3387 #. type: Plain text
3388 #: debian-trixie fedora-44 fedora-rawhide
3389 msgid ""
3390 "Before Linux 3.12, if an NFSv4 client loses contact with the server for a "
3391 "period of time (defined as more than 90 seconds with no communication), it "
3392 "might lose and regain a lock without ever being aware of the fact. (The "
3393 "period of time after which contact is assumed lost is known as the NFSv4 "
3394 "leasetime. On a Linux NFS server, this can be determined by looking at I</"
3395 "proc/fs/nfsd/nfsv4leasetime>, which expresses the period in seconds. The "
3396 "default value for this file is 90.) This scenario potentially risks data "
3397 "corruption, since another process might acquire a lock in the intervening "
3398 "period and perform file I/O."
3399 msgstr ""
3400 "Falls ein NFSv4-Client vor Linux 3.12 den Kontakt mit dem Server für eine "
3401 "bestimmte Zeitperiode (definiert als mehr als 90 Sekunden ohne "
3402 "Kommunikation) verlor, konnte er eine Sperre verlieren und wieder erlangen, "
3403 "ohne von dieser Tatsache Kenntnis zu erhalten. (Die Zeitperiode, nach der "
3404 "der Kontakt als verloren angesehen wird, ist als NFSv4-Ausleihzeit bekannt. "
3405 "Auf einem Linux-NFS-Server kann diese durch einen Blick in I</proc/fs/nfsd/"
3406 "nfsv4leasetime>, die diese Periode in Sekunden ausdrückt, bestimmt werden. "
3407 "Der Vorgabewert für diese Datei ist 90.) In diesem Szenario sind potenziell "
3408 "Datenbeschädigungen möglich, da ein anderer Prozess in der Zwischenzeit eine "
3409 "Sperre erlangen und Datei-E/A durchführen könnte."
3410
3411 #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d
3412 #. commit f6de7a39c181dfb8a2c534661a53c73afb3081cd
3413 #. type: Plain text
3414 #: debian-trixie fedora-44 fedora-rawhide
3415 msgid ""
3416 "Since Linux 3.12, if an NFSv4 client loses contact with the server, any I/O "
3417 "to the file by a process which \"thinks\" it holds a lock will fail until "
3418 "that process closes and reopens the file. A kernel parameter, "
3419 "I<nfs.recover_lost_locks>, can be set to 1 to obtain the pre-3.12 behavior, "
3420 "whereby the client will attempt to recover lost locks when contact is "
3421 "reestablished with the server. Because of the attendant risk of data "
3422 "corruption, this parameter defaults to 0 (disabled)."
3423 msgstr ""
3424 "Wenn seit Linux 3.12 ein NFSv4-Client den Kontakt mit dem Server verliert, "
3425 "wird jede E/A des Prozesses, der »glaubt«, er halte eine Sperre, "
3426 "fehlschlagen, bis dieser Prozess die Datei schließt und erneut öffnet. Ein "
3427 "Kernelparameter (I<nfs.recover_lost_locks>) kann auf 1 gesetzt werden, um "
3428 "das pre-3.12-Verhalten zu erreichen, bei dem ein Client versuchen wird, "
3429 "verloren gegangene Sperren wiederherzustellen, wenn der Kontakt mit dem "
3430 "Server wieder etabliert ist. Aufgrund des vorhandenen Risikos der "
3431 "Datenverfälschung ist die Vorgabe für diesen Parameter 0 (deaktiviert)."
3432
3433 #. type: SH
3434 #: debian-trixie fedora-44 fedora-rawhide
3435 #, no-wrap
3436 msgid "BUGS"
3437 msgstr "FEHLER"
3438
3439 #. type: SS
3440 #: debian-trixie fedora-44 fedora-rawhide
3441 #, no-wrap
3442 msgid "F_SETFL"
3443 msgstr "F_SETFL"
3444
3445 #. FIXME . According to POSIX.1-2001, O_SYNC should also be modifiable
3446 #. via fcntl(2), but currently Linux does not permit this
3447 #. See http://bugzilla.kernel.org/show_bug.cgi?id=5994
3448 #. type: Plain text
3449 #: debian-trixie fedora-44 fedora-rawhide
3450 msgid ""
3451 "It is not possible to use B<F_SETFL> to change the state of the B<O_DSYNC> "
3452 "and B<O_SYNC> flags. Attempts to change the state of these flags are "
3453 "silently ignored."
3454 msgstr ""
3455 "Es ist nicht möglich, B<F_SETFL> zum Ändern des Zustands der Schalter "
3456 "B<O_DSYNC> und B<O_SYNC> zu verwenden. Versuche, den Zustand dieser Schalter "
3457 "zu ändern, werden ohne Meldung ignoriert."
3458
3459 #. type: SS
3460 #: debian-trixie fedora-44 fedora-rawhide
3461 #, no-wrap
3462 msgid "F_GETOWN"
3463 msgstr "F_GETOWN"
3464
3465 #. glibc source: sysdeps/unix/sysv/linux/i386/sysdep.h
3466 #. mtk, Dec 04: some limited testing on alpha and ia64 seems to
3467 #. indicate that ANY negative PGID value will cause F_GETOWN
3468 #. to misinterpret the return as an error. Some other architectures
3469 #. seem to have the same range check as i386.
3470 #. type: Plain text
3471 #: debian-trixie fedora-44 fedora-rawhide
3472 msgid ""
3473 "A limitation of the Linux system call conventions on some architectures "
3474 "(notably i386) means that if a (negative) process group ID to be returned "
3475 "by B<F_GETOWN> falls in the range -1 to -4095, then the return value is "
3476 "wrongly interpreted by glibc as an error in the system call; that is, the "
3477 "return value of B<fcntl>() will be -1, and I<errno> will contain the "
3478 "(positive) process group ID. The Linux-specific B<F_GETOWN_EX> operation "
3479 "avoids this problem. Since glibc 2.11, glibc makes the kernel B<F_GETOWN> "
3480 "problem invisible by implementing B<F_GETOWN> using B<F_GETOWN_EX>."
3481 msgstr ""
3482 "Eine Begrenzung der Linux-Systemaufrufkonventionen auf einigen Architekturen "
3483 "(insbesondere i386) bedeutet, dass, falls eine von B<F_GETOWN> "
3484 "zurückgelieferte (negative) Prozessgruppenkennung in den Bereich -1 bis "
3485 "-4095 fällt, dies von Glibc fälschlicherweise als Fehler im Systemaufruf "
3486 "interpretiert wird. Dann wird der Rückgabewert von B<fcntl>() -1 sein und "
3487 "I<errno> wird die (positive) Prozessgruppenkennung enthalten. Die Linux-"
3488 "spezifische Aktion B<F_GETOWN_EX> vermeidet dieses Problem. Seit Glibc 2.11 "
3489 "versteckt Glibc das Kernelproblem B<F_GETOWN>, indem B<F_GETOWN> mittels "
3490 "B<F_GETOWN_EX> implementiert wird."
3491
3492 #. type: SS
3493 #: debian-trixie fedora-44 fedora-rawhide
3494 #, no-wrap
3495 msgid "F_SETOWN"
3496 msgstr "F_SETOWN"
3497
3498 #. type: Plain text
3499 #: debian-trixie fedora-44 fedora-rawhide
3500 msgid ""
3501 "In Linux 2.4 and earlier, there is bug that can occur when an unprivileged "
3502 "process uses B<F_SETOWN> to specify the owner of a socket file descriptor as "
3503 "a process (group) other than the caller. In this case, B<fcntl>() can "
3504 "return -1 with I<errno> set to B<EPERM>, even when the owner process (group) "
3505 "is one that the caller has permission to send signals to. Despite this "
3506 "error return, the file descriptor owner is set, and signals will be sent to "
3507 "the owner."
3508 msgstr ""
3509 "Unter Linux 2.4 und älter gibt es einen Fehler, der auftreten kann, wenn ein "
3510 "unprivilegierter Prozess statt einem Aufrufenden B<F_SETOWN> verwendet, um "
3511 "den Eigentümer eines Socket-Dateideskriptors als Prozess(gruppe) "
3512 "festzulegen. In diesem Fall kann B<fcntl>() -1 mit I<errno> auf B<EPERM> "
3513 "gesetzt zurückliefern, selbst wenn der/die Eigentümerprozess(gruppe) "
3514 "dergestalt ist, dass der Aufrufende Rechte hat, ihr/ihm Signale zu senden. "
3515 "Trotz dieses zurückgelieferten Fehlers wird der Dateieigentümer gesetzt und "
3516 "Signale werden zum Eigentümer gesandt."
3517
3518 #. type: SS
3519 #: debian-trixie fedora-44 fedora-rawhide
3520 #, no-wrap
3521 msgid "Deadlock detection"
3522 msgstr "Erkennung von Verklemmungen"
3523
3524 #. type: Plain text
3525 #: debian-trixie fedora-44 fedora-rawhide
3526 msgid ""
3527 "The deadlock-detection algorithm employed by the kernel when dealing with "
3528 "B<F_SETLKW> requests can yield both false negatives (failures to detect "
3529 "deadlocks, leaving a set of deadlocked processes blocked indefinitely) and "
3530 "false positives (B<EDEADLK> errors when there is no deadlock). For example, "
3531 "the kernel limits the lock depth of its dependency search to 10 steps, "
3532 "meaning that circular deadlock chains that exceed that size will not be "
3533 "detected. In addition, the kernel may falsely indicate a deadlock when two "
3534 "or more processes created using the B<clone>(2) B<CLONE_FILES> flag place "
3535 "locks that appear (to the kernel) to conflict."
3536 msgstr ""
3537 "Der vom Kernel eingesetzte Algorithmus zur Erkennung von Verklemmungen beim "
3538 "Umgang mit B<F_SETLKW> kann sowohl falsch-negative (keine Erkennung von "
3539 "Verklemmungen, eine Gruppe von verklemmten Prozessen bleibt unbegrenzt "
3540 "blockiert) als auch falsch-positive (B<EDEADLK>-Fehler obwohl keine "
3541 "Verklemmung vorliegt) liefern. Beispielsweise begrenzt der Kernel die "
3542 "Sperrtiefe seiner Abhängigkeitssuche auf 10 Schritte, was bedeutet, dass "
3543 "zirkulare Verklemmungsketten, die diese Größe überschreiten, nicht erkannt "
3544 "werden. Zusätzlich kann der Kernel fälschlicherweise eine Verklemmung "
3545 "erkennen, wenn zwei oder mehr Prozesse, die mit dem Schalter B<CLONE_FILES> "
3546 "von B<clone>(2) Sperren setzen, die (dem Kernel) als im Konflikt stehend "
3547 "erscheinen."
3548
3549 #
3550 #. http://marc.info/?l=linux-kernel&m=119013491707153&w=2
3551 #. Reconfirmed by Jeff Layton
3552 #. From: Jeff Layton <jlayton <at> redhat.com>
3553 #. Subject: Re: Status of fcntl() mandatory locking
3554 #. Newsgroups: gmane.linux.file-systems
3555 #. Date: 2014-04-28 10:07:57 GMT
3556 #. http://thread.gmane.org/gmane.linux.file-systems/84481/focus=84518
3557 #. type: Plain text
3558 #: debian-trixie fedora-44 fedora-rawhide
3559 msgid ""
3560 "The Linux implementation of mandatory locking is subject to race conditions "
3561 "which render it unreliable: a B<write>(2) call that overlaps with a lock "
3562 "may modify data after the mandatory lock is acquired; a B<read>(2) call "
3563 "that overlaps with a lock may detect changes to data that were made only "
3564 "after a write lock was acquired. Similar races exist between mandatory "
3565 "locks and B<mmap>(2). It is therefore inadvisable to rely on mandatory "
3566 "locking."
3567 msgstr ""
3568 "Die Linux-Implementierung von Pflichtsperren ist Gegenstand von "
3569 "Ressourcenwettläufen, die sie unzuverlässig machen: Ein B<write>(2)-Aufruf, "
3570 "der sich mit einer Sperre überschneidet, kann Daten verändern, nachdem die "
3571 "Pflichtsperre erlangt wurde. Ein B<read>(2)-Aufruf, der sich mit einer "
3572 "Sperre überschneidet, kann Änderungen an Daten entdecken, die nur "
3573 "vorgenommen wurden, nachdem eine Schreibsperre erlangt wurde. Ähnliche "
3574 "Wettläufe gibt es zwischen Pflichtsperren und B<mmap>(2). Daher ist es nicht "
3575 "zu empfehlen, sich auf Pflichtsperren zu verlassen."
3576
3577 #. type: Plain text
3578 #: debian-trixie fedora-44 fedora-rawhide
3579 msgid ""
3580 "I<locks.txt>, I<mandatory-locking.txt>, and I<dnotify.txt> in the Linux "
3581 "kernel source directory I<Documentation/filesystems/> (on older kernels, "
3582 "these files are directly under the I<Documentation/> directory, and "
3583 "I<mandatory-locking.txt> is called I<mandatory.txt>)"
3584 msgstr ""
3585 "I<locks.txt>, I<mandatory-locking.txt> und I<dnotify.txt> in dem Linux-"
3586 "Kernelquelldateiverzeichnis I<Documentation/filesystems/>. (Bei älteren "
3587 "Kerneln befinden sich diese Dateien direkt unter dem Verzeichnis "
3588 "I<Documentation/> und I<mandatory-locking.txt> heißt I<mandatory.txt>.)"
3589
3590 #. type: TH
3591 #: fedora-44 fedora-rawhide
3592 #, no-wrap
3593 msgid "2024-07-23"
3594 msgstr "23. Juli 2024"
3595
3596 #. type: TH
3597 #: fedora-44 fedora-rawhide
3598 #, no-wrap
3599 msgid "Linux man-pages 6.13"
3600 msgstr "Linux man-pages 6.13"
3601
3602 #. type: TH
3603 #: mageia-cauldron
3604 #, no-wrap
3605 msgid "Linux man-pages 6.17"
3606 msgstr "Linux man-pages 6.17"
3607
3608 #. type: TH
3609 #: opensuse-leap-16-1 opensuse-tumbleweed
3610 #, no-wrap
3611 msgid "Linux man-pages (unreleased)"
3612 msgstr "Linux man-pages (unveröffentlicht)"