Debian Codegraph @

po/fr/man2/fcntl.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013, 2014.
16 # Denis Barbier <[email protected]>, 2006, 2010, 2011.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2020-2024.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.23.0\n"
22 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
23 "PO-Revision-Date: 2024-05-15 18:43+0200\n"
24 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "fcntl"
38 msgstr "fcntl"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "fcntl - manipulate file descriptor"
64 msgstr "fcntl - Manipuler un descripteur de fichier"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "BIBLIOTHÈQUE"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<#include E<lt>fcntl.hE<gt>>\n"
91 msgstr "B<#include E<lt>fcntl.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
95 #: opensuse-tumbleweed
96 #, fuzzy, no-wrap
97 #| msgid "B<int ioctl(int >I<fd>B<, int >I<op>B<, ...);>\n"
98 msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ...);>\n"
99 msgstr "B<int ioctl(int >I<fd>B<, int >I<op>B<, ...);>\n"
100
101 #. type: SH
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "DESCRIPTION"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "B<fcntl>() performs one of the operations described below on the open file "
113 "descriptor I<fd>. The operation is determined by I<op>."
114 msgstr ""
115 "B<fcntl>() permet de se livrer à diverses opérations sur le descripteur de "
116 "fichier I<fd>. L'opération en question est déterminée par la valeur de "
117 "l'argument I<op>."
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "Certain of the operations below are supported only since a particular Linux "
124 "kernel version. The preferred method of checking whether the host kernel "
125 "supports a particular operation is to invoke B<fcntl>() with the desired "
126 "I<op> value and then test whether the call failed with B<EINVAL>, indicating "
127 "that the kernel does not recognize this value."
128 msgstr ""
129 "Certaines des opérations suivantes ne sont prises en charge qu’à partir "
130 "d’une version donnée du noyau Linux. La méthode préférée pour vérifier si le "
131 "noyau hôte prend en charge une certaine opération est d’invoquer B<fcntl>() "
132 "avec la valeur de I<op> voulue et ensuite de tester si l’appel a échoué avec "
133 "B<EINVAL>, indiquant que le noyau ne reconnaît pas cette valeur."
134
135 #. type: SS
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "Duplicating a file descriptor"
140 msgstr "Dupliquer un descripteur de fichier"
141
142 #. type: TP
143 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
144 #: opensuse-tumbleweed
145 #, fuzzy, no-wrap
146 #| msgid "B<F_DUPFD> (I<int>)"
147 msgid "B<F_DUPFD>(2const)"
148 msgstr "B<F_DUPFD> (I<int>)"
149
150 #. type: TQ
151 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
152 #: opensuse-tumbleweed
153 #, fuzzy, no-wrap
154 #| msgid "B<F_DUPFD> (I<int>)"
155 msgid "B<F_DUPFD_CLOEXEC>(2const)"
156 msgstr "B<F_DUPFD> (I<int>)"
157
158 #. type: SS
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "File descriptor flags"
163 msgstr "Attributs du descripteur de fichier"
164
165 #. type: TP
166 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
167 #: opensuse-tumbleweed
168 #, fuzzy, no-wrap
169 #| msgid "B<F_GETFD>"
170 msgid "B<F_GETFD>(2const)"
171 msgstr "B<F_GETFD>"
172
173 #. type: TQ
174 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
175 #: opensuse-tumbleweed
176 #, fuzzy, no-wrap
177 #| msgid "B<F_SETFD> (I<int>)"
178 msgid "B<F_SETFD>(2const)"
179 msgstr "B<F_SETFD> (I<int>)"
180
181 #. type: SS
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "File status flags"
186 msgstr "Attribut d'état du fichier"
187
188 #. type: TP
189 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
190 #: opensuse-tumbleweed
191 #, fuzzy, no-wrap
192 #| msgid "B<F_GETFL>"
193 msgid "B<F_GETFL>(2const)"
194 msgstr "B<F_GETFL>"
195
196 #. type: TQ
197 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
198 #: opensuse-tumbleweed
199 #, fuzzy, no-wrap
200 #| msgid "B<F_SETFL> (I<int>)"
201 msgid "B<F_SETFL>(2const)"
202 msgstr "B<F_SETFL> (I<int>)"
203
204 #. type: SS
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "Advisory record locking"
209 msgstr "Verrouillages d’enregistrements coopératifs"
210
211 #. type: TP
212 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 #, fuzzy, no-wrap
215 #| msgid "B<F_SETFL> (I<int>)"
216 msgid "B<F_SETLK>(2const)"
217 msgstr "B<F_SETFL> (I<int>)"
218
219 #. type: TQ
220 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
221 #: opensuse-tumbleweed
222 #, fuzzy, no-wrap
223 #| msgid "B<F_SETFL> (I<int>)"
224 msgid "B<F_SETLKW>(2const)"
225 msgstr "B<F_SETFL> (I<int>)"
226
227 #. type: TQ
228 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
229 #: opensuse-tumbleweed
230 #, fuzzy, no-wrap
231 #| msgid "B<F_SETFL> (I<int>)"
232 msgid "B<F_GETLK>(2const)"
233 msgstr "B<F_SETFL> (I<int>)"
234
235 #. type: SS
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "Open file description locks (non-POSIX)"
240 msgstr "Verrouillages de description de fichier ouvert (non POSIX)"
241
242 #. type: TP
243 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
244 #: opensuse-tumbleweed
245 #, fuzzy, no-wrap
246 #| msgid "B<F_OFD_SETLK> (I<struct flock *>)"
247 msgid "B<F_OFD_SETLK>(2const)"
248 msgstr "B<F_OFD_SETLK> (I<struct flock *>)"
249
250 #. type: TQ
251 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
252 #: opensuse-tumbleweed
253 #, fuzzy, no-wrap
254 #| msgid "B<F_OFD_SETLKW> (I<struct flock *>)"
255 msgid "B<F_OFD_SETLKW>(2const)"
256 msgstr "B<F_OFD_SETLKW> (I<struct flock *>)"
257
258 #. type: TQ
259 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
260 #: opensuse-tumbleweed
261 #, fuzzy, no-wrap
262 #| msgid "B<F_OFD_GETLK> (I<struct flock *>)"
263 msgid "B<F_OFD_GETLK>(2const)"
264 msgstr "B<F_OFD_GETLK> (I<struct flock *>)"
265
266 #. type: SS
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "Managing signals"
271 msgstr "Gestion des signaux"
272
273 #. type: TP
274 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
275 #: opensuse-tumbleweed
276 #, fuzzy, no-wrap
277 #| msgid "B<F_GETOWN>"
278 msgid "B<F_GETOWN>(2const)"
279 msgstr "B<F_GETOWN>"
280
281 #. type: TQ
282 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
283 #: opensuse-tumbleweed
284 #, fuzzy, no-wrap
285 #| msgid "B<F_SETOWN> (I<int>)"
286 msgid "B<F_SETOWN>(2const)"
287 msgstr "B<F_SETOWN> (I<int>)"
288
289 #. type: TQ
290 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
291 #: opensuse-tumbleweed
292 #, fuzzy, no-wrap
293 #| msgid "B<F_GETOWN>"
294 msgid "B<F_GETOWN_EX>(2const)"
295 msgstr "B<F_GETOWN>"
296
297 #. type: TQ
298 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
299 #: opensuse-tumbleweed
300 #, fuzzy, no-wrap
301 #| msgid "B<F_SETOWN> (I<int>)"
302 msgid "B<F_SETOWN_EX>(2const)"
303 msgstr "B<F_SETOWN> (I<int>)"
304
305 #. type: TQ
306 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
307 #: opensuse-tumbleweed
308 #, fuzzy, no-wrap
309 #| msgid "B<F_GETSIG>"
310 msgid "B<F_GETSIG>(2const)"
311 msgstr "B<F_GETSIG>"
312
313 #. type: TQ
314 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
315 #: opensuse-tumbleweed
316 #, fuzzy, no-wrap
317 #| msgid "B<F_SETSIG> (I<int>)"
318 msgid "B<F_SETSIG>(2const)"
319 msgstr "B<F_SETSIG> (I<int>)"
320
321 #. type: SS
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "Leases"
326 msgstr "Baux"
327
328 #. type: TP
329 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
330 #: opensuse-tumbleweed
331 #, fuzzy, no-wrap
332 #| msgid "B<F_SETLEASE> (I<int>)"
333 msgid "B<F_SETLEASE>(2const)"
334 msgstr "B<F_SETLEASE> (I<int>)"
335
336 #. type: TQ
337 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
338 #: opensuse-tumbleweed
339 #, fuzzy, no-wrap
340 #| msgid "B<F_GETLEASE>"
341 msgid "B<F_GETLEASE>(2const)"
342 msgstr "B<F_GETLEASE>"
343
344 #. type: SS
345 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
346 #: opensuse-tumbleweed
347 #, no-wrap
348 msgid "Delegations"
349 msgstr ""
350
351 #. type: TP
352 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
353 #: opensuse-tumbleweed
354 #, fuzzy, no-wrap
355 #| msgid "B<F_SETFD> (I<int>)"
356 msgid "B<F_SETDELEG>(2const)"
357 msgstr "B<F_SETFD> (I<int>)"
358
359 #. type: TQ
360 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
361 #: opensuse-tumbleweed
362 #, fuzzy, no-wrap
363 #| msgid "B<F_GETFD>"
364 msgid "B<F_GETDELEG>(2const)"
365 msgstr "B<F_GETFD>"
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 and directory change notification (dnotify)"
372 msgstr "Notification de modification de fichier et de répertoire (dnotify)"
373
374 #. type: TP
375 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
376 #: opensuse-tumbleweed
377 #, fuzzy, no-wrap
378 #| msgid "B<F_NOTIFY> (I<int>)"
379 msgid "B<F_NOTIFY>(2const)"
380 msgstr "B<F_NOTIFY> (I<int>)"
381
382 #. type: SS
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "Changing the capacity of a pipe"
387 msgstr "Changer la capacité d'un tube"
388
389 #. type: TP
390 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
391 #: opensuse-tumbleweed
392 #, fuzzy, no-wrap
393 #| msgid "B<F_SETPIPE_SZ>"
394 msgid "B<F_SETPIPE_SZ>(2const)"
395 msgstr "B<F_SETPIPE_SZ>"
396
397 #. type: TQ
398 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
399 #: opensuse-tumbleweed
400 #, fuzzy, no-wrap
401 #| msgid "B<F_GETPIPE_SZ>"
402 msgid "B<F_GETPIPE_SZ>(2const)"
403 msgstr "B<F_GETPIPE_SZ>"
404
405 #. type: SS
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "File Sealing"
410 msgstr "Verrouillages de fichier"
411
412 #. type: TP
413 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
414 #: opensuse-tumbleweed
415 #, fuzzy, no-wrap
416 #| msgid "B<F_GET_SEALS>"
417 msgid "B<F_ADD_SEALS>(2const)"
418 msgstr "B<F_GET_SEALS>"
419
420 #. type: TQ
421 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
422 #: opensuse-tumbleweed
423 #, fuzzy, no-wrap
424 #| msgid "B<F_GET_SEALS>"
425 msgid "B<F_GET_SEALS>(2const)"
426 msgstr "B<F_GET_SEALS>"
427
428 #. type: SS
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "File read/write hints"
433 msgstr "Indications de lecture/écriture de fichiers"
434
435 #. type: TP
436 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
437 #: opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<F_GET_RW_HINT>(2const)"
440 msgstr ""
441
442 #. type: TQ
443 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
444 #: opensuse-tumbleweed
445 #, fuzzy, no-wrap
446 #| msgid "B<F_SETOWN> (I<int>)"
447 msgid "B<F_SET_RW_HINT>(2const)"
448 msgstr "B<F_SETOWN> (I<int>)"
449
450 #. type: TQ
451 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
452 #: opensuse-tumbleweed
453 #, no-wrap
454 msgid "B<F_GET_FILE_RW_HINT>(2const)"
455 msgstr ""
456
457 #. type: TQ
458 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
459 #: opensuse-tumbleweed
460 #, no-wrap
461 msgid "B<F_SET_FILE_RW_HINT>(2const)"
462 msgstr ""
463
464 #. type: SH
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "RETURN VALUE"
469 msgstr "VALEUR RENVOYÉE"
470
471 #. type: Plain text
472 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
473 #: opensuse-tumbleweed
474 #, fuzzy
475 #| msgid "For a successful call, the return value depends on the operation:"
476 msgid "For a successful call, the return value depends on the operation."
477 msgstr ""
478 "Pour qu'un appel réussisse, le code de retour dépend de l'opération\\ :"
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
484 msgstr ""
485 "En cas d'erreur, la valeur de retour est B<-1> et I<errno> est définie pour "
486 "préciser l'erreur."
487
488 #. type: SH
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "ERRORS"
493 msgstr "ERREURS"
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<EACCES> or B<EAGAIN>"
500 msgstr "B<EACCES> ou B<EAGAIN>"
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 "Operation is prohibited by locks held by other processes."
506 msgstr ""
507 "L'opération est interdite en raison de verrous tenus par d'autres processus."
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<EAGAIN>"
514 msgstr "B<EAGAIN>"
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid ""
520 "The operation is prohibited because the file has been memory-mapped by "
521 "another process."
522 msgstr ""
523 "L'opération est impossible à cause d'une projection en mémoire effectuée par "
524 "un autre processus."
525
526 #. type: TP
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "B<EBADF>"
531 msgstr "B<EBADF>"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid "I<fd> is not an open file descriptor"
537 msgstr "I<fd> n'est pas un descripteur de fichier ouvert"
538
539 #. type: TP
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid "B<EINVAL>"
544 msgstr "B<EINVAL>"
545
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid "The value specified in I<op> is not recognized by this kernel."
550 msgstr "La valeur indiquée dans I<op> n'est pas reconnue par ce noyau."
551
552 #. type: SH
553 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
554 #: opensuse-tumbleweed
555 #, no-wrap
556 msgid "VERSIONS"
557 msgstr "VERSIONS"
558
559 #. type: Plain text
560 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
561 #: opensuse-tumbleweed
562 msgid ""
563 "POSIX.1-2024 specifies B<FD_CLOFORK> and B<F_DUPFD_CLOFORK>, but Linux "
564 "doesn't support them."
565 msgstr ""
566
567 #. type: SH
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "STANDARDS"
572 msgstr "NORMES"
573
574 #. .P
575 #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
576 #. type: Plain text
577 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
578 #: opensuse-tumbleweed
579 msgid "POSIX.1-2024."
580 msgstr "POSIX.1-2024."
581
582 #. type: SH
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "HISTORY"
587 msgstr "HISTORIQUE"
588
589 #. type: Plain text
590 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
591 #: opensuse-tumbleweed
592 msgid "4.3BSD, SVr4, POSIX.1-1988."
593 msgstr "4.3BSD, SVr4, POSIX.1-1988."
594
595 #. type: SH
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "SEE ALSO"
600 msgstr "VOIR AUSSI"
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), "
607 "B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)"
608 msgstr ""
609 "B<dup2>(2), B<flock>(2), B<open>(2), B<socket>(2), B<lockf>(3), "
610 "B<capabilities>(7), B<feature_test_macros>(7), B<lslocks>(8)"
611
612 #. type: TH
613 #: debian-trixie
614 #, no-wrap
615 msgid "2024-05-02"
616 msgstr "2 mai 2024"
617
618 #. type: TH
619 #: debian-trixie
620 #, no-wrap
621 msgid "Linux man-pages 6.9.1"
622 msgstr "Pages du manuel de Linux 6.9.1"
623
624 #. type: Plain text
625 #: debian-trixie
626 msgid "Standard C library (I<libc>, I<-lc>)"
627 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
628
629 #. type: Plain text
630 #: debian-trixie fedora-44 fedora-rawhide
631 #, no-wrap
632 msgid "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n"
633 msgstr "B<int fcntl(int >I<fd>B<, int >I<op>B<, ... /* >I<arg>B< */ );>\n"
634
635 #. type: Plain text
636 #: debian-trixie fedora-44 fedora-rawhide
637 msgid ""
638 "B<fcntl>() can take an optional third argument. Whether or not this "
639 "argument is required is determined by I<op>. The required argument type is "
640 "indicated in parentheses after each I<op> name (in most cases, the required "
641 "type is I<int>, and we identify the argument using the name I<arg>), or "
642 "I<void> is specified if the argument is not required."
643 msgstr ""
644 "B<fcntl>() accepte un troisième paramètre optionnel. La nécessité de "
645 "fournir, ou pas, ce paramètre dépend de I<op>. Le paramètre doit être du "
646 "type indiqué entre parenthèses après chaque nom de commande I<op> (dans la "
647 "plupart des cas, le type requis est un I<int>, et le paramètre est identifié "
648 "en utilisant le nom I<arg>), ou I<void> est indiqué si le paramètre n'est "
649 "pas nécessaire."
650
651 #. type: TP
652 #: debian-trixie fedora-44 fedora-rawhide
653 #, no-wrap
654 msgid "B<F_DUPFD> (I<int>)"
655 msgstr "B<F_DUPFD> (I<int>)"
656
657 #. type: Plain text
658 #: debian-trixie fedora-44 fedora-rawhide
659 msgid ""
660 "Duplicate the file descriptor I<fd> using the lowest-numbered available file "
661 "descriptor greater than or equal to I<arg>. This is different from "
662 "B<dup2>(2), which uses exactly the file descriptor specified."
663 msgstr ""
664 "Dupliquer le descripteur de fichier I<fd> en utilisant le plus petit numéro "
665 "de descripteur de fichier libre supérieur ou égal à I<arg>. Cela est "
666 "différent de B<dup2>(2), qui utilise exactement le descripteur de fichier "
667 "transmis."
668
669 #. type: Plain text
670 #: debian-trixie fedora-44 fedora-rawhide
671 msgid "On success, the new file descriptor is returned."
672 msgstr "En cas de réussite, le nouveau descripteur de fichier est renvoyé."
673
674 #. type: Plain text
675 #: debian-trixie fedora-44 fedora-rawhide
676 msgid "See B<dup>(2) for further details."
677 msgstr "Consultez B<dup>(2) pour plus d'informations."
678
679 #. type: TP
680 #: debian-trixie fedora-44 fedora-rawhide
681 #, no-wrap
682 msgid "B<F_DUPFD_CLOEXEC> (I<int>; since Linux 2.6.24)"
683 msgstr "B<F_DUPFD_CLOEXEC> (I<int> ; depuis Linux 2.6.24)"
684
685 #. type: Plain text
686 #: debian-trixie fedora-44 fedora-rawhide
687 msgid ""
688 "As for B<F_DUPFD>, but additionally set the close-on-exec flag for the "
689 "duplicate file descriptor. Specifying this flag permits a program to avoid "
690 "an additional B<fcntl>() B<F_SETFD> operation to set the B<FD_CLOEXEC> "
691 "flag. For an explanation of why this flag is useful, see the description of "
692 "B<O_CLOEXEC> in B<open>(2)."
693 msgstr ""
694 "Comme pour B<F_DUPFD>, mais positionner en plus l'attribut « close-on-exec » "
695 "pour le descripteur de fichier dupliqué. Indiquer cet attribut permet à un "
696 "programme d'éviter une opération B<F_SETFD> de B<fcntl>() supplémentaire "
697 "pour positionner l'attribut B<FD_CLOEXEC>. Pour une explication sur ce en "
698 "quoi cet attribut est utile, consultez la description de B<O_CLOEXEC> dans "
699 "B<open>(2)."
700
701 #. type: Plain text
702 #: debian-trixie fedora-44 fedora-rawhide
703 msgid ""
704 "The following operations manipulate the flags associated with a file "
705 "descriptor. Currently, only one such flag is defined: B<FD_CLOEXEC>, the "
706 "close-on-exec flag. If the B<FD_CLOEXEC> bit is set, the file descriptor "
707 "will automatically be closed during a successful B<execve>(2). (If the "
708 "B<execve>(2) fails, the file descriptor is left open.) If the "
709 "B<FD_CLOEXEC> bit is not set, the file descriptor will remain open across an "
710 "B<execve>(2)."
711 msgstr ""
712 "Les opérations suivantes manipulent les attributs associés à un descripteur "
713 "de fichier. Actuellement, un seul attribut est défini\\ : il s'agit de "
714 "B<FD_CLOEXEC>, l'attribut «\\ close\\(hyon\\(hyexec\\ ». Si le bit "
715 "B<FD_CLOEXEC> est positionné, le descripteur de fichier sera automatiquement "
716 "fermé lors d'un B<execve>(2) réussi (si B<execve>(2) échoue, le descripteur "
717 "de fichier reste ouvert). Si le bit B<FD_CLOEXEC> n'est pas positionné, le "
718 "descripteur de fichier restera ouvert à la fin d’un B<execve>(2)."
719
720 #. type: TP
721 #: debian-trixie fedora-44 fedora-rawhide
722 #, no-wrap
723 msgid "B<F_GETFD> (I<void>)"
724 msgstr "B<F_GETFD> (I<void>)"
725
726 #. type: Plain text
727 #: debian-trixie fedora-44 fedora-rawhide
728 msgid ""
729 "Return (as the function result) the file descriptor flags; I<arg> is ignored."
730 msgstr ""
731 "Renvoyer (en tant que résultat de la fonction) les attributs du descripteur "
732 "de fichier ; I<arg> est ignoré."
733
734 #. type: TP
735 #: debian-trixie fedora-44 fedora-rawhide
736 #, no-wrap
737 msgid "B<F_SETFD> (I<int>)"
738 msgstr "B<F_SETFD> (I<int>)"
739
740 #. type: Plain text
741 #: debian-trixie fedora-44 fedora-rawhide
742 msgid "Set the file descriptor flags to the value specified by I<arg>."
743 msgstr ""
744 "Positionner les attributs du descripteur de fichier avec la valeur précisée "
745 "par I<arg>."
746
747 #. type: Plain text
748 #: debian-trixie fedora-44 fedora-rawhide
749 msgid ""
750 "In multithreaded programs, using B<fcntl>() B<F_SETFD> to set the close-on-"
751 "exec flag at the same time as another thread performs a B<fork>(2) plus "
752 "B<execve>(2) is vulnerable to a race condition that may unintentionally "
753 "leak the file descriptor to the program executed in the child process. See "
754 "the discussion of the B<O_CLOEXEC> flag in B<open>(2) for details and a "
755 "remedy to the problem."
756 msgstr ""
757 "Dans un programme multithreadé, l'utilisation simultanée dans un thread de "
758 "B<fcntl>() avec B<F_SETFD> afin de définir l'attribut « close-on-exec » "
759 "(B<FD_CLOEXEC>), et de B<fork>(2) suivi de B<execve>(2) dans un autre thread "
760 "rend le programme vulnérable à une condition de concurrence pouvant "
761 "provoquer la divulgation du descripteur de fichier dans le programme exécuté "
762 "dans le processus enfant. Consultez les détails de l'attribut B<O_CLOEXEC> "
763 "dans B<open>(2) qui décrivent une solution à ce problème."
764
765 #. or
766 #. .BR creat (2),
767 #. type: Plain text
768 #: debian-trixie fedora-44 fedora-rawhide
769 msgid ""
770 "Each open file description has certain associated status flags, initialized "
771 "by B<open>(2) and possibly modified by B<fcntl>(). Duplicated file "
772 "descriptors (made with B<dup>(2), B<fcntl>(F_DUPFD), B<fork>(2), etc.) refer "
773 "to the same open file description, and thus share the same file status flags."
774 msgstr ""
775 "Un descripteur de fichier dispose de certains attributs d’état, initialisés "
776 "par B<open>(2) et éventuellement modifiés par B<fcntl>(). Les descripteurs "
777 "de fichier dupliqués (obtenus avec B<dup>(2), B<fcntl>(F_DUPFD), "
778 "B<fork>(2), etc.) concernent la même description de fichier ouvert, et par "
779 "conséquent partagent les mêmes attributs d’état de fichier."
780
781 #. type: Plain text
782 #: debian-trixie fedora-44 fedora-rawhide
783 msgid "The file status flags and their semantics are described in B<open>(2)."
784 msgstr ""
785 "Les attributs et leurs sémantiques sont décrits dans la page B<open>(2)."
786
787 #. type: TP
788 #: debian-trixie fedora-44 fedora-rawhide
789 #, no-wrap
790 msgid "B<F_GETFL> (I<void>)"
791 msgstr "B<F_GETFL> (I<void>)"
792
793 #. type: Plain text
794 #: debian-trixie fedora-44 fedora-rawhide
795 msgid ""
796 "Return (as the function result) the file access mode and the file status "
797 "flags; I<arg> is ignored."
798 msgstr ""
799 "Renvoyer (en tant que résultat de la fonction) les droits d'accès du fichier "
800 "et les drapeaux d'état du fichier ; I<arg> est ignoré."
801
802 #. type: TP
803 #: debian-trixie fedora-44 fedora-rawhide
804 #, no-wrap
805 msgid "B<F_SETFL> (I<int>)"
806 msgstr "B<F_SETFL> (I<int>)"
807
808 # NOTE: il faut harmoniser les traductions de "file status flags"
809 # NOTE: à différentier de "file descriptor flags"
810 # NOTE: également à voir: cohérence des traductions de "file descriptor" et
811 # NOTE: "file description"
812 #. type: Plain text
813 #: debian-trixie fedora-44 fedora-rawhide
814 msgid ""
815 "Set the file status flags to the value specified by I<arg>. File access "
816 "mode (B<O_RDONLY>, B<O_WRONLY>, B<O_RDWR>) and file creation flags (i.e., "
817 "B<O_CREAT>, B<O_EXCL>, B<O_NOCTTY>, B<O_TRUNC>) in I<arg> are ignored. On "
818 "Linux, this operation can change only the B<O_APPEND>, B<O_ASYNC>, "
819 "B<O_DIRECT>, B<O_NOATIME>, and B<O_NONBLOCK> flags. It is not possible to "
820 "change the B<O_DSYNC> and B<O_SYNC> flags; see BUGS, below."
821 msgstr ""
822 "Positionner les drapeaux d'état du fichier à la valeur indiquée par I<arg>. "
823 "Les drapeaux des droits d'accès au fichier (B<O_RDONLY>, B<O_WRONLY>, "
824 "B<O_RDWR>) et les attributs de création du fichier (B<O_CREAT>, B<O_EXCL>, "
825 "B<O_NOCTTY>, B<O_TRUNC>) de I<arg> sont ignorés. Sous Linux, cette opération "
826 "ne peut changer que les attributs B<O_APPEND>, B<O_ASYNC>, B<O_DIRECT>, "
827 "B<O_NOATIME> et B<O_NONBLOCK>. Modifier les attributs B<O_DSYNC> et "
828 "B<O_SYNC> est impossible, consultez B<BOGUES> ci-dessous."
829
830 #. type: Plain text
831 #: debian-trixie fedora-44 fedora-rawhide
832 msgid ""
833 "Linux implements traditional (\"process-associated\") UNIX record locks, as "
834 "standardized by POSIX. For a Linux-specific alternative with better "
835 "semantics, see the discussion of open file description locks below."
836 msgstr ""
837 "Linux implémente les verrouillages d’enregistrements UNIX traditionnels "
838 "(« associés au processus »), tels que normalisés par POSIX. Pour une "
839 "alternative spécifique à Linux avec de meilleures sémantiques, consultez la "
840 "discussion suivante sur les verrouillages de description de fichier ouvert."
841
842 #. type: Plain text
843 #: debian-trixie fedora-44 fedora-rawhide
844 msgid ""
845 "B<F_SETLK>, B<F_SETLKW>, and B<F_GETLK> are used to acquire, release, and "
846 "test for the existence of record locks (also known as byte-range, file-"
847 "segment, or file-region locks). The third argument, I<lock>, is a pointer "
848 "to a structure that has at least the following fields (in unspecified order)."
849 msgstr ""
850 "B<F_SETLK>, B<F_SETLKW> et B<F_GETLK> servent à gérer les verrouillages "
851 "d'enregistrements (d’intervalle d’octets, de segments de fichiers ou de "
852 "zones de fichiers). Le troisième argument, I<lock>, est un pointeur sur une "
853 "structure qui a au moins les champs suivants (dans un ordre non indiqué)."
854
855 #. type: Plain text
856 #: debian-trixie fedora-44 fedora-rawhide
857 #, no-wrap
858 msgid ""
859 "struct flock {\n"
860 " ...\n"
861 " short l_type; /* Type of lock: F_RDLCK,\n"
862 " F_WRLCK, F_UNLCK */\n"
863 " short l_whence; /* How to interpret l_start:\n"
864 " SEEK_SET, SEEK_CUR, SEEK_END */\n"
865 " off_t l_start; /* Starting offset for lock */\n"
866 " off_t l_len; /* Number of bytes to lock */\n"
867 " pid_t l_pid; /* PID of process blocking our lock\n"
868 " (set by F_GETLK and F_OFD_GETLK) */\n"
869 " ...\n"
870 "};\n"
871 msgstr ""
872 "struct flock {\n"
873 " ...\n"
874 " short l_type; /* Type de verrouillage\\ : F_RDLCK,\n"
875 " F_WRLCK, F_UNLCK */\n"
876 " short l_whence; /* Interprétation de l_start:\n"
877 " SEEK_SET, SEEK_CUR, SEEK_END */\n"
878 " off_t l_start; /* Décalage de début du verrouillage */\n"
879 " off_t l_len; /* Nombre d'octets du verrouillage */\n"
880 " pid_t l_pid; /* PID du processus bloquant notre verrou\n"
881 " (mis par F_GETLK et F_OFD_GETLK seulement) */\n"
882 " ...\n"
883 "};\n"
884
885 #. type: Plain text
886 #: debian-trixie fedora-44 fedora-rawhide
887 msgid ""
888 "The I<l_whence>, I<l_start>, and I<l_len> fields of this structure specify "
889 "the range of bytes we wish to lock. Bytes past the end of the file may be "
890 "locked, but not bytes before the start of the file."
891 msgstr ""
892 "Les champs I<l_whence>, I<l_start> et I<l_len> de cette structure indiquent "
893 "l'intervalle d'octets à verrouiller. Des octets après la fin du fichier "
894 "peuvent être verrouillés, mais pas des octets avant le début du fichier."
895
896 #. type: Plain text
897 #: debian-trixie fedora-44 fedora-rawhide
898 msgid ""
899 "I<l_start> is the starting offset for the lock, and is interpreted relative "
900 "to either: the start of the file (if I<l_whence> is B<SEEK_SET>); the "
901 "current file offset (if I<l_whence> is B<SEEK_CUR>); or the end of the file "
902 "(if I<l_whence> is B<SEEK_END>). In the final two cases, I<l_start> can be "
903 "a negative number provided the offset does not lie before the start of the "
904 "file."
905 msgstr ""
906 "I<l_start> est la position de début du verrou, et est interprété de façon "
907 "relative : au début du fichier (si I<l_whence> vaut B<SEEK_SET>) ; à la "
908 "position actuelle dans le fichier (si I<l_whence> vaut B<SEEK_CUR>) ; à la "
909 "fin du fichier (si I<l_whence> vaut B<SEEK_END>). Dans les deux derniers "
910 "cas, I<l_start> peut être un nombre négatif, à partir du moment où la "
911 "position fournie ne pointe pas avant le début du fichier."
912
913 #. type: Plain text
914 #: debian-trixie fedora-44 fedora-rawhide
915 msgid ""
916 "I<l_len> specifies the number of bytes to be locked. If I<l_len> is "
917 "positive, then the range to be locked covers bytes I<l_start> up to and "
918 "including I<l_start>+I<l_len>-1. Specifying 0 for I<l_len> has the special "
919 "meaning: lock all bytes starting at the location specified by I<l_whence> "
920 "and I<l_start> through to the end of file, no matter how large the file "
921 "grows."
922 msgstr ""
923 "I<l_len> indique le nombre d'octets à verrouiller. Si I<l_len> est positif, "
924 "alors l'intervalle à verrouiller couvre les octets à partir de I<l_start> "
925 "jusqu'à I<l_start>+I<l_len>-1 (inclus). Indiquer B<0> dans I<l_len> a une "
926 "signification particulière : cela verrouille tous les octets à partir de la "
927 "position indiquée par I<l_whence> et I<l_start> jusqu'à la fin du fichier, "
928 "quelle que soit la taille que prendra le fichier."
929
930 #. type: Plain text
931 #: debian-trixie fedora-44 fedora-rawhide
932 msgid ""
933 "POSIX.1-2001 allows (but does not require) an implementation to support a "
934 "negative I<l_len> value; if I<l_len> is negative, the interval described by "
935 "I<lock> covers bytes I<l_start>+I<l_len> up to and including I<l_start>-1. "
936 "This is supported since Linux 2.4.21 and Linux 2.5.49."
937 msgstr ""
938 "POSIX.1-2001 permet (mais n'impose pas) à une implémentation de prendre en "
939 "charge des valeurs de I<l_len> négatives ; si I<l_len> est négatif, "
940 "l'intervalle décrivant le verrou I<lock> couvre les octets "
941 "I<l_start>+I<l_len> jusqu'à I<l_start>-1 inclus. Cela est géré par "
942 "Linux 2.4.21 et Linux 2.5.49."
943
944 #. type: Plain text
945 #: debian-trixie fedora-44 fedora-rawhide
946 msgid ""
947 "The I<l_type> field can be used to place a read (B<F_RDLCK>) or a write "
948 "(B<F_WRLCK>) lock on a file. Any number of processes may hold a read lock "
949 "(shared lock) on a file region, but only one process may hold a write lock "
950 "(exclusive lock). An exclusive lock excludes all other locks, both shared "
951 "and exclusive. A single process can hold only one type of lock on a file "
952 "region; if a new lock is applied to an already-locked region, then the "
953 "existing lock is converted to the new lock type. (Such conversions may "
954 "involve splitting, shrinking, or coalescing with an existing lock if the "
955 "byte range specified by the new lock does not precisely coincide with the "
956 "range of the existing lock.)"
957 msgstr ""
958 "Le champ I<l_type> peut servir à placer un verrou en lecture (B<F_RDLCK>) ou "
959 "en écriture (B<F_WRLCK>) sur un fichier. Un nombre quelconque de processus "
960 "peuvent tenir un verrou en lecture (partagé), sur une zone d'un fichier, "
961 "mais un seul peut avoir un verrou en écriture (exclusif). Un verrou en "
962 "écriture exclut tous les autres verrous, aussi bien en lecture qu'en "
963 "écriture. Un processus donné ne peut tenir qu'un seul verrou sur une zone "
964 "d'un fichier ; si un nouveau verrou est appliqué sur une zone déjà "
965 "verrouillée, alors le verrou précédent est converti suivant le nouveau type. "
966 "Ces conversions pourraient entraîner le découpage, la réduction ou "
967 "l'extension du verrou existant si le nombre d'octets du nouveau verrou ne "
968 "coïncide pas exactement avec celui de l'ancien."
969
970 #. type: TP
971 #: debian-trixie fedora-44 fedora-rawhide
972 #, no-wrap
973 msgid "B<F_SETLK> (I<struct flock *>)"
974 msgstr "B<F_SETLK> (I<struct flock *>)"
975
976 #. type: Plain text
977 #: debian-trixie fedora-44 fedora-rawhide
978 msgid ""
979 "Acquire a lock (when I<l_type> is B<F_RDLCK> or B<F_WRLCK>) or release a "
980 "lock (when I<l_type> is B<F_UNLCK>) on the bytes specified by the "
981 "I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If a conflicting "
982 "lock is held by another process, this call returns -1 and sets I<errno> to "
983 "B<EACCES> or B<EAGAIN>. (The error returned in this case differs across "
984 "implementations, so POSIX requires a portable application to check for both "
985 "errors.)"
986 msgstr ""
987 "Acquérir (si I<l_type> vaut B<F_RDLCK> ou B<F_WRLCK>) ou libérer (si "
988 "I<l_type> vaut B<F_UNLCK>) le verrou sur les octets indiqués par les champs "
989 "I<l_whence>, I<l_start>, et I<l_len> de I<lock>. Si un conflit avec un "
990 "verrou tenu par un autre processus existe, cet appel renvoie B<-1> et "
991 "positionne I<errno> aux valeurs B<EACCES> ou B<EAGAIN> (l’erreur renvoyée "
992 "dans ce cas dépend des implémentations, donc POSIX impose aux applications "
993 "portables de vérifier les deux erreurs)."
994
995 #. type: TP
996 #: debian-trixie fedora-44 fedora-rawhide
997 #, no-wrap
998 msgid "B<F_SETLKW> (I<struct flock *>)"
999 msgstr "B<F_SETLKW> (I<struct flock *>)"
1000
1001 #. type: Plain text
1002 #: debian-trixie fedora-44 fedora-rawhide
1003 msgid ""
1004 "As for B<F_SETLK>, but if a conflicting lock is held on the file, then wait "
1005 "for that lock to be released. If a signal is caught while waiting, then the "
1006 "call is interrupted and (after the signal handler has returned) returns "
1007 "immediately (with return value -1 and I<errno> set to B<EINTR>; see "
1008 "B<signal>(7))."
1009 msgstr ""
1010 "Comme B<F_SETLK>, mais attendre la libération du verrou au lieu de renvoyer "
1011 "une erreur si un verrou en conflit est utilisé sur le fichier. Si un signal "
1012 "est reçu pendant l'attente, l'appel est interrompu et renverra immédiatement "
1013 "(après le retour du gestionnaire de signaux) la valeur B<-1>. I<errno> sera "
1014 "remplie avec la valeur B<EINTR> ; consultez B<signal>(7)."
1015
1016 #. type: TP
1017 #: debian-trixie fedora-44 fedora-rawhide
1018 #, no-wrap
1019 msgid "B<F_GETLK> (I<struct flock *>)"
1020 msgstr "B<F_GETLK> (I<struct flock *>)"
1021
1022 #. type: Plain text
1023 #: debian-trixie fedora-44 fedora-rawhide
1024 msgid ""
1025 "On input to this call, I<lock> describes a lock we would like to place on "
1026 "the file. If the lock could be placed, B<fcntl>() does not actually place "
1027 "it, but returns B<F_UNLCK> in the I<l_type> field of I<lock> and leaves the "
1028 "other fields of the structure unchanged."
1029 msgstr ""
1030 "En entrée dans cette routine, I<lock> décrit un verrou que nous aimerions "
1031 "placer sur le fichier. Si le verrouillage est possible, B<fcntl>() ne le "
1032 "fait pas, mais renvoie B<F_UNLCK> dans le champ I<l_type> de I<lock> et "
1033 "laisse les autres champs de la structure inchangés."
1034
1035 #. type: Plain text
1036 #: debian-trixie fedora-44 fedora-rawhide
1037 msgid ""
1038 "If one or more incompatible locks would prevent this lock being placed, then "
1039 "B<fcntl>() returns details about one of those locks in the I<l_type>, "
1040 "I<l_whence>, I<l_start>, and I<l_len> fields of I<lock>. If the conflicting "
1041 "lock is a traditional (process-associated) record lock, then the I<l_pid> "
1042 "field is set to the PID of the process holding that lock. If the "
1043 "conflicting lock is an open file description lock, then I<l_pid> is set to "
1044 "-1. Note that the returned information may already be out of date by the "
1045 "time the caller inspects it."
1046 msgstr ""
1047 "Si un ou plusieurs verrouillages incompatibles empêchaient l'action, alors "
1048 "B<fcntl>() renvoie des informations sur l'un de ces verrous dans les champs "
1049 "I<l_type>, I<l_whence>, I<l_start>, et I<l_len> de I<lock>. Si le "
1050 "verrouillage en conflit est un verrouillage d’enregistrements UNIX "
1051 "traditionnels (« associé au processus »), alors le champ I<l_pid> est défini "
1052 "avec le PID du processus détenant ce verrou. Si le verrouillage en conflit "
1053 "est un verrouillage de description de fichier ouvert, alors I<l_pid> est "
1054 "défini à B<-1>. Remarquez que les renseignements renvoyés pourraient déjà "
1055 "être périmés au moment ou l’appelant les inspecte."
1056
1057 #. type: Plain text
1058 #: debian-trixie fedora-44 fedora-rawhide
1059 msgid ""
1060 "In order to place a read lock, I<fd> must be open for reading. In order to "
1061 "place a write lock, I<fd> must be open for writing. To place both types of "
1062 "lock, open a file read-write."
1063 msgstr ""
1064 "Pour pouvoir placer un verrou en lecture, I<fd> doit être ouvert au moins en "
1065 "lecture. Pour placer un verrou en écriture, I<fd> doit être ouvert en "
1066 "écriture. Pour placer les deux types de verrous, il faut une ouverture en "
1067 "lecture/écriture."
1068
1069 #. type: Plain text
1070 #: debian-trixie fedora-44 fedora-rawhide
1071 msgid ""
1072 "When placing locks with B<F_SETLKW>, the kernel detects I<deadlocks>, "
1073 "whereby two or more processes have their lock requests mutually blocked by "
1074 "locks held by the other processes. For example, suppose process A holds a "
1075 "write lock on byte 100 of a file, and process B holds a write lock on byte "
1076 "200. If each process then attempts to lock the byte already locked by the "
1077 "other process using B<F_SETLKW>, then, without deadlock detection, both "
1078 "processes would remain blocked indefinitely. When the kernel detects such "
1079 "deadlocks, it causes one of the blocking lock requests to immediately fail "
1080 "with the error B<EDEADLK>; an application that encounters such an error "
1081 "should release some of its locks to allow other applications to proceed "
1082 "before attempting regain the locks that it requires. Circular deadlocks "
1083 "involving more than two processes are also detected. Note, however, that "
1084 "there are limitations to the kernel's deadlock-detection algorithm; see BUGS."
1085 msgstr ""
1086 "Lors du placement de verrous avec B<F_SETLKW>, le noyau détecte les "
1087 "interblocages (I<deadlocks>), au moyen desquels au moins deux processus ont "
1088 "leurs demandes de verrouillage réciproquement bloquées par des verrous "
1089 "détenus par d’autres processus. Par exemple, supposons qu’un processus A "
1090 "détient un verrou d’écriture sur l’octet 100 d’un fichier et qu’un processus "
1091 "B détient un verrou d’écriture sur l’octet 200. Si les deux processus "
1092 "tentent alors de verrouiller l’octet déjà verrouillé par l’autre processus "
1093 "en utilisant B<F_SETLKW>, alors, sans détection d’interblocage, les deux "
1094 "processus resteront bloqués indéfiniment. Quand le noyau détecte ce type "
1095 "d’interblocages, il force l’une des demandes bloquantes de verrouillage à "
1096 "échouer immédiatement avec l’erreur B<EDEADLK> ; une application qui "
1097 "rencontre ce type d’erreur devrait libérer certains de ses verrous pour "
1098 "permettre à d’autres applications de continuer avant de tenter d’obtenir de "
1099 "nouveau les verrous dont elle a besoin. Les interblocages circulaires, "
1100 "impliquant plus de deux processus, sont également détectés. Remarquez, "
1101 "cependant, que l’algorithme de détection d’interblocages du noyau a ses "
1102 "limites, consultez B<BOGUES>."
1103
1104 #. type: Plain text
1105 #: debian-trixie fedora-44 fedora-rawhide
1106 msgid ""
1107 "As well as being removed by an explicit B<F_UNLCK>, record locks are "
1108 "automatically released when the process terminates."
1109 msgstr ""
1110 "Outre la suppression par un B<F_UNLCK> explicite, les verrous sont "
1111 "automatiquement libérés lorsque le processus se termine."
1112
1113 #. type: Plain text
1114 #: debian-trixie fedora-44 fedora-rawhide
1115 msgid ""
1116 "Record locks are not inherited by a child created via B<fork>(2), but are "
1117 "preserved across an B<execve>(2)."
1118 msgstr ""
1119 "Les verrouillages d'enregistrements ne sont pas hérités par les enfants lors "
1120 "d'un B<fork>(2), mais sont conservés à la fin d'un B<execve>(2)."
1121
1122 #. type: Plain text
1123 #: debian-trixie fedora-44 fedora-rawhide
1124 msgid ""
1125 "Because of the buffering performed by the B<stdio>(3) library, the use of "
1126 "record locking with routines in that package should be avoided; use "
1127 "B<read>(2) and B<write>(2) instead."
1128 msgstr ""
1129 "À cause des tampons gérés par la bibliothèque B<stdio>(3), l'utilisation des "
1130 "verrous d'enregistrements avec les routines de celle\\(hyci est "
1131 "déconseillée. Utilisez plutôt B<read>(2) et B<write>(2)."
1132
1133 #. type: Plain text
1134 #: debian-trixie fedora-44 fedora-rawhide
1135 msgid ""
1136 "The record locks described above are associated with the process (unlike the "
1137 "open file description locks described below). This has some unfortunate "
1138 "consequences:"
1139 msgstr ""
1140 "Les verrouillages d'enregistrements décrits précédemment sont associés au "
1141 "processus (contrairement aux verrouillages de description de fichier ouvert "
1142 "décrits ci-dessous). Cela a quelques conséquences malheureuses."
1143
1144 #. type: IP
1145 #: debian-trixie fedora-44 fedora-rawhide
1146 #, no-wrap
1147 msgid "\\[bu]"
1148 msgstr "-"
1149
1150 #. (Additional file descriptors referring to the same file
1151 #. may have been obtained by calls to
1152 #. .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().)
1153 #. type: Plain text
1154 #: debian-trixie fedora-44 fedora-rawhide
1155 msgid ""
1156 "If a process closes I<any> file descriptor referring to a file, then all of "
1157 "the process's locks on that file are released, regardless of the file "
1158 "descriptor(s) on which the locks were obtained. This is bad: it means that "
1159 "a process can lose its locks on a file such as I</etc/passwd> or I</etc/"
1160 "mtab> when for some reason a library function decides to open, read, and "
1161 "close the same file."
1162 msgstr ""
1163 "Si le processus ferme I<l'un> des descripteurs se référant à un fichier, "
1164 "alors tous les verrous du processus sur ce fichier sont libérés, quels que "
1165 "soient le ou les descripteurs de fichier sur lesquels les verrous avaient "
1166 "été obtenus. C'est dangereux\\ : cela signifie qu'un processus peut perdre "
1167 "ses verrous sur un fichier comme I</etc/passwd> ou I</etc/mtab> si, pour une "
1168 "raison quelconque, une fonction de bibliothèque décide d’ouvrir, lire, puis "
1169 "refermer le même fichier."
1170
1171 #. type: Plain text
1172 #: debian-trixie fedora-44 fedora-rawhide
1173 msgid ""
1174 "The threads in a process share locks. In other words, a multithreaded "
1175 "program can't use record locking to ensure that threads don't simultaneously "
1176 "access the same region of a file."
1177 msgstr ""
1178 "Les threads d’un processus partagent les verrous. Autrement dit, un "
1179 "programme multithreadé ne pas pas utiliser de verrouillage d’enregistrement "
1180 "pour s’assurer que les threads ne vont pas accéder simultanément à la même "
1181 "zone d’un fichier."
1182
1183 #. type: Plain text
1184 #: debian-trixie fedora-44 fedora-rawhide
1185 msgid "Open file description locks solve both of these problems."
1186 msgstr ""
1187 "Les verrouillages de description de fichier ouvert apportent une solution à "
1188 "ces deux problèmes."
1189
1190 #. FIXME . Review progress into POSIX
1191 #. http://austingroupbugs.net/view.php?id=768
1192 #. type: Plain text
1193 #: debian-trixie fedora-44 fedora-rawhide
1194 msgid ""
1195 "Open file description locks are advisory byte-range locks whose operation is "
1196 "in most respects identical to the traditional record locks described above. "
1197 "This lock type is Linux-specific, and available since Linux 3.15. (There is "
1198 "a proposal with the Austin Group to include this lock type in the next "
1199 "revision of POSIX.1.) For an explanation of open file descriptions, see "
1200 "B<open>(2)."
1201 msgstr ""
1202 "Les verrouillages de description de fichier ouvert sont des verrouillages "
1203 "d’intervalle d’octets coopératifs dont le fonctionnement est identique en "
1204 "presque tout point aux verrouillages d’enregistrements traditionnels décrits "
1205 "précédemment. Ce type de verrouillage est spécifique à Linux et disponible "
1206 "depuis la version 3.15. Pour une explication des descriptions de fichier "
1207 "ouvert, consultez B<open>(2)."
1208
1209 #. type: Plain text
1210 #: debian-trixie fedora-44 fedora-rawhide
1211 msgid ""
1212 "The principal difference between the two lock types is that whereas "
1213 "traditional record locks are associated with a process, open file "
1214 "description locks are associated with the open file description on which "
1215 "they are acquired, much like locks acquired with B<flock>(2). Consequently "
1216 "(and unlike traditional advisory record locks), open file description locks "
1217 "are inherited across B<fork>(2) (and B<clone>(2) with B<CLONE_FILES>), and "
1218 "are only automatically released on the last close of the open file "
1219 "description, instead of being released on any close of the file."
1220 msgstr ""
1221 "La principale différence entre les deux types de verrouillage est que les "
1222 "verrouillages d’enregistrements traditionnels sont associés à un processus, "
1223 "alors que les verrouillages de description de fichier ouvert sont associés à "
1224 "la description de fichier ouvert sur laquelle ils sont obtenus, tout comme "
1225 "les verrous obtenus avec B<flock>(2). Par conséquent (et contrairement aux "
1226 "verrouillages d’enregistrements coopératifs traditionnels), les "
1227 "verrouillages de description de fichier ouvert sont hérités entre B<fork>(2) "
1228 "(et B<clone>(2) avec B<CLONE_FILES>) et ne sont automatiquement libérés que "
1229 "lors de la dernière fermeture de la description de fichier ouvert, au lieu "
1230 "d’être libérés lors de n’importe quelle fermeture du fichier."
1231
1232 #. type: Plain text
1233 #: debian-trixie fedora-44 fedora-rawhide
1234 msgid ""
1235 "Conflicting lock combinations (i.e., a read lock and a write lock or two "
1236 "write locks) where one lock is an open file description lock and the other "
1237 "is a traditional record lock conflict even when they are acquired by the "
1238 "same process on the same file descriptor."
1239 msgstr ""
1240 "Les combinaisons de verrouillage de conflit (à savoir un verrouillage en "
1241 "lecture et en écriture, ou deux verrouillages en écriture), où l'un est un "
1242 "verrouillage de description de fichier ouvert, et l'autre un verrouillage "
1243 "traditionnel d'enregistrement sont toujours en conflit même lorsqu'ils sont "
1244 "acquis par le même processus sur le même descripteur de fichier."
1245
1246 #. type: Plain text
1247 #: debian-trixie fedora-44 fedora-rawhide
1248 msgid ""
1249 "Open file description locks placed via the same open file description (i.e., "
1250 "via the same file descriptor, or via a duplicate of the file descriptor "
1251 "created by B<fork>(2), B<dup>(2), B<fcntl>() B<F_DUPFD>, and so on) are "
1252 "always compatible: if a new lock is placed on an already locked region, then "
1253 "the existing lock is converted to the new lock type. (Such conversions may "
1254 "result in splitting, shrinking, or coalescing with an existing lock as "
1255 "discussed above.)"
1256 msgstr ""
1257 "Les verrouillages de description de fichier ouvert placés à l’aide de la "
1258 "même description de fichier ouvert (c’est-à-dire à l’aide du même "
1259 "descripteur de fichier ou à l’aide d’un descripteur de fichier dupliqué par "
1260 "B<fork>(2), B<dup>(2), B<fcntl>(2) B<F_DUPFD>, etc.) sont toujours "
1261 "compatibles : si un nouveau verrou est placé sur une zone déjà verrouillée, "
1262 "alors le verrou existant est converti suivant le nouveau (ces conversions "
1263 "pourraient avoir pour conséquence le découpage, la réduction ou l'extension "
1264 "du verrou existant comme évoqué précédemment)."
1265
1266 #. type: Plain text
1267 #: debian-trixie fedora-44 fedora-rawhide
1268 msgid ""
1269 "On the other hand, open file description locks may conflict with each other "
1270 "when they are acquired via different open file descriptions. Thus, the "
1271 "threads in a multithreaded program can use open file description locks to "
1272 "synchronize access to a file region by having each thread perform its own "
1273 "B<open>(2) on the file and applying locks via the resulting file descriptor."
1274 msgstr ""
1275 "En revanche, les verrouillages de description de fichier ouvert peuvent être "
1276 "en conflit entre eux quand ils sont obtenus à l’aide de descriptions de "
1277 "fichier ouvert différentes. Ainsi, les threads dans un programme "
1278 "multithreadé peuvent utiliser des verrouillages de description de fichier "
1279 "ouvert pour synchroniser l’accès à une zone de fichier si tous les threads "
1280 "réalisent leur propre appel d’B<open>(2) sur le fichier et utilisent les "
1281 "verrouillages à l’aide du descripteur de fichier qui en résulte."
1282
1283 #. type: Plain text
1284 #: debian-trixie fedora-44 fedora-rawhide
1285 msgid ""
1286 "As with traditional advisory locks, the third argument to B<fcntl>(), "
1287 "I<lock>, is a pointer to an I<flock> structure. By contrast with "
1288 "traditional record locks, the I<l_pid> field of that structure must be set "
1289 "to zero when using the operations described below."
1290 msgstr ""
1291 "Comme avec les verrouillages coopératifs traditionnels, le troisième "
1292 "argument de B<fcntl>(), I<lock>, est un pointeur vers une structure "
1293 "I<flock>. Contrairement aux verrouillages d’enregistrements traditionnels, "
1294 "le champ I<l_pid> de cette structure doit être mis à zéro lors de "
1295 "l’utilisation des opérations décrites ci-dessous."
1296
1297 #. type: Plain text
1298 #: debian-trixie fedora-44 fedora-rawhide
1299 msgid ""
1300 "The operations for working with open file description locks are analogous to "
1301 "those used with traditional locks:"
1302 msgstr ""
1303 "Les opérations permettant d’interagir avec les verrouillages de description "
1304 "de fichier ouvert sont similaires à celles utilisées avec les verrouillages "
1305 "traditionnels."
1306
1307 #. type: TP
1308 #: debian-trixie fedora-44 fedora-rawhide
1309 #, no-wrap
1310 msgid "B<F_OFD_SETLK> (I<struct flock *>)"
1311 msgstr "B<F_OFD_SETLK> (I<struct flock *>)"
1312
1313 #. type: Plain text
1314 #: debian-trixie fedora-44 fedora-rawhide
1315 msgid ""
1316 "Acquire an open file description lock (when I<l_type> is B<F_RDLCK> or "
1317 "B<F_WRLCK>) or release an open file description lock (when I<l_type> is "
1318 "B<F_UNLCK>) on the bytes specified by the I<l_whence>, I<l_start>, and "
1319 "I<l_len> fields of I<lock>. If a conflicting lock is held by another "
1320 "process, this call returns -1 and sets I<errno> to B<EAGAIN>."
1321 msgstr ""
1322 "Acquérir (si I<l_type> vaut B<F_RDLCK> ou B<F_WRLCK>) ou libérer (si "
1323 "I<l_type> vaut B<F_UNLCK>) un verrou de description de fichier ouvert sur "
1324 "les octets indiqués par les champs I<l_whence>, I<l_start> et I<l_len> de "
1325 "I<lock>. Si un conflit avec un verrou détenu par un autre processus existe, "
1326 "cet appel renvoie B<-1> et définit I<errno> à B<EAGAIN>."
1327
1328 #. type: TP
1329 #: debian-trixie fedora-44 fedora-rawhide
1330 #, no-wrap
1331 msgid "B<F_OFD_SETLKW> (I<struct flock *>)"
1332 msgstr "B<F_OFD_SETLKW> (I<struct flock *>)"
1333
1334 #. type: Plain text
1335 #: debian-trixie fedora-44 fedora-rawhide
1336 msgid ""
1337 "As for B<F_OFD_SETLK>, but if a conflicting lock is held on the file, then "
1338 "wait for that lock to be released. If a signal is caught while waiting, "
1339 "then the call is interrupted and (after the signal handler has returned) "
1340 "returns immediately (with return value -1 and I<errno> set to B<EINTR>; see "
1341 "B<signal>(7))."
1342 msgstr ""
1343 "Comme B<F_OFD_SETLK>, mais si un verrou en conflit existe sur le fichier "
1344 "attendre la libération du verrou. Si un signal à intercepter est reçu "
1345 "pendant l'attente, l'appel est interrompu et renverra immédiatement (après "
1346 "renvoi du gestionnaire de signaux) la valeur B<-1> et I<errno> sera définie "
1347 "à B<EINTR> ; consultez B<signal>(7)."
1348
1349 #. type: TP
1350 #: debian-trixie fedora-44 fedora-rawhide
1351 #, no-wrap
1352 msgid "B<F_OFD_GETLK> (I<struct flock *>)"
1353 msgstr "B<F_OFD_GETLK> (I<struct flock *>)"
1354
1355 #. type: Plain text
1356 #: debian-trixie fedora-44 fedora-rawhide
1357 msgid ""
1358 "On input to this call, I<lock> describes an open file description lock we "
1359 "would like to place on the file. If the lock could be placed, B<fcntl>() "
1360 "does not actually place it, but returns B<F_UNLCK> in the I<l_type> field of "
1361 "I<lock> and leaves the other fields of the structure unchanged. If one or "
1362 "more incompatible locks would prevent this lock being placed, then details "
1363 "about one of these locks are returned via I<lock>, as described above for "
1364 "B<F_GETLK>."
1365 msgstr ""
1366 "En entrée dans cette routine, I<lock> décrit un verrou de description de "
1367 "fichier ouvert que nous aimerions placer sur le fichier. Si le verrouillage "
1368 "est possible, B<fcntl>() ne le fait pas, mais renvoie B<F_UNLCK> dans le "
1369 "champ I<l_type> de I<lock> et laisse les autres champs de la structure "
1370 "inchangés. Si un ou plusieurs verrouillages incompatibles empêchaient "
1371 "l'action, alors des informations sur l'un de ces verrous sont renvoyés à "
1372 "l’aide de I<lock>, comme décrit précédemment pour B<F_GETLK>."
1373
1374 #. commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7
1375 #. type: Plain text
1376 #: debian-trixie fedora-44 fedora-rawhide
1377 msgid ""
1378 "In the current implementation, no deadlock detection is performed for open "
1379 "file description locks. (This contrasts with process-associated record "
1380 "locks, for which the kernel does perform deadlock detection.)"
1381 msgstr ""
1382 "Dans l’implémentation actuelle, aucune détection d’interblocage n’est "
1383 "réalisée pour les verrouillages de description de fichier ouvert "
1384 "(contrairement aux verrouillages d’enregistrements associés au processus, "
1385 "pour lesquels le noyau réalise une détection d’interblocage)."
1386
1387 #. type: SS
1388 #: debian-trixie fedora-44 fedora-rawhide
1389 #, no-wrap
1390 msgid "Mandatory locking"
1391 msgstr "Verrouillage impératif"
1392
1393 #. type: Plain text
1394 #: debian-trixie fedora-44 fedora-rawhide
1395 msgid ""
1396 "I<Warning>: the Linux implementation of mandatory locking is unreliable. "
1397 "See BUGS below. Because of these bugs, and the fact that the feature is "
1398 "believed to be little used, since Linux 4.5, mandatory locking has been made "
1399 "an optional feature, governed by a configuration option "
1400 "(B<CONFIG_MANDATORY_FILE_LOCKING>). This feature is no longer supported at "
1401 "all in Linux 5.15 and above."
1402 msgstr ""
1403 "I<Attention> : l'implémentation Linux du verrouillage obligatoire n'est pas "
1404 "fiable. Voir BOGUES ci-dessous. À cause de ces bogues et du fait que cette "
1405 "fonction soit vue comme peu utilisée, depuis Linux 4.5, le verrouillage "
1406 "obligatoire est devenu une fonction facultative gérée par une option de "
1407 "configuration (B<CONFIG_MANDATORY_FILE_LOCKING>). Cette fonctionnalité n'est "
1408 "plus prise en charge depuis Linux 5.15 et supérieur."
1409
1410 #. type: Plain text
1411 #: debian-trixie fedora-44 fedora-rawhide
1412 msgid ""
1413 "By default, both traditional (process-associated) and open file description "
1414 "record locks are advisory. Advisory locks are not enforced and are useful "
1415 "only between cooperating processes."
1416 msgstr ""
1417 "Par défaut, à la fois les verrouillages d’enregistrements traditionnels "
1418 "(associés au processus) et ceux de description de fichier ouvert sont "
1419 "coopératifs. Les verrouillages coopératifs ne sont pas imposés, donc ils ne "
1420 "fonctionnent qu'entre processus qui les utilisent."
1421
1422 #. type: Plain text
1423 #: debian-trixie fedora-44 fedora-rawhide
1424 msgid ""
1425 "Both lock types can also be mandatory. Mandatory locks are enforced for all "
1426 "processes. If a process tries to perform an incompatible access (e.g., "
1427 "B<read>(2) or B<write>(2)) on a file region that has an incompatible "
1428 "mandatory lock, then the result depends upon whether the B<O_NONBLOCK> flag "
1429 "is enabled for its open file description. If the B<O_NONBLOCK> flag is not "
1430 "enabled, then the system call is blocked until the lock is removed or "
1431 "converted to a mode that is compatible with the access. If the "
1432 "B<O_NONBLOCK> flag is enabled, then the system call fails with the error "
1433 "B<EAGAIN>."
1434 msgstr ""
1435 "Les deux types de verrouillages peuvent aussi être impératifs. Les verrous "
1436 "impératifs sont appliqués à tous les processus. Si un processus tente "
1437 "d'effectuer un accès incompatible (par exemple B<read>(2) ou B<write>(2)) "
1438 "sur une zone d'un fichier qui a un verrou impératif, le résultat dépend de "
1439 "l'attribut B<O_NONBLOCK> du descripteur de fichier. S'il n'est pas activé, "
1440 "l'appel système est bloqué jusqu'à ce que le verrou soit enlevé ou converti "
1441 "en un mode compatible avec l'accès demandé. Si l'attribut B<O_NONBLOCK> est "
1442 "activé, l'appel système échoue avec l'erreur B<EAGAIN>."
1443
1444 #. type: Plain text
1445 #: debian-trixie fedora-44 fedora-rawhide
1446 msgid ""
1447 "To make use of mandatory locks, mandatory locking must be enabled both on "
1448 "the filesystem that contains the file to be locked, and on the file itself. "
1449 "Mandatory locking is enabled on a filesystem using the \"-o mand\" option to "
1450 "B<mount>(8), or the B<MS_MANDLOCK> flag for B<mount>(2). Mandatory locking "
1451 "is enabled on a file by disabling group execute permission on the file and "
1452 "enabling the set-group-ID permission bit (see B<chmod>(1) and B<chmod>(2))."
1453 msgstr ""
1454 "Pour utiliser des verrous impératifs, ce type de verrouillage doit être "
1455 "activé sur le système de fichiers contenant le fichier à verrouiller (en "
1456 "utilisant l'option «\\ I<-o\\ mand>\\ » de B<mount>(8)), ou l'attribut "
1457 "B<MS_MANDLOCK> de B<mount>(2). Le verrouillage impératif est activé pour un "
1458 "fichier en désactivant la permission d'exécution du groupe et en activant le "
1459 "bit de permission Set-GID (consultez B<chmod>(1) et B<chmod>(2))."
1460
1461 #. type: Plain text
1462 #: debian-trixie fedora-44 fedora-rawhide
1463 msgid ""
1464 "Mandatory locking is not specified by POSIX. Some other systems also "
1465 "support mandatory locking, although the details of how to enable it vary "
1466 "across systems."
1467 msgstr ""
1468 "Le verrouillage impératif n’est pas défini par POSIX. Certains autres "
1469 "systèmes permettent également d’utiliser le verrouillage impératif, mais la "
1470 "façon de l’activer dépend des systèmes."
1471
1472 #. type: SS
1473 #: debian-trixie fedora-44 fedora-rawhide
1474 #, no-wrap
1475 msgid "Lost locks"
1476 msgstr "Verrouillages perdus"
1477
1478 #. type: Plain text
1479 #: debian-trixie fedora-44 fedora-rawhide
1480 msgid ""
1481 "When an advisory lock is obtained on a networked filesystem such as NFS it "
1482 "is possible that the lock might get lost. This may happen due to "
1483 "administrative action on the server, or due to a network partition (i.e., "
1484 "loss of network connectivity with the server) which lasts long enough for "
1485 "the server to assume that the client is no longer functioning."
1486 msgstr ""
1487 "Quand un verrou d'observation est obtenu sur un système de fichiers en "
1488 "réseau comme NFS, il est possible que le verrou soit perdu. Cela peut "
1489 "arriver suite à une action d'administration sur le serveur ou à une "
1490 "partition du réseau (à savoir une perte de la connexion réseau avec le "
1491 "serveur) qui dure assez pour que le serveur pense que le client ne "
1492 "fonctionne plus."
1493
1494 #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d
1495 #. type: Plain text
1496 #: debian-trixie fedora-44 fedora-rawhide
1497 msgid ""
1498 "When the filesystem determines that a lock has been lost, future B<read>(2) "
1499 "or B<write>(2) requests may fail with the error B<EIO>. This error will "
1500 "persist until the lock is removed or the file descriptor is closed. Since "
1501 "Linux 3.12, this happens at least for NFSv4 (including all minor versions)."
1502 msgstr ""
1503 "Quand un système de fichiers détermine qu'un verrou est perdu, les futures "
1504 "requêtes B<read>(2) ou B<write>(2) peuvent échouer avec l'erreur B<EIO>. "
1505 "Cette erreur persistera jusqu'à la suppression du verrou ou la fermeture du "
1506 "descripteur de fichier. Depuis Linux 3.12, cela se produit au moins sur "
1507 "NFSv4 (y compris toutes les versions mineures)."
1508
1509 #. type: Plain text
1510 #: debian-trixie fedora-44 fedora-rawhide
1511 msgid ""
1512 "Some versions of UNIX send a signal (B<SIGLOST>) in this circumstance. "
1513 "Linux does not define this signal, and does not provide any asynchronous "
1514 "notification of lost locks."
1515 msgstr ""
1516 "Certaines versions d'UNIX envoient un signal (B<SIGLOST>) dans ce cas. Linux "
1517 "ne définit pas ce signal et il ne fournit pas de notification asynchrone de "
1518 "perte de verrous."
1519
1520 #. type: Plain text
1521 #: debian-trixie fedora-44 fedora-rawhide
1522 msgid ""
1523 "B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and "
1524 "B<F_SETSIG> are used to manage I/O availability signals:"
1525 msgstr ""
1526 "B<F_GETOWN>, B<F_SETOWN>, B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG> et "
1527 "B<F_SETSIG> servent à gérer les signaux de disponibilité d'entrée-sortie\\ :"
1528
1529 #. type: TP
1530 #: debian-trixie fedora-44 fedora-rawhide
1531 #, no-wrap
1532 msgid "B<F_GETOWN> (I<void>)"
1533 msgstr "B<F_GETOWN> (I<void>)"
1534
1535 #. type: Plain text
1536 #: debian-trixie fedora-44 fedora-rawhide
1537 msgid ""
1538 "Return (as the function result) the process ID or process group ID "
1539 "currently receiving B<SIGIO> and B<SIGURG> signals for events on file "
1540 "descriptor I<fd>. Process IDs are returned as positive values; process "
1541 "group IDs are returned as negative values (but see BUGS below). I<arg> is "
1542 "ignored."
1543 msgstr ""
1544 "Renvoyer (comme résultat de la fonction) le PID ou l'ID de processus qui "
1545 "reçoit les signaux B<SIGIO> et B<SIGURG> pour les événements concernant le "
1546 "descripteur de fichier I<fd>. Les ID de processus sont renvoyés sous forme "
1547 "de valeurs positives ; les ID de groupe de processus sont renvoyés sous "
1548 "forme de valeurs négatives (mais consultez la section BOGUES ci\\"
1549 "(hydessous). I<arg> est ignoré."
1550
1551 #. type: TP
1552 #: debian-trixie fedora-44 fedora-rawhide
1553 #, no-wrap
1554 msgid "B<F_SETOWN> (I<int>)"
1555 msgstr "B<F_SETOWN> (I<int>)"
1556
1557 #. type: Plain text
1558 #: debian-trixie fedora-44 fedora-rawhide
1559 msgid ""
1560 "Set the process ID or process group ID that will receive B<SIGIO> and "
1561 "B<SIGURG> signals for events on the file descriptor I<fd>. The target "
1562 "process or process group ID is specified in I<arg>. A process ID is "
1563 "specified as a positive value; a process group ID is specified as a negative "
1564 "value. Most commonly, the calling process specifies itself as the owner "
1565 "(that is, I<arg> is specified as B<getpid>(2))."
1566 msgstr ""
1567 "Définir le PID ou l'identifiant de processus qui recevront les signaux "
1568 "B<SIGIO> et B<SIGURG> pour les événements concernant le descripteur I<fd>. "
1569 "L'ID de processus ou de groupe de processus cible est indiqué dans I<arg>. "
1570 "L'ID d'un processus est indiqué sous forme d'une valeur positive ; l'ID d'un "
1571 "groupe de processus est formulé en tant que valeur négative. En général, le "
1572 "processus appelant indique son propre PID comme argument (I<arg> est donc "
1573 "B<getpid>(2))."
1574
1575 #. type: Plain text
1576 #: debian-trixie fedora-44 fedora-rawhide
1577 msgid ""
1578 "As well as setting the file descriptor owner, one must also enable "
1579 "generation of signals on the file descriptor. This is done by using the "
1580 "B<fcntl>() B<F_SETFL> operation to set the B<O_ASYNC> file status flag on "
1581 "the file descriptor. Subsequently, a B<SIGIO> signal is sent whenever input "
1582 "or output becomes possible on the file descriptor. The B<fcntl>() "
1583 "B<F_SETSIG> operation can be used to obtain delivery of a signal other than "
1584 "B<SIGIO>."
1585 msgstr ""
1586 "Outre la définition du propriétaire du descripteur de fichier, vous pourriez "
1587 "aussi activer la génération de signaux sur le descripteur de fichier. Cela "
1588 "se fait en utilisant l'opération B<F_SETFL> de B<fcntl>() pour positionner "
1589 "le drapeau d'état du fichier B<O_ASYNC> sur le descripteur de fichier. Par "
1590 "conséquent, un signal B<SIGIO> est envoyé dès que l'entrée ou la sortie sont "
1591 "possibles sur ce descripteur. L'opération B<F_SETSIG> de B<fcntl>() peut "
1592 "être utilisée pour recevoir un autre signal que B<SIGIO>."
1593
1594 #. type: Plain text
1595 #: debian-trixie fedora-44 fedora-rawhide
1596 msgid ""
1597 "Sending a signal to the owner process (group) specified by B<F_SETOWN> is "
1598 "subject to the same permissions checks as are described for B<kill>(2), "
1599 "where the sending process is the one that employs B<F_SETOWN> (but see BUGS "
1600 "below). If this permission check fails, then the signal is silently "
1601 "discarded. I<Note>: The B<F_SETOWN> operation records the caller's "
1602 "credentials at the time of the B<fcntl>() call, and it is these saved "
1603 "credentials that are used for the permission checks."
1604 msgstr ""
1605 "L'envoi d'un signal au processus (ou groupe de processus) propriétaire "
1606 "indiqué par B<F_SETOWN> est conditionné par les mêmes vérifications de "
1607 "permissions que l'envoi d'un signal par B<kill>(2), où le processus envoyant "
1608 "le signal est celui qui utilise B<F_SETOWN> (mais consultez la section "
1609 "BOGUES ci\\(hydessous). Si cette vérification échoue, le signal est ignoré "
1610 "silencieusement. I<Note> : l'opération B<F_SETOWN> enregistre les droits de "
1611 "l'appelant utilisés lors de l'appel B<fcntl>() pour les vérifications de "
1612 "permissions."
1613
1614 #. The following appears to be rubbish. It doesn't seem to
1615 #. be true according to the kernel source, and I can write
1616 #. a program that gets a terminal-generated SIGIO even though
1617 #. it is not the foreground process group of the terminal.
1618 #. -- MTK, 8 Apr 05
1619 #. If the file descriptor
1620 #. .I fd
1621 #. refers to a terminal device, then SIGIO
1622 #. signals are sent to the foreground process group of the terminal.
1623 #. type: Plain text
1624 #: debian-trixie fedora-44 fedora-rawhide
1625 msgid ""
1626 "If the file descriptor I<fd> refers to a socket, B<F_SETOWN> also selects "
1627 "the recipient of B<SIGURG> signals that are delivered when out-of-band data "
1628 "arrives on that socket. (B<SIGURG> is sent in any situation where "
1629 "B<select>(2) would report the socket as having an \"exceptional "
1630 "condition\".)"
1631 msgstr ""
1632 "Si le descripteur I<fd> est un socket, B<F_SETOWN> permet également la "
1633 "réception de signaux B<SIGURG> lorsque des données hors\\(hybande arrivent "
1634 "sur le socket. (B<SIGURG> est émis dans toutes les situations où l'appel "
1635 "B<select>(2) aurait indiqué que le socket est dans une «\\ situation "
1636 "exceptionnelle\\ ».)"
1637
1638 #. type: Plain text
1639 #: debian-trixie fedora-44 fedora-rawhide
1640 msgid "The following was true in Linux 2.6.x up to and including Linux 2.6.11:"
1641 msgstr ""
1642 "Le paragraphe ci-dessous était pertinent Linux 2.6.x, jusqu'à Linux 2.6.11 "
1643 "inclus\\ :"
1644
1645 #. The relevant place in the (2.6) kernel source is the
1646 #. 'switch' in fs/fcntl.c::send_sigio_to_task() -- MTK, Apr 2005
1647 #. send_sigurg()/send_sigurg_to_task() bypasses
1648 #. kill_fasync()/send_sigio()/send_sigio_to_task()
1649 #. to directly call send_group_sig_info()
1650 #. -- MTK, Apr 2005 (kernel 2.6.11)
1651 #. type: Plain text
1652 #: debian-trixie fedora-44 fedora-rawhide
1653 msgid ""
1654 "If a nonzero value is given to B<F_SETSIG> in a multithreaded process "
1655 "running with a threading library that supports thread groups (e.g., NPTL), "
1656 "then a positive value given to B<F_SETOWN> has a different meaning: instead "
1657 "of being a process ID identifying a whole process, it is a thread ID "
1658 "identifying a specific thread within a process. Consequently, it may be "
1659 "necessary to pass B<F_SETOWN> the result of B<gettid>(2) instead of "
1660 "B<getpid>(2) to get sensible results when B<F_SETSIG> is used. (In current "
1661 "Linux threading implementations, a main thread's thread ID is the same as "
1662 "its process ID. This means that a single-threaded program can equally use "
1663 "B<gettid>(2) or B<getpid>(2) in this scenario.) Note, however, that the "
1664 "statements in this paragraph do not apply to the B<SIGURG> signal generated "
1665 "for out-of-band data on a socket: this signal is always sent to either a "
1666 "process or a process group, depending on the value given to B<F_SETOWN>."
1667 msgstr ""
1668 "Si une valeur non nulle est passée à B<F_SETSIG> dans un processus "
1669 "multithreadé utilisant une bibliothèque de threads gérant les groupes de "
1670 "threads (par exemple NPTL), une valeur positive passée à B<F_SETOWN> a une "
1671 "signification différente\\ : au lieu d'être un PID identifiant tout un "
1672 "processus, il s'agit d'un identifiant de thread, référant à un thread "
1673 "spécifique dans un processus. Par conséquent, il peut être nécessaire de "
1674 "passer à B<F_SETOWN> la valeur renvoyée par B<gettid>(2) plutôt que celle "
1675 "renvoyée par B<getpid>(2) pour obtenir les résultats souhaités si "
1676 "B<F_SETSIG> est utilisé. (Dans les implémentations actuelles des threads "
1677 "sous Linux, l'identifiant de thread (TID) du thread principal est son "
1678 "identifiant de processus. Cela signifie qu'un processus avec un seul thread "
1679 "peut utiliser indifféremment B<gettid>(2) ou B<getpid>(2).) Veuillez "
1680 "toutefois noter que les remarques de ce paragraphe ne s'appliquent pas au "
1681 "signal B<SIGURG> généré lorsque des données hors\\(hybande sont disponibles "
1682 "sur un socket\\ : ce signal est toujours envoyé soit à un processus, soit à "
1683 "un groupe de processus, selon la valeur donnée à B<F_SETOWN>."
1684
1685 #. type: Plain text
1686 #: debian-trixie fedora-44 fedora-rawhide
1687 msgid ""
1688 "The above behavior was accidentally dropped in Linux 2.6.12, and won't be "
1689 "restored. From Linux 2.6.32 onward, use B<F_SETOWN_EX> to target B<SIGIO> "
1690 "and B<SIGURG> signals at a particular thread."
1691 msgstr ""
1692 "Le comportement ci-dessus a été supprimé par accident dans Linux 2.6.12, et "
1693 "ne sera pas remis. À partir de Linux 2.6.32, utilisez B<F_SETOWN_EX> pour "
1694 "envoyer les signaux B<SIGIO> et B<SIGURG> à un thread en particulier."
1695
1696 #. type: TP
1697 #: debian-trixie fedora-44 fedora-rawhide
1698 #, no-wrap
1699 msgid "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)"
1700 msgstr "B<F_GETOWN_EX> (I<struct f_owner_ex *>) (depuis Linux 2.6.32)"
1701
1702 #. type: Plain text
1703 #: debian-trixie fedora-44 fedora-rawhide
1704 msgid ""
1705 "Return the current file descriptor owner settings as defined by a previous "
1706 "B<F_SETOWN_EX> operation. The information is returned in the structure "
1707 "pointed to by I<arg>, which has the following form:"
1708 msgstr ""
1709 "Renvoyer les paramètres du propriétaire du descripteur de fichier actuel, "
1710 "tels que définis par une utilisation antériefure de B<F_SETOWN_EX>. "
1711 "L'information est renvoyée dans la structure pointée par I<arg>, qui a la "
1712 "forme suivante\\ :"
1713
1714 #. type: Plain text
1715 #: debian-trixie fedora-44 fedora-rawhide
1716 #, no-wrap
1717 msgid ""
1718 "struct f_owner_ex {\n"
1719 " int type;\n"
1720 " pid_t pid;\n"
1721 "};\n"
1722 msgstr ""
1723 "struct f_owner_ex {\n"
1724 " int type;\n"
1725 " pid_t pid;\n"
1726 "};\n"
1727
1728 #. type: Plain text
1729 #: debian-trixie fedora-44 fedora-rawhide
1730 msgid ""
1731 "The I<type> field will have one of the values B<F_OWNER_TID>, "
1732 "B<F_OWNER_PID>, or B<F_OWNER_PGRP>. The I<pid> field is a positive integer "
1733 "representing a thread ID, process ID, or process group ID. See "
1734 "B<F_SETOWN_EX> for more details."
1735 msgstr ""
1736 "Le champ I<type> aura l'une des valeurs B<F_OWNER_TID>, B<F_OWNER_PID> ou "
1737 "B<F_OWNER_PGRP>. Le champ I<pid> est un entier positif représentant un "
1738 "identifiant de thread, de processus ou de groupe de processus. Consultez "
1739 "B<F_SETOWN_EX> pour plus de détails."
1740
1741 #. type: TP
1742 #: debian-trixie fedora-44 fedora-rawhide
1743 #, no-wrap
1744 msgid "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (since Linux 2.6.32)"
1745 msgstr "B<F_SETOWN_EX> (I<struct f_owner_ex *>) (depuis Linux 2.6.32)"
1746
1747 #. type: Plain text
1748 #: debian-trixie fedora-44 fedora-rawhide
1749 msgid ""
1750 "This operation performs a similar task to B<F_SETOWN>. It allows the caller "
1751 "to direct I/O availability signals to a specific thread, process, or process "
1752 "group. The caller specifies the target of signals via I<arg>, which is a "
1753 "pointer to a I<f_owner_ex> structure. The I<type> field has one of the "
1754 "following values, which define how I<pid> is interpreted:"
1755 msgstr ""
1756 "Cette opération effectue une tâche similaire à B<F_SETOWN>. Elle autorise "
1757 "l'appelant à diriger les signaux de disponibilité d'entrées-sorties vers un "
1758 "thread, un processus ou un groupe de processus spécifiques. L'appellant "
1759 "indique le destinataire des signaux avec I<arg>, qui est un pointeur vers "
1760 "une structure I<f_owner_ex>. Le champ I<type> possède l'une des valeurs "
1761 "suivantes, qui définit comment I<pid> est interprété\\ :"
1762
1763 #. type: TP
1764 #: debian-trixie fedora-44 fedora-rawhide
1765 #, no-wrap
1766 msgid "B<F_OWNER_TID>"
1767 msgstr "B<F_OWNER_TID>"
1768
1769 #. type: Plain text
1770 #: debian-trixie fedora-44 fedora-rawhide
1771 msgid ""
1772 "Send the signal to the thread whose thread ID (the value returned by a call "
1773 "to B<clone>(2) or B<gettid>(2)) is specified in I<pid>."
1774 msgstr ""
1775 "Envoyer le signal au thread dont l'identifiant (la valeur renvoyée par un "
1776 "appel à B<clone>(2) ou B<gettid>(2)) est indiqué par I<pid>."
1777
1778 #. type: TP
1779 #: debian-trixie fedora-44 fedora-rawhide
1780 #, no-wrap
1781 msgid "B<F_OWNER_PID>"
1782 msgstr "B<F_OWNER_PID>"
1783
1784 #. type: Plain text
1785 #: debian-trixie fedora-44 fedora-rawhide
1786 msgid "Send the signal to the process whose ID is specified in I<pid>."
1787 msgstr ""
1788 "Envoyer le signal au processus dont l'identifiant est indiqué par I<pid>."
1789
1790 #. type: TP
1791 #: debian-trixie fedora-44 fedora-rawhide
1792 #, no-wrap
1793 msgid "B<F_OWNER_PGRP>"
1794 msgstr "B<F_OWNER_PGRP>"
1795
1796 #. type: Plain text
1797 #: debian-trixie fedora-44 fedora-rawhide
1798 msgid ""
1799 "Send the signal to the process group whose ID is specified in I<pid>. (Note "
1800 "that, unlike with B<F_SETOWN>, a process group ID is specified as a positive "
1801 "value here.)"
1802 msgstr ""
1803 "Envoyer le signal au groupe de processus dont l'identifiant est indiqué par "
1804 "I<pid>. Notez que, à la différence de B<F_SETOWN>, un identifiant de groupe "
1805 "de processus est indiqué ici avec une valeur positive."
1806
1807 #. type: TP
1808 #: debian-trixie fedora-44 fedora-rawhide
1809 #, no-wrap
1810 msgid "B<F_GETSIG> (I<void>)"
1811 msgstr "B<F_GETSIG> (I<void>)"
1812
1813 #. type: Plain text
1814 #: debian-trixie fedora-44 fedora-rawhide
1815 msgid ""
1816 "Return (as the function result) the signal sent when input or output "
1817 "becomes possible. A value of zero means B<SIGIO> is sent. Any other value "
1818 "(including B<SIGIO>) is the signal sent instead, and in this case "
1819 "additional info is available to the signal handler if installed with "
1820 "B<SA_SIGINFO>. I<arg> is ignored."
1821 msgstr ""
1822 "Renvoyer (comme résultat de la fonction) le numéro du signal émis lorsque "
1823 "l'entrée ou la sortie deviennent possibles. Une valeur nulle signifie "
1824 "l'émission de B<SIGIO>. Toute autre valeur (y compris B<SIGIO>) précise le "
1825 "signal émis, et des informations supplémentaires seront disponibles pour le "
1826 "gestionnaire s'il est installé avec B<SA_SIGINFO>. I<arg> est ignoré."
1827
1828 #. type: TP
1829 #: debian-trixie fedora-44 fedora-rawhide
1830 #, no-wrap
1831 msgid "B<F_SETSIG> (I<int>)"
1832 msgstr "B<F_SETSIG> (I<int>)"
1833
1834 #. The following was true only up until Linux 2.6.11:
1835 #. Additionally, passing a nonzero value to
1836 #. .B F_SETSIG
1837 #. changes the signal recipient from a whole process to a specific thread
1838 #. within a process.
1839 #. See the description of
1840 #. .B F_SETOWN
1841 #. for more details.
1842 #. type: Plain text
1843 #: debian-trixie fedora-44 fedora-rawhide
1844 msgid ""
1845 "Set the signal sent when input or output becomes possible to the value given "
1846 "in I<arg>. A value of zero means to send the default B<SIGIO> signal. Any "
1847 "other value (including B<SIGIO>) is the signal to send instead, and in this "
1848 "case additional info is available to the signal handler if installed with "
1849 "B<SA_SIGINFO>."
1850 msgstr ""
1851 "Définir le signal à émettre lorsque l'entrée ou la sortie deviennent "
1852 "possibles à la valeur fournie par I<arg>. Une valeur nulle signifie "
1853 "l'émission de B<SIGIO>. Toute autre valeur (y compris B<SIGIO>) précise le "
1854 "signal à émettre, et des informations supplémentaires seront disponibles "
1855 "pour le gestionnaire s'il est installé avec B<SA_SIGINFO>."
1856
1857 #. type: Plain text
1858 #: debian-trixie fedora-44 fedora-rawhide
1859 msgid ""
1860 "By using B<F_SETSIG> with a nonzero value, and setting B<SA_SIGINFO> for the "
1861 "signal handler (see B<sigaction>(2)), extra information about I/O events is "
1862 "passed to the handler in a I<siginfo_t> structure. If the I<si_code> field "
1863 "indicates the source is B<SI_SIGIO>, the I<si_fd> field gives the file "
1864 "descriptor associated with the event. Otherwise, there is no indication "
1865 "which file descriptors are pending, and you should use the usual mechanisms "
1866 "(B<select>(2), B<poll>(2), B<read>(2) with B<O_NONBLOCK> set etc.) to "
1867 "determine which file descriptors are available for I/O."
1868 msgstr ""
1869 "En utilisant B<F_SETSIG> avec une valeur non nulle, et en configurant "
1870 "B<SA_SIGINFO> pour le gestionnaire (consultez B<sigaction>(2)), des "
1871 "informations supplémentaires sur les événements d'entrées-sorties sont "
1872 "fournies au gestionnaire à travers une structure I<siginfo_t>. Si le champ "
1873 "I<si_code> indique que la source est B<SI_SIGIO>, le champ I<si_fd> fournit "
1874 "le descripteur du fichier concerné par l'événement. Sinon, il n'y a pas "
1875 "d'indication de descripteurs de fichier en attente, et il faut utiliser les "
1876 "mécanismes habituels (B<select>(2), B<poll>(2), B<read>(2) avec "
1877 "B<O_NONBLOCK> configuré, etc.) pour déterminer quels descripteurs de fichier "
1878 "sont disponibles pour les entrées-sorties."
1879
1880 #. type: Plain text
1881 #: debian-trixie fedora-44 fedora-rawhide
1882 msgid ""
1883 "Note that the file descriptor provided in I<si_fd> is the one that was "
1884 "specified during the B<F_SETSIG> operation. This can lead to an unusual "
1885 "corner case. If the file descriptor is duplicated (B<dup>(2) or similar), "
1886 "and the original file descriptor is closed, then I/O events will continue to "
1887 "be generated, but the I<si_fd> field will contain the number of the now "
1888 "closed file descriptor."
1889 msgstr ""
1890 "Remarquez que le descripteur de fichier fourni dans I<si_fd> est celui "
1891 "indiqué lors de l'opération B<F_SETSIG>. Cela peut provoquer un effet de "
1892 "bord inhabituel. Si le descripteur de fichier est dupliqué (B<dup>(2) ou "
1893 "équivalent), et si le descripteur de fichier d'origine est fermé, alors des "
1894 "événements E/S continueront à être émis mais le champ I<si_fd> contiendra le "
1895 "numéro du descripteur de fichier à présent fermé."
1896
1897 #. type: Plain text
1898 #: debian-trixie fedora-44 fedora-rawhide
1899 msgid ""
1900 "By selecting a real time signal (value E<gt>= B<SIGRTMIN>), multiple I/O "
1901 "events may be queued using the same signal numbers. (Queuing is dependent "
1902 "on available memory.) Extra information is available if B<SA_SIGINFO> is "
1903 "set for the signal handler, as above."
1904 msgstr ""
1905 "En sélectionnant un signal temps réel (valeur E<gt>= B<SIGRTMIN>), de "
1906 "multiples événements d'entrées-sorties peuvent être mémorisés avec le même "
1907 "numéro (la mémorisation dépend de la mémoire disponible). Des informations "
1908 "supplémentaires sont disponibles, comme ci\\(hydessus, si B<SA_SIGINFO> est "
1909 "configuré pour le gestionnaire."
1910
1911 #. See fs/fcntl.c::send_sigio_to_task() (2.4/2.6) sources -- MTK, Apr 05
1912 #. type: Plain text
1913 #: debian-trixie fedora-44 fedora-rawhide
1914 msgid ""
1915 "Note that Linux imposes a limit on the number of real-time signals that may "
1916 "be queued to a process (see B<getrlimit>(2) and B<signal>(7)) and if this "
1917 "limit is reached, then the kernel reverts to delivering B<SIGIO>, and this "
1918 "signal is delivered to the entire process rather than to a specific thread."
1919 msgstr ""
1920 "Notez que Linux impose une limite sur le nombre de signaux temps réel qui "
1921 "peuvent être mis en attente pour un processus (consultez B<getrlimit>(2) et "
1922 "B<signal>(7)), et si cette limite est atteinte, le noyau change de "
1923 "comportement et envoie B<SIGIO>, et ce signal est délivré au processus "
1924 "entier plutôt qu'au thread spécifique."
1925
1926 #. type: Plain text
1927 #: debian-trixie fedora-44 fedora-rawhide
1928 msgid ""
1929 "Using these mechanisms, a program can implement fully asynchronous I/O "
1930 "without using B<select>(2) or B<poll>(2) most of the time."
1931 msgstr ""
1932 "En utilisant ces mécanismes, un programme peut implémenter des entrées-"
1933 "sorties totalement asynchrones, la plupart du temps sans avoir besoin "
1934 "d'invoquer B<select>(2) ou B<poll>(2)."
1935
1936 #. type: Plain text
1937 #: debian-trixie fedora-44 fedora-rawhide
1938 msgid ""
1939 "The use of B<O_ASYNC> is specific to BSD and Linux. The only use of "
1940 "B<F_GETOWN> and B<F_SETOWN> specified in POSIX.1 is in conjunction with the "
1941 "use of the B<SIGURG> signal on sockets. (POSIX does not specify the "
1942 "B<SIGIO> signal.) B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_GETSIG>, and "
1943 "B<F_SETSIG> are Linux-specific. POSIX has asynchronous I/O and the "
1944 "I<aio_sigevent> structure to achieve similar things; these are also "
1945 "available in Linux as part of the GNU C Library (glibc)."
1946 msgstr ""
1947 "L'utilisation de B<O_ASYNC> est spécifique à BSD et Linux. La seule "
1948 "utilisation de B<F_GETOWN> et B<F_SETOWN> spécifiée dans POSIX.1 est en "
1949 "conjonction avec l’utilisation du signal B<SIGURG> sur les sockets (POSIX ne "
1950 "spécifie pas le signal B<SIGIO>). B<F_GETOWN_EX>, B<F_SETOWN_EX>, "
1951 "B<F_GETSIG> et B<F_SETSIG> sont spécifiques à Linux. POSIX dispose d'entrées-"
1952 "sorties asynchrones et de la structure I<aio_sigevent> pour effectuer la "
1953 "même chose. Cela est également disponible sous Linux dans la bibliothèque "
1954 "GNU C (glibc)."
1955
1956 #. type: Plain text
1957 #: debian-trixie fedora-44 fedora-rawhide
1958 msgid ""
1959 "B<F_SETLEASE> and B<F_GETLEASE> (Linux 2.4 onward) are used to establish a "
1960 "new lease, and retrieve the current lease, on the open file description "
1961 "referred to by the file descriptor I<fd>. A file lease provides a mechanism "
1962 "whereby the process holding the lease (the \"lease holder\") is notified "
1963 "(via delivery of a signal) when a process (the \"lease breaker\") tries to "
1964 "B<open>(2) or B<truncate>(2) the file referred to by that file descriptor."
1965 msgstr ""
1966 "B<F_SETLEASE> et B<F_GETLEASE> (depuis Linux 2.4) servent respectivement à "
1967 "établir un nouveau bail et à consulter le bail actuel sur le descripteur de "
1968 "fichier indiqué par I<fd>. (NdT\\ : je traduis «\\ lease\\ » par «\\ "
1969 "bail\\ », faute de terme plus technique.) Le bail sur un fichier fournit un "
1970 "mécanisme par lequel un processus détenteur du bail est averti (par "
1971 "délivrance d'un signal) lorsqu'un autre processus (le «\\ casseur de "
1972 "bail\\ ») essaie d'appeler B<open>(2) ou B<truncate>(2) sur le fichier vers "
1973 "lequel pointe ce descripteur de fichier."
1974
1975 #. type: TP
1976 #: debian-trixie fedora-44 fedora-rawhide
1977 #, no-wrap
1978 msgid "B<F_SETLEASE> (I<int>)"
1979 msgstr "B<F_SETLEASE> (I<int>)"
1980
1981 #. type: Plain text
1982 #: debian-trixie fedora-44 fedora-rawhide
1983 msgid ""
1984 "Set or remove a file lease according to which of the following values is "
1985 "specified in the integer I<arg>:"
1986 msgstr ""
1987 "Définir ou supprimer un bail de fichier en fonction de la valeur fournie "
1988 "dans l'entier I<arg>\\ :"
1989
1990 #. type: TP
1991 #: debian-trixie fedora-44 fedora-rawhide
1992 #, no-wrap
1993 msgid "B<F_RDLCK>"
1994 msgstr "B<F_RDLCK>"
1995
1996 #. The following became true in Linux 2.6.10:
1997 #. See the man-pages-2.09 Changelog for further info.
1998 #. type: Plain text
1999 #: debian-trixie fedora-44 fedora-rawhide
2000 msgid ""
2001 "Take out a read lease. This will cause the calling process to be notified "
2002 "when the file is opened for writing or is truncated. A read lease can be "
2003 "placed only on a file descriptor that is opened read-only."
2004 msgstr ""
2005 "Prendre un bail en lecture. Le processus appelant sera prévenu lorsqu'un "
2006 "autre processus ouvrira le fichier en écriture ou le tronquera. Un bail en "
2007 "lecture ne peut être placé que sur un descripteur de fichier ouvert en "
2008 "lecture seule."
2009
2010 #. type: TP
2011 #: debian-trixie fedora-44 fedora-rawhide
2012 #, no-wrap
2013 msgid "B<F_WRLCK>"
2014 msgstr "B<F_WRLCK>"
2015
2016 #. type: Plain text
2017 #: debian-trixie fedora-44 fedora-rawhide
2018 msgid ""
2019 "Take out a write lease. This will cause the caller to be notified when the "
2020 "file is opened for reading or writing or is truncated. A write lease may be "
2021 "placed on a file only if there are no other open file descriptors for the "
2022 "file."
2023 msgstr ""
2024 "Prendre un bail en écriture. Le processus appelant sera prévenu lorsqu'un "
2025 "autre processus ouvrira le fichier (en lecture ou écriture) ou le tronquera. "
2026 "Un bail en écriture ne peut être pris sur le fichier que s'il n'y a aucun "
2027 "autre descripteur de fichier ouvert pour le fichier."
2028
2029 #. type: TP
2030 #: debian-trixie fedora-44 fedora-rawhide
2031 #, no-wrap
2032 msgid "B<F_UNLCK>"
2033 msgstr "B<F_UNLCK>"
2034
2035 #. type: Plain text
2036 #: debian-trixie fedora-44 fedora-rawhide
2037 msgid "Remove our lease from the file."
2038 msgstr "Supprimer le bail sur un fichier."
2039
2040 #. type: Plain text
2041 #: debian-trixie fedora-44 fedora-rawhide
2042 msgid ""
2043 "Leases are associated with an open file description (see B<open>(2)). This "
2044 "means that duplicate file descriptors (created by, for example, B<fork>(2) "
2045 "or B<dup>(2)) refer to the same lease, and this lease may be modified or "
2046 "released using any of these descriptors. Furthermore, the lease is released "
2047 "by either an explicit B<F_UNLCK> operation on any of these duplicate file "
2048 "descriptors, or when all such file descriptors have been closed."
2049 msgstr ""
2050 "Les baux sont associés à une description de fichier ouvert (consultez "
2051 "B<open>(2)). Cela signifie que les descripteurs de fichier dupliqués (créés "
2052 "par, par exemple, B<fork>(2) ou B<dup>(2)) font référence au même bail, et "
2053 "que ce bail peut être modifié ou résilié par n'importe lequel de ces "
2054 "descripteurs. De plus, le bail est résilié soit par une opération B<F_UNLCK> "
2055 "explicite sur n'importe lequel de ces descripteurs dupliqués, soit lorsque "
2056 "tous ces descripteurs ont été fermés."
2057
2058 #. type: Plain text
2059 #: debian-trixie fedora-44 fedora-rawhide
2060 msgid ""
2061 "Leases may be taken out only on regular files. An unprivileged process may "
2062 "take out a lease only on a file whose UID (owner) matches the filesystem UID "
2063 "of the process. A process with the B<CAP_LEASE> capability may take out "
2064 "leases on arbitrary files."
2065 msgstr ""
2066 "Les baux ne peuvent être pris que sur des fichiers normaux. Un processus non "
2067 "privilégié ne peut prendre un bail que sur un fichier dont l'UID (le "
2068 "propriétaire) correspond au FS-UID du processus. Un processus possédant la "
2069 "capacité B<CAP_LEASE> peut prendre un bail sur n'importe quel fichier."
2070
2071 #. type: TP
2072 #: debian-trixie fedora-44 fedora-rawhide
2073 #, no-wrap
2074 msgid "B<F_GETLEASE> (I<void>)"
2075 msgstr "B<F_GETLEASE> (I<void>)"
2076
2077 #. type: Plain text
2078 #: debian-trixie fedora-44 fedora-rawhide
2079 msgid ""
2080 "Indicates what type of lease is associated with the file descriptor I<fd> by "
2081 "returning either B<F_RDLCK>, B<F_WRLCK>, or B<F_UNLCK>, indicating, "
2082 "respectively, a read lease , a write lease, or no lease. I<arg> is ignored."
2083 msgstr ""
2084 "Indiquer le type de bail possédé sur le descripteur de fichier I<fd> en "
2085 "renvoyant B<F_RDLCK>, B<F_WRLCK>, ou B<F_UNLCK>, signifiant respectivement "
2086 "que le processus appelant a un bail en lecture, écriture, ou pas de bail sur "
2087 "le fichier. I<arg> est ignoré."
2088
2089 #. type: Plain text
2090 #: debian-trixie fedora-44 fedora-rawhide
2091 msgid ""
2092 "When a process (the \"lease breaker\") performs an B<open>(2) or "
2093 "B<truncate>(2) that conflicts with a lease established via B<F_SETLEASE>, "
2094 "the system call is blocked by the kernel and the kernel notifies the lease "
2095 "holder by sending it a signal (B<SIGIO> by default). The lease holder "
2096 "should respond to receipt of this signal by doing whatever cleanup is "
2097 "required in preparation for the file to be accessed by another process "
2098 "(e.g., flushing cached buffers) and then either remove or downgrade its "
2099 "lease. A lease is removed by performing an B<F_SETLEASE> operation "
2100 "specifying I<arg> as B<F_UNLCK>. If the lease holder currently holds a "
2101 "write lease on the file, and the lease breaker is opening the file for "
2102 "reading, then it is sufficient for the lease holder to downgrade the lease "
2103 "to a read lease. This is done by performing an B<F_SETLEASE> operation "
2104 "specifying I<arg> as B<F_RDLCK>."
2105 msgstr ""
2106 "Lorsqu'un processus (le «\\ casseur de bail\\ ») appelle B<open>(2) ou "
2107 "B<truncate>(2) en conflit avec un bail établi par B<F_SETLEASE>, l'appel "
2108 "système est bloqué par le noyau et le noyau avertit le processus tenant le "
2109 "bail par l'envoi d'un signal (B<SIGIO> par défaut). Le tenant du bail doit "
2110 "répondre à ce signal en effectuant tout le nettoyage nécessaire pour que le "
2111 "fichier soit accessible par un autre processus (par exemple en vidant des "
2112 "tampons internes) et en supprimant ou déclassant son bail. Un bail est "
2113 "supprimé en appelant l'opération B<F_SETLEASE> avec I<arg> valant "
2114 "B<F_UNLCK>. Si le tenant du bail possède un bail en écriture sur le fichier "
2115 "et que le casseur de bail ouvre le fichier en lecture, il est suffisant que "
2116 "le tenant du bail déclasse le bail en un bail en lecture. Cela est effectué "
2117 "en appelant l'opération B<F_SETLEASE> avec I<arg> valant B<F_RDLCK>."
2118
2119 #. type: Plain text
2120 #: debian-trixie fedora-44 fedora-rawhide
2121 msgid ""
2122 "If the lease holder fails to downgrade or remove the lease within the number "
2123 "of seconds specified in I</proc/sys/fs/lease-break-time>, then the kernel "
2124 "forcibly removes or downgrades the lease holder's lease."
2125 msgstr ""
2126 "Si le détenteur du bail n'arrive pas à le déclasser ou le supprimer avant le "
2127 "nombre de secondes indiqué dans I</proc/sys/fs/lease-break-time> alors le "
2128 "noyau supprimera ou déclassera de force le bail du processus qui le détient."
2129
2130 #. type: Plain text
2131 #: debian-trixie fedora-44 fedora-rawhide
2132 msgid ""
2133 "Once a lease break has been initiated, B<F_GETLEASE> returns the target "
2134 "lease type (either B<F_RDLCK> or B<F_UNLCK>, depending on what would be "
2135 "compatible with the lease breaker) until the lease holder voluntarily "
2136 "downgrades or removes the lease or the kernel forcibly does so after the "
2137 "lease break timer expires."
2138 msgstr ""
2139 "Dès qu'un cassage de bail a été commencé, B<F_GETLEASE> renvoie le type de "
2140 "bail cible (B<F_RDLCK> ou B<F_UNLCK>, en fonction de ce qui serait "
2141 "compatible avec le casseur de bail) jusqu'à ce que le détenteur du bail ne "
2142 "le déclasse ou le supprime volontairement, ou que le noyau ne soit forcé à "
2143 "le faire après expiration du délai de cassage de bail."
2144
2145 #. type: Plain text
2146 #: debian-trixie fedora-44 fedora-rawhide
2147 msgid ""
2148 "Once the lease has been voluntarily or forcibly removed or downgraded, and "
2149 "assuming the lease breaker has not unblocked its system call, the kernel "
2150 "permits the lease breaker's system call to proceed."
2151 msgstr ""
2152 "Dès que le bail a été, de gré ou de force, résilié ou déclassé et en "
2153 "supposant que le casseur de bail n'a pas débloqué son appel système, le "
2154 "noyau permet à ce dernier de se dérouler."
2155
2156 #. type: Plain text
2157 #: debian-trixie fedora-44 fedora-rawhide
2158 msgid ""
2159 "If the lease breaker's blocked B<open>(2) or B<truncate>(2) is interrupted "
2160 "by a signal handler, then the system call fails with the error B<EINTR>, but "
2161 "the other steps still occur as described above. If the lease breaker is "
2162 "killed by a signal while blocked in B<open>(2) or B<truncate>(2), then the "
2163 "other steps still occur as described above. If the lease breaker specifies "
2164 "the B<O_NONBLOCK> flag when calling B<open>(2), then the call immediately "
2165 "fails with the error B<EWOULDBLOCK>, but the other steps still occur as "
2166 "described above."
2167 msgstr ""
2168 "Si l'appel à B<open>(2) ou B<truncate>(2) du casseur de bail est interrompu "
2169 "par un gestionnaire de signal, l'appel système échoue avec l'erreur "
2170 "B<EINTR>, mais les autres étapes décrites ci\\(hydessous se déroulent "
2171 "normalement. Si le casseur de bail est tué par un signal pendant que son "
2172 "appel système B<open>(2) ou B<truncate>(2) bloque, tout se déroule comme "
2173 "décrit ci\\(hydessus. De même, si le casseur de bail utilise l'option "
2174 "B<O_NONBLOCK> de B<open>(2), l'appel retourne immédiatement avec l'erreur "
2175 "B<EWOULDBLOCK>, mais les autres étapes se déroulent comme décrit ci\\"
2176 "(hydessus."
2177
2178 #. type: Plain text
2179 #: debian-trixie fedora-44 fedora-rawhide
2180 msgid ""
2181 "The default signal used to notify the lease holder is B<SIGIO>, but this can "
2182 "be changed using the B<F_SETSIG> operation to B<fcntl>(). If a B<F_SETSIG> "
2183 "operation is performed (even one specifying B<SIGIO>), and the signal "
2184 "handler is established using B<SA_SIGINFO>, then the handler will receive a "
2185 "I<siginfo_t> structure as its second argument, and the I<si_fd> field of "
2186 "this argument will hold the file descriptor of the leased file that has been "
2187 "accessed by another process. (This is useful if the caller holds leases "
2188 "against multiple files.)"
2189 msgstr ""
2190 "Le signal de notification par défaut pour le tenant du bail est B<SIGIO>, "
2191 "mais on peut le modifier avec l'opération B<F_SETSIG> de la fonction "
2192 "B<fcntl>(). Si une opération B<F_SETSIG> est réalisée (même pour B<SIGIO>), "
2193 "et si le gestionnaire de signal est installé avec B<SA_SIGINFO>, alors il "
2194 "recevra une structure I<siginfo_t> en second argument, et le champ I<si_fd> "
2195 "contiendra le descripteur de fichier du bail où il y a eu une tentative "
2196 "d'accès par un autre processus. (Cela sert si le processus tient des baux "
2197 "sur plusieurs fichiers.)"
2198
2199 #. type: TP
2200 #: debian-trixie fedora-44 fedora-rawhide
2201 #, no-wrap
2202 msgid "B<F_NOTIFY> (I<int>)"
2203 msgstr "B<F_NOTIFY> (I<int>)"
2204
2205 #. type: Plain text
2206 #: debian-trixie fedora-44 fedora-rawhide
2207 msgid ""
2208 "(Linux 2.4 onward) Provide notification when the directory referred to by "
2209 "I<fd> or any of the files that it contains is changed. The events to be "
2210 "notified are specified in I<arg>, which is a bit mask specified by ORing "
2211 "together zero or more of the following bits:"
2212 msgstr ""
2213 "(Depuis Linux 2.4) Fournir un avertissement lorsque le répertoire "
2214 "correspondant à I<fd> ou l'un des fichiers qu'il contient est modifié. Les "
2215 "événements à notifier sont précisés dans I<arg>, sous forme de masque "
2216 "regroupant par un OU binaire zéro, une ou plusieurs des constantes "
2217 "suivantes\\ :"
2218
2219 #. type: TP
2220 #: debian-trixie fedora-44 fedora-rawhide
2221 #, no-wrap
2222 msgid "B<DN_ACCESS>"
2223 msgstr "B<DN_ACCESS>"
2224
2225 #. type: Plain text
2226 #: debian-trixie fedora-44 fedora-rawhide
2227 msgid "A file was accessed (B<read>(2), B<pread>(2), B<readv>(2), and similar)"
2228 msgstr ""
2229 "Accès à un fichier (B<read>(2), B<pread>(2), B<readv>(2) et similaires)"
2230
2231 #. type: TP
2232 #: debian-trixie fedora-44 fedora-rawhide
2233 #, no-wrap
2234 msgid "B<DN_MODIFY>"
2235 msgstr "B<DN_MODIFY>"
2236
2237 #. type: Plain text
2238 #: debian-trixie fedora-44 fedora-rawhide
2239 msgid ""
2240 "A file was modified (B<write>(2), B<pwrite>(2), B<writev>(2), "
2241 "B<truncate>(2), B<ftruncate>(2), and similar)."
2242 msgstr ""
2243 "Modification d'un fichier (B<write>(2), B<pwrite>(2), B<writev>(2), "
2244 "B<truncate>(2), B<ftruncate>(2) et similaires)."
2245
2246 #. type: TP
2247 #: debian-trixie fedora-44 fedora-rawhide
2248 #, no-wrap
2249 msgid "B<DN_CREATE>"
2250 msgstr "B<DN_CREATE>"
2251
2252 #. type: Plain text
2253 #: debian-trixie fedora-44 fedora-rawhide
2254 msgid ""
2255 "A file was created (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), "
2256 "B<link>(2), B<symlink>(2), B<rename>(2) into this directory)."
2257 msgstr ""
2258 "Création d'un fichier (B<open>(2), B<creat>(2), B<mknod>(2), B<mkdir>(2), "
2259 "B<link>(2), B<symlink>(2), B<rename>(2) dans ce répertoire)."
2260
2261 #. type: TP
2262 #: debian-trixie fedora-44 fedora-rawhide
2263 #, no-wrap
2264 msgid "B<DN_DELETE>"
2265 msgstr "B<DN_DELETE>"
2266
2267 #. type: Plain text
2268 #: debian-trixie fedora-44 fedora-rawhide
2269 msgid ""
2270 "A file was unlinked (B<unlink>(2), B<rename>(2) to another directory, "
2271 "B<rmdir>(2))."
2272 msgstr ""
2273 "Suppression d'un fichier (B<unlink>(2), B<rename>(2) dans un autre "
2274 "répertoire, B<rmdir>(2))."
2275
2276 #. type: TP
2277 #: debian-trixie fedora-44 fedora-rawhide
2278 #, no-wrap
2279 msgid "B<DN_RENAME>"
2280 msgstr "B<DN_RENAME>"
2281
2282 #. type: Plain text
2283 #: debian-trixie fedora-44 fedora-rawhide
2284 msgid "A file was renamed within this directory (B<rename>(2))."
2285 msgstr "Un fichier a été renommé dans le même répertoire (B<rename>(2))."
2286
2287 #. type: TP
2288 #: debian-trixie fedora-44 fedora-rawhide
2289 #, no-wrap
2290 msgid "B<DN_ATTRIB>"
2291 msgstr "B<DN_ATTRIB>"
2292
2293 #. type: Plain text
2294 #: debian-trixie fedora-44 fedora-rawhide
2295 msgid ""
2296 "The attributes of a file were changed (B<chown>(2), B<chmod>(2), "
2297 "B<utime>(2), B<utimensat>(2), and similar)."
2298 msgstr ""
2299 "Les attributs d'un fichier ont été modifiés (B<chown>(2), B<chmod>(2), "
2300 "B<utime>(2), B<utimensat>(2) et similaires)."
2301
2302 #. type: Plain text
2303 #: debian-trixie fedora-44 fedora-rawhide
2304 msgid ""
2305 "(In order to obtain these definitions, the B<_GNU_SOURCE> feature test macro "
2306 "must be defined before including I<any> header files.)"
2307 msgstr ""
2308 "(Afin d'obtenir ces définitions, la macro B<_GNU_SOURCE> doit être définie "
2309 "avant d'inclure I<tout> fichier d'en\\(hytête)."
2310
2311 #. type: Plain text
2312 #: debian-trixie fedora-44 fedora-rawhide
2313 msgid ""
2314 "Directory notifications are normally \"one-shot\", and the application must "
2315 "reregister to receive further notifications. Alternatively, if "
2316 "B<DN_MULTISHOT> is included in I<arg>, then notification will remain in "
2317 "effect until explicitly removed."
2318 msgstr ""
2319 "Les notifications de répertoire sont habituellement uniques, et "
2320 "l'application doit réenregistrer une demande pour les notifications "
2321 "ultérieures. Inversement, si B<DN_MULTISHOT> est incluse dans I<arg>, les "
2322 "notifications resteront en effet jusqu'à une demande explicite de "
2323 "suppression."
2324
2325 #. The following does seem a poor API-design choice...
2326 #. type: Plain text
2327 #: debian-trixie fedora-44 fedora-rawhide
2328 msgid ""
2329 "A series of B<F_NOTIFY> requests is cumulative, with the events in I<arg> "
2330 "being added to the set already monitored. To disable notification of all "
2331 "events, make an B<F_NOTIFY> call specifying I<arg> as 0."
2332 msgstr ""
2333 "Une série de B<F_NOTIFY> sont cumulés, les événements décrits dans I<arg> "
2334 "étant ajoutés à l'ensemble des événements déjà surveillés. Pour supprimer "
2335 "les notifications de tous les événements, il faut invoquer B<F_NOTIFY> avec "
2336 "I<arg> valant B<0>."
2337
2338 #. type: Plain text
2339 #: debian-trixie fedora-44 fedora-rawhide
2340 msgid ""
2341 "Notification occurs via delivery of a signal. The default signal is "
2342 "B<SIGIO>, but this can be changed using the B<F_SETSIG> operation to "
2343 "B<fcntl>(). (Note that B<SIGIO> is one of the nonqueuing standard signals; "
2344 "switching to the use of a real-time signal means that multiple notifications "
2345 "can be queued to the process.) In the latter case, the signal handler "
2346 "receives a I<siginfo_t> structure as its second argument (if the handler was "
2347 "established using B<SA_SIGINFO>) and the I<si_fd> field of this structure "
2348 "contains the file descriptor which generated the notification (useful when "
2349 "establishing notification on multiple directories)."
2350 msgstr ""
2351 "La notification se produit par l'occurrence d'un signal. Le signal par "
2352 "défaut est B<SIGIO>, mais on peut le changer avec l'opération B<F_SETSIG> de "
2353 "B<fcntl>() (remarquez que B<SIGIO> est un des signaux standards sans file "
2354 "d’attente ; basculer vers l’utilisation d’un signal temps réel signifie que "
2355 "plusieurs notifications peuvent être mises en attente dans le processus). "
2356 "Dans ce cas, le gestionnaire de signal reçoit une structure I<siginfo_t> en "
2357 "second argument (si le gestionnaire a été installé avec B<SA_SIGINFO>) dont "
2358 "le champ I<si_fd> contient le descripteur du fichier qui a déclenché la "
2359 "notification (utile pour superviser plusieurs répertoires)."
2360
2361 #. type: Plain text
2362 #: debian-trixie fedora-44 fedora-rawhide
2363 msgid ""
2364 "Especially when using B<DN_MULTISHOT>, a real time signal should be used for "
2365 "notification, so that multiple notifications can be queued."
2366 msgstr ""
2367 "En outre, avec B<DN_MULTISHOT>, un signal temps réel devrait être utilisé "
2368 "pour la notification pour pouvoir empiler les notifications successives."
2369
2370 #. type: Plain text
2371 #: debian-trixie fedora-44 fedora-rawhide
2372 msgid ""
2373 "B<NOTE:> New applications should use the I<inotify> interface (available "
2374 "since Linux 2.6.13), which provides a much superior interface for obtaining "
2375 "notifications of filesystem events. See B<inotify>(7)."
2376 msgstr ""
2377 "B<Remarque>\\ : les nouvelles applications devraient utiliser l'interface "
2378 "I<inotify> (disponible depuis Linux 2.6.13), qui fournit une bien meilleure "
2379 "interface pour obtenir des notifications d'événements sur le système de "
2380 "fichiers. Consultez B<inotify>(7)."
2381
2382 #. type: TP
2383 #: debian-trixie fedora-44 fedora-rawhide
2384 #, no-wrap
2385 msgid "B<F_SETPIPE_SZ> (I<int>; since Linux 2.6.35)"
2386 msgstr "B<F_SETPIPE_SZ> (I<int> ; depuis Linux 2.6.35)"
2387
2388 #. type: Plain text
2389 #: debian-trixie fedora-44 fedora-rawhide
2390 msgid ""
2391 "Change the capacity of the pipe referred to by I<fd> to be at least I<arg> "
2392 "bytes. An unprivileged process can adjust the pipe capacity to any value "
2393 "between the system page size and the limit defined in I</proc/sys/fs/pipe-"
2394 "max-size> (see B<proc>(5)). Attempts to set the pipe capacity below the "
2395 "page size are silently rounded up to the page size. Attempts by an "
2396 "unprivileged process to set the pipe capacity above the limit in I</proc/sys/"
2397 "fs/pipe-max-size> yield the error B<EPERM>; a privileged process "
2398 "(B<CAP_SYS_RESOURCE>) can override the limit."
2399 msgstr ""
2400 "Changer la capacité du tube référencé par I<fd> pour contenir au moins "
2401 "I<arg> octets. Un processus non privilégié peut ajuster la capacité d'un "
2402 "tube à toute valeur comprise entre la taille de page du système et la limite "
2403 "définie dans I</proc/sys/fs/pipe-max-size> (consultez B<proc>(5)). Les "
2404 "tentatives pour définir la capacité du tube en dessous de la taille de page "
2405 "sont silencieusement arrondies à la taille de page. Les tentatives d'un "
2406 "processus non privilégié pour définir la capacité du tube au dessus de I</"
2407 "proc/sys/fs/pipe-max-size> renvoie l'erreur B<EPERM> ; un processus "
2408 "privilégié (B<CAP_SYS_RESOURCE>) peut passer outre cette limite."
2409
2410 #. type: Plain text
2411 #: debian-trixie fedora-44 fedora-rawhide
2412 msgid ""
2413 "When allocating the buffer for the pipe, the kernel may use a capacity "
2414 "larger than I<arg>, if that is convenient for the implementation. (In the "
2415 "current implementation, the allocation is the next higher power-of-two page-"
2416 "size multiple of the requested size.) The actual capacity (in bytes) that "
2417 "is set is returned as the function result."
2418 msgstr ""
2419 "Lors de l'affectation d'un tampon à un tube, le noyau peut utiliser une "
2420 "capacité supérieure à I<arg>, si c'est plus pratique pour l'implémentation "
2421 "(dans l'implémentation actuelle, l'affectation se fait sur le prochain "
2422 "multiple de la taille de la page supérieur à la puissance de deux de la "
2423 "taille indiquée). La capacité actuelle (en octets) définie est renvoyée en "
2424 "tant que résultat de la fonction."
2425
2426 #. type: Plain text
2427 #: debian-trixie fedora-44 fedora-rawhide
2428 msgid ""
2429 "Attempting to set the pipe capacity smaller than the amount of buffer space "
2430 "currently used to store data produces the error B<EBUSY>."
2431 msgstr ""
2432 "Essayer de définir une capacité de tube plus petite que la taille de "
2433 "l'espace du tampon actuellement utilisé pour stocker des données aboutit à "
2434 "l'erreur B<EBUSY>."
2435
2436 #. type: Plain text
2437 #: debian-trixie fedora-44 fedora-rawhide
2438 msgid ""
2439 "Note that because of the way the pages of the pipe buffer are employed when "
2440 "data is written to the pipe, the number of bytes that can be written may be "
2441 "less than the nominal size, depending on the size of the writes."
2442 msgstr ""
2443 "Remarquez qu'à cause de la manière dont les pages du tampon du tube sont "
2444 "utilisées quand des données sont écrites dans le tube, le nombre d'octets "
2445 "qui peuvent être écrits peut être inférieur à la taille nominale, selon la "
2446 "taille des écritures."
2447
2448 #. type: TP
2449 #: debian-trixie fedora-44 fedora-rawhide
2450 #, no-wrap
2451 msgid "B<F_GETPIPE_SZ> (I<void>; since Linux 2.6.35)"
2452 msgstr "B<F_GETPIPE_SZ> (I<void> ; depuis Linux 2.6.35)"
2453
2454 #. type: Plain text
2455 #: debian-trixie fedora-44 fedora-rawhide
2456 msgid ""
2457 "Return (as the function result) the capacity of the pipe referred to by "
2458 "I<fd>."
2459 msgstr ""
2460 "Renvoyer (comme résultat de la fonction) la capacité du tube référencé par "
2461 "I<fd>."
2462
2463 #. type: Plain text
2464 #: debian-trixie fedora-44 fedora-rawhide
2465 msgid ""
2466 "File seals limit the set of allowed operations on a given file. For each "
2467 "seal that is set on a file, a specific set of operations will fail with "
2468 "B<EPERM> on this file from now on. The file is said to be sealed. The "
2469 "default set of seals depends on the type of the underlying file and "
2470 "filesystem. For an overview of file sealing, a discussion of its purpose, "
2471 "and some code examples, see B<memfd_create>(2)."
2472 msgstr ""
2473 "Les verrous de fichier limitent le jeu d'opérations autorisées sur un "
2474 "fichier donné. Pour chaque verrou positionné sur un fichier, un ensemble "
2475 "spécifique d'opérations échouera sur le fichier avec B<EPERM> à partir de "
2476 "maintenant. Le fichier est dit verrouillé (sealed). Le jeu de verrous dépend "
2477 "du type de fichier et du système de fichiers sous-jacents. Pour un aperçu du "
2478 "verrouillage de fichiers, un point sur ses objectifs et des exemples de "
2479 "code, voir B<memfd_create>(2)."
2480
2481 #. type: Plain text
2482 #: debian-trixie fedora-44 fedora-rawhide
2483 msgid ""
2484 "Currently, file seals can be applied only to a file descriptor returned by "
2485 "B<memfd_create>(2) (if the B<MFD_ALLOW_SEALING> was employed). On other "
2486 "filesystems, all B<fcntl>() operations that operate on seals will return "
2487 "B<EINVAL>."
2488 msgstr ""
2489 "Actuellement, les verrous de fichier ne peuvent être appliqués que sur un "
2490 "descripteur de fichier renvoyé par B<memfd_create>(2) (si "
2491 "B<MFD_ALLOW_SEALING> est utilisé). Sur d'autres systèmes de fichiers, toutes "
2492 "les opérations de B<fcntl>() agissant sur les verrous renverront B<EINVAL>."
2493
2494 #. type: Plain text
2495 #: debian-trixie fedora-44 fedora-rawhide
2496 msgid ""
2497 "Seals are a property of an inode. Thus, all open file descriptors referring "
2498 "to the same inode share the same set of seals. Furthermore, seals can never "
2499 "be removed, only added."
2500 msgstr ""
2501 "Les verrous constituent une propriété d'un inœud. Ainsi, tous les "
2502 "descripteurs de fichier ouverts qui se rapportent au même inœud partagent le "
2503 "même jeu de verrous. En outre, les verrous ne peuvent jamais être supprimés "
2504 "mais uniquement ajoutés."
2505
2506 #. type: TP
2507 #: debian-trixie fedora-44 fedora-rawhide
2508 #, no-wrap
2509 msgid "B<F_ADD_SEALS> (I<int>; since Linux 3.17)"
2510 msgstr "B<F_ADD_SEALS> (I<int> ; depuis Linux 3.17)"
2511
2512 #. type: Plain text
2513 #: debian-trixie fedora-44 fedora-rawhide
2514 msgid ""
2515 "Add the seals given in the bit-mask argument I<arg> to the set of seals of "
2516 "the inode referred to by the file descriptor I<fd>. Seals cannot be removed "
2517 "again. Once this call succeeds, the seals are enforced by the kernel "
2518 "immediately. If the current set of seals includes B<F_SEAL_SEAL> (see "
2519 "below), then this call will be rejected with B<EPERM>. Adding a seal that "
2520 "is already set is a no-op, in case B<F_SEAL_SEAL> is not set already. In "
2521 "order to place a seal, the file descriptor I<fd> must be writable."
2522 msgstr ""
2523 "Ajouter les verrous donnés dans le paramètre I<arg> du masque de bit à "
2524 "l'ensemble de verrous de l'inœud auquel se rapporte le descripteur de "
2525 "fichier I<fd>. Les verrous ne peuvent pas être supprimés de nouveau. Une "
2526 "fois que cet appel réussit, ils sont renforcés immédiatement par le noyau. "
2527 "Si le jeu de verrous actuel comprend B<F_SEAL_SEAL> (voir ci-dessous), cet "
2528 "appel sera rejeté avec B<EPERM>. L'ajout d'un verrou déjà défini n'est pas "
2529 "opérationnel, si B<F_SEAL_SEAL> n'est pas déjà positionné. Pour positionner "
2530 "un verrou, le descripteur de fichier I<fd> doit être accessible en écriture."
2531
2532 #. type: TP
2533 #: debian-trixie fedora-44 fedora-rawhide
2534 #, no-wrap
2535 msgid "B<F_GET_SEALS> (I<void>; since Linux 3.17)"
2536 msgstr "B<F_GET_SEALS> (I<void> ; depuis Linux 3.17)"
2537
2538 #. type: Plain text
2539 #: debian-trixie fedora-44 fedora-rawhide
2540 msgid ""
2541 "Return (as the function result) the current set of seals of the inode "
2542 "referred to by I<fd>. If no seals are set, 0 is returned. If the file does "
2543 "not support sealing, -1 is returned and I<errno> is set to B<EINVAL>."
2544 msgstr ""
2545 "Renvoyer (en tant que résultat de la fonction) le jeu de verrous actuel de "
2546 "l'inœud auquel se rapporte I<fd>. Si aucun verrou n'est positionné, B<0> est "
2547 "renvoyé. Si le fichier ne gère pas les verrous, B<-1> est renvoyé et "
2548 "I<errno> est positionné sur B<EINVAL>."
2549
2550 #. type: Plain text
2551 #: debian-trixie fedora-44 fedora-rawhide
2552 msgid "The following seals are available:"
2553 msgstr "Les verrous suivants sont disponibles :"
2554
2555 #. type: TP
2556 #: debian-trixie fedora-44 fedora-rawhide
2557 #, no-wrap
2558 msgid "B<F_SEAL_SEAL>"
2559 msgstr "B<F_SEAL_SEAL>"
2560
2561 #. type: Plain text
2562 #: debian-trixie fedora-44 fedora-rawhide
2563 msgid ""
2564 "If this seal is set, any further call to B<fcntl>() with B<F_ADD_SEALS> "
2565 "fails with the error B<EPERM>. Therefore, this seal prevents any "
2566 "modifications to the set of seals itself. If the initial set of seals of a "
2567 "file includes B<F_SEAL_SEAL>, then this effectively causes the set of seals "
2568 "to be constant and locked."
2569 msgstr ""
2570 "Si ce verrou est positionné, tout appel suivant à B<fcntl>() avec "
2571 "B<F_ADD_SEALS> échouera avec l'erreur B<EPERM>. Ce verrou empêche donc toute "
2572 "modification du jeu de verrous lui-même. Si le jeu de verrous initial du "
2573 "fichier comprend B<F_SEAL_SEAL>, cela le rend en fait constant et verrouillé."
2574
2575 #. type: TP
2576 #: debian-trixie fedora-44 fedora-rawhide
2577 #, no-wrap
2578 msgid "B<F_SEAL_SHRINK>"
2579 msgstr "B<F_SEAL_SHRINK>"
2580
2581 #. type: Plain text
2582 #: debian-trixie fedora-44 fedora-rawhide
2583 msgid ""
2584 "If this seal is set, the file in question cannot be reduced in size. This "
2585 "affects B<open>(2) with the B<O_TRUNC> flag as well as B<truncate>(2) and "
2586 "B<ftruncate>(2). Those calls fail with B<EPERM> if you try to shrink the "
2587 "file in question. Increasing the file size is still possible."
2588 msgstr ""
2589 "Si ce verrou est positionné, le fichier en question ne peut pas voir sa "
2590 "taille réduite. Cela concerne B<open>(2) avec le drapeau B<O_TRUNC> ainsi "
2591 "que B<truncate>(2) et B<ftruncate>(2). Ces appels échouent avec B<EPERM> si "
2592 "vous essayez de réduire le fichier en question. Augmenter la taille reste "
2593 "possible."
2594
2595 #. type: TP
2596 #: debian-trixie fedora-44 fedora-rawhide
2597 #, no-wrap
2598 msgid "B<F_SEAL_GROW>"
2599 msgstr "B<F_SEAL_GROW>"
2600
2601 #. type: Plain text
2602 #: debian-trixie fedora-44 fedora-rawhide
2603 msgid ""
2604 "If this seal is set, the size of the file in question cannot be increased. "
2605 "This affects B<write>(2) beyond the end of the file, B<truncate>(2), "
2606 "B<ftruncate>(2), and B<fallocate>(2). These calls fail with B<EPERM> if you "
2607 "use them to increase the file size. If you keep the size or shrink it, "
2608 "those calls still work as expected."
2609 msgstr ""
2610 "Si ce verrou est positionné, le fichier en question ne peut pas voir sa "
2611 "taille augmentée. Cela concerne B<write>(2) après la fin du fichier, "
2612 "B<truncate>(2), B<ftruncate>(2) et B<fallocate>(2). Ces appels échoueront "
2613 "avec B<EPERM> si vous les utilisez pour augmenter la taille du fichier. Si "
2614 "vous la laissez stable ou la réduisez, ces appels fonctionneront comme prévu."
2615
2616 #. type: TP
2617 #: debian-trixie fedora-44 fedora-rawhide
2618 #, no-wrap
2619 msgid "B<F_SEAL_WRITE>"
2620 msgstr "B<F_SEAL_WRITE>"
2621
2622 #. One or more other seals are typically used with F_SEAL_WRITE
2623 #. because, given a file with the F_SEAL_WRITE seal set, then,
2624 #. while it would no longer be possible to (say) write zeros into
2625 #. the last 100 bytes of a file, it would still be possible
2626 #. to (say) shrink the file by 100 bytes using ftruncate(), and
2627 #. then increase the file size by 100 bytes, which would have
2628 #. the effect of replacing the last hundred bytes by zeros.
2629 #. type: Plain text
2630 #: debian-trixie fedora-44 fedora-rawhide
2631 msgid ""
2632 "If this seal is set, you cannot modify the contents of the file. Note that "
2633 "shrinking or growing the size of the file is still possible and allowed. "
2634 "Thus, this seal is normally used in combination with one of the other "
2635 "seals. This seal affects B<write>(2) and B<fallocate>(2) (only in "
2636 "combination with the B<FALLOC_FL_PUNCH_HOLE> flag). Those calls fail with "
2637 "B<EPERM> if this seal is set. Furthermore, trying to create new shared, "
2638 "writable memory-mappings via B<mmap>(2) will also fail with B<EPERM>."
2639 msgstr ""
2640 "Si ce verrou est positionné, vous ne pouvez pas modifier le contenu du "
2641 "fichier. Remarquez que la réduction ou l'augmentation de la taille du "
2642 "fichier restent possibles et autorisées. Ainsi, ce verrou s'utilise en "
2643 "principe avec un autre verrou. Il concerne B<write>(2) et B<fallocate>(2) "
2644 "(combiné au drapeau B<FALLOC_FL_PUNCH_HOLE>). Ces appels échoueront avec "
2645 "B<EPERM> si ce verrou est positionné. De plus, les tentatives de créer de "
2646 "nouveaux tableaux de mémoire (memory-mappings) accessibles en écriture avec "
2647 "B<mmap>(2) échoueront également avec B<EPERM>."
2648
2649 #. type: Plain text
2650 #: debian-trixie fedora-44 fedora-rawhide
2651 msgid ""
2652 "Using the B<F_ADD_SEALS> operation to set the B<F_SEAL_WRITE> seal fails "
2653 "with B<EBUSY> if any writable, shared mapping exists. Such mappings must be "
2654 "unmapped before you can add this seal. Furthermore, if there are any "
2655 "asynchronous I/O operations (B<io_submit>(2)) pending on the file, all "
2656 "outstanding writes will be discarded."
2657 msgstr ""
2658 "L'utilisation de l'opération B<F_ADD_SEALS> pour définir le verrou "
2659 "B<F_SEAL_WRITE> échoue avec B<EBUSY> si un tableau partagé accessible en "
2660 "écriture existe. De tels tableaux doivent être désassociés avant d'ajouter "
2661 "ce verrou. De plus, s'il existe des opérations d'E/S asynchrones "
2662 "(B<io_submit>(2)) en attente sur le fichier, toutes les écritures "
2663 "postérieures seront ignorées."
2664
2665 #. type: TP
2666 #: debian-trixie fedora-44 fedora-rawhide
2667 #, no-wrap
2668 msgid "B<F_SEAL_FUTURE_WRITE> (since Linux 5.1)"
2669 msgstr "B<F_SEAL_FUTURE_WRITE> (depuis Linux 5.1)"
2670
2671 #. type: Plain text
2672 #: debian-trixie fedora-44 fedora-rawhide
2673 msgid ""
2674 "The effect of this seal is similar to B<F_SEAL_WRITE>, but the contents of "
2675 "the file can still be modified via shared writable mappings that were "
2676 "created prior to the seal being set. Any attempt to create a new writable "
2677 "mapping on the file via B<mmap>(2) will fail with B<EPERM>. Likewise, an "
2678 "attempt to write to the file via B<write>(2) will fail with B<EPERM>."
2679 msgstr ""
2680 "L'effet de ce verrou est identique à B<F_SEAL_WRITE>, mais le contenu du "
2681 "fichier peut encore être modifié avec des tableaux partagés accessibles en "
2682 "écriture créés avant que le verrou ne soit positionné. Toute tentative de "
2683 "créer de nouveaux tableaux accessibles en écriture sur le fichier avec "
2684 "B<mmap>(2) échouera avec B<EPERM>. De même, une tentative d'écriture dans le "
2685 "fichier avec B<write>(2) échouera avec B<EPERM>."
2686
2687 #. type: Plain text
2688 #: debian-trixie fedora-44 fedora-rawhide
2689 msgid ""
2690 "Using this seal, one process can create a memory buffer that it can continue "
2691 "to modify while sharing that buffer on a \"read-only\" basis with other "
2692 "processes."
2693 msgstr ""
2694 "En utilisant ce verrou, un processus peut créer un tampon de mémoire qu'il "
2695 "peut continuer à modifier tout en le partageant sur une base de « lecture "
2696 "seule » avec d'autres processus."
2697
2698 #. type: Plain text
2699 #: debian-trixie fedora-44 fedora-rawhide
2700 msgid ""
2701 "Write lifetime hints can be used to inform the kernel about the relative "
2702 "expected lifetime of writes on a given inode or via a particular open file "
2703 "description. (See B<open>(2) for an explanation of open file "
2704 "descriptions.) In this context, the term \"write lifetime\" means the "
2705 "expected time the data will live on media, before being overwritten or "
2706 "erased."
2707 msgstr ""
2708 "Les indications (hints) de durée d’écriture peuvent être utilisées pour "
2709 "informer le noyau de la durée relative prévue des écritures sur un inœud ou "
2710 "à l’aide d’une description de fichier ouvert en particulier (voir B<open>(2) "
2711 "pour une explication sur les descriptions de fichier ouvert). Dans ce "
2712 "contexte, le terme « durée d'écriture » (write lifetime) signifie la durée "
2713 "prévue de vie des données sur le média avant d'être remplacées ou écrasées."
2714
2715 #. type: Plain text
2716 #: debian-trixie fedora-44 fedora-rawhide
2717 msgid ""
2718 "An application may use the different hint values specified below to separate "
2719 "writes into different write classes, so that multiple users or applications "
2720 "running on a single storage back-end can aggregate their I/O patterns in a "
2721 "consistent manner. However, there are no functional semantics implied by "
2722 "these flags, and different I/O classes can use the write lifetime hints in "
2723 "arbitrary ways, so long as the hints are used consistently."
2724 msgstr ""
2725 "Une application peut utiliser les différentes valeurs de référence indiquées "
2726 "ci-dessous pour séparer les écritures en différentes classes, pour que "
2727 "plusieurs utilisateurs ou applications fonctionnant sur un seul dorsal de "
2728 "stockage puissent agréger leurs motifs E/S de manière cohérente. Cependant, "
2729 "il n'existe pas de sémantique fonctionnelle impliquée par ces attributs et "
2730 "plusieurs classes E/S peuvent utiliser les valeurs de référence de durée "
2731 "d'écriture de manière arbitraire, tant que celles-ci sont utilisées de "
2732 "manière cohérente."
2733
2734 #. type: Plain text
2735 #: debian-trixie fedora-44 fedora-rawhide
2736 msgid "The following operations can be applied to the file descriptor, I<fd>:"
2737 msgstr ""
2738 "Les opérations suivantes peuvent être appliquées au descripteur de fichier, "
2739 "I<fd> :"
2740
2741 #. type: TP
2742 #: debian-trixie fedora-44 fedora-rawhide
2743 #, no-wrap
2744 msgid "B<F_GET_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2745 msgstr "B<F_GET_RW_HINT> (I<uint64_t *> ; depuis Linux 4.13)"
2746
2747 #. type: Plain text
2748 #: debian-trixie fedora-44 fedora-rawhide
2749 msgid ""
2750 "Returns the value of the read/write hint associated with the underlying "
2751 "inode referred to by I<fd>."
2752 msgstr ""
2753 "Renvoie la valeur de référence (« hint ») de lecture/écriture associée à "
2754 "l'inœud sous-jacent auquel renvoie I<fd>."
2755
2756 #. type: TP
2757 #: debian-trixie fedora-44 fedora-rawhide
2758 #, no-wrap
2759 msgid "B<F_SET_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2760 msgstr "B<F_SET_RW_HINT> (I<uint64_t *> ; depuis Linux 4.13)"
2761
2762 #. type: Plain text
2763 #: debian-trixie fedora-44 fedora-rawhide
2764 msgid ""
2765 "Sets the read/write hint value associated with the underlying inode referred "
2766 "to by I<fd>. This hint persists until either it is explicitly modified or "
2767 "the underlying filesystem is unmounted."
2768 msgstr ""
2769 "Définit la valeur de référence de lecture/écriture associée à l'inœud sous-"
2770 "jacent auquel renvoie I<fd>. Cette valeur de référence persiste soit jusqu'à "
2771 "être explicitement modifiée, soit jusqu'à ce que le système de fichiers sous-"
2772 "jacent ne soit démonté."
2773
2774 #. type: TP
2775 #: debian-trixie fedora-44 fedora-rawhide
2776 #, no-wrap
2777 msgid "B<F_GET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2778 msgstr "B<F_GET_FILE_RW_HINT> (I<uint64_t *> ; depuis Linux 4.13)"
2779
2780 #. type: Plain text
2781 #: debian-trixie fedora-44 fedora-rawhide
2782 msgid ""
2783 "Returns the value of the read/write hint associated with the open file "
2784 "description referred to by I<fd>."
2785 msgstr ""
2786 "Renvoie la valeur de référence « hint » de lecture/écriture associée à la "
2787 "description de fichier ouvert à laquelle renvoie I<fd>."
2788
2789 #. type: TP
2790 #: debian-trixie fedora-44 fedora-rawhide
2791 #, no-wrap
2792 msgid "B<F_SET_FILE_RW_HINT> (I<uint64_t *>; since Linux 4.13)"
2793 msgstr "B<F_SET_FILE_RW_HINT> (I<uint64_t *> ; depuis Linux 4.13)"
2794
2795 #. type: Plain text
2796 #: debian-trixie fedora-44 fedora-rawhide
2797 msgid ""
2798 "Sets the read/write hint value associated with the open file description "
2799 "referred to by I<fd>."
2800 msgstr ""
2801 "Définit la valeur de référence de lecture/écriture associée à la description "
2802 "de fichier ouvert à laquelle se rapporte I<fd>."
2803
2804 #. type: Plain text
2805 #: debian-trixie fedora-44 fedora-rawhide
2806 msgid ""
2807 "If an open file description has not been assigned a read/write hint, then it "
2808 "shall use the value assigned to the inode, if any."
2809 msgstr ""
2810 "Si une description de fichier ouvert n'a pas de valeur de référence de "
2811 "lecture/écriture assignée, elle devra utiliser la valeur affectée à l'inœud "
2812 "s'il y en a une."
2813
2814 #. type: Plain text
2815 #: debian-trixie fedora-44 fedora-rawhide
2816 msgid "The following read/write hints are valid since Linux 4.13:"
2817 msgstr ""
2818 "Les valeurs de référence de lecture/écriture suivantes sont applicables "
2819 "depuis Linux 4.13 :"
2820
2821 #. type: TP
2822 #: debian-trixie fedora-44 fedora-rawhide
2823 #, no-wrap
2824 msgid "B<RWH_WRITE_LIFE_NOT_SET>"
2825 msgstr "B<RWH_WRITE_LIFE_NOT_SET>"
2826
2827 #. type: Plain text
2828 #: debian-trixie fedora-44 fedora-rawhide
2829 msgid "No specific hint has been set. This is the default value."
2830 msgstr ""
2831 "Aucune valeur de référence en particulier n'a été définie. Il s'agit de la "
2832 "valeur par défaut."
2833
2834 #. type: TP
2835 #: debian-trixie fedora-44 fedora-rawhide
2836 #, no-wrap
2837 msgid "B<RWH_WRITE_LIFE_NONE>"
2838 msgstr "B<RWH_WRITE_LIFE_NONE>"
2839
2840 #. type: Plain text
2841 #: debian-trixie fedora-44 fedora-rawhide
2842 msgid "No specific write lifetime is associated with this file or inode."
2843 msgstr ""
2844 "Aucune durée de vie spécifique à l'écriture n'a été associée à ce fichier ou "
2845 "à cet inœud."
2846
2847 #. type: TP
2848 #: debian-trixie fedora-44 fedora-rawhide
2849 #, no-wrap
2850 msgid "B<RWH_WRITE_LIFE_SHORT>"
2851 msgstr "B<RWH_WRITE_LIFE_SHORT>"
2852
2853 #. type: Plain text
2854 #: debian-trixie fedora-44 fedora-rawhide
2855 msgid ""
2856 "Data written to this inode or via this open file description is expected to "
2857 "have a short lifetime."
2858 msgstr ""
2859 "Les données écrites dans cet inœud ou via cette description de fichier "
2860 "ouvert doivent avoir une durée de vie courte."
2861
2862 #. type: TP
2863 #: debian-trixie fedora-44 fedora-rawhide
2864 #, no-wrap
2865 msgid "B<RWH_WRITE_LIFE_MEDIUM>"
2866 msgstr "B<RWH_WRITE_LIFE_MEDIUM>"
2867
2868 #. type: Plain text
2869 #: debian-trixie fedora-44 fedora-rawhide
2870 msgid ""
2871 "Data written to this inode or via this open file description is expected to "
2872 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_SHORT>."
2873 msgstr ""
2874 "Les données écrites dans cet inœud ou via cette description de fichier "
2875 "ouvert doivent avoir une durée de vie supérieure à celle des données écrites "
2876 "avec B<RWH_WRITE_LIFE_SHORT>."
2877
2878 #. type: TP
2879 #: debian-trixie fedora-44 fedora-rawhide
2880 #, no-wrap
2881 msgid "B<RWH_WRITE_LIFE_LONG>"
2882 msgstr "B<RWH_WRITE_LIFE_LONG>"
2883
2884 #. type: Plain text
2885 #: debian-trixie fedora-44 fedora-rawhide
2886 msgid ""
2887 "Data written to this inode or via this open file description is expected to "
2888 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_MEDIUM>."
2889 msgstr ""
2890 "Les données écrites dans cet inœud ou via cette description de fichier "
2891 "ouvert doivent avoir une durée de vie supérieure à celle des données écrites "
2892 "avec B<RWH_WRITE_LIFE_MEDIUM>."
2893
2894 #. type: TP
2895 #: debian-trixie fedora-44 fedora-rawhide
2896 #, no-wrap
2897 msgid "B<RWH_WRITE_LIFE_EXTREME>"
2898 msgstr "B<RWH_WRITE_LIFE_EXTREME>"
2899
2900 #. type: Plain text
2901 #: debian-trixie fedora-44 fedora-rawhide
2902 msgid ""
2903 "Data written to this inode or via this open file description is expected to "
2904 "have a lifetime longer than data written with B<RWH_WRITE_LIFE_LONG>."
2905 msgstr ""
2906 "Les données écrites dans cet inœud ou via cette description de fichier "
2907 "ouvert doivent avoir une durée de vie supérieure à celle des données écrites "
2908 "avec B<RWH_WRITE_LIFE_LONG>."
2909
2910 #. type: Plain text
2911 #: debian-trixie fedora-44 fedora-rawhide
2912 msgid ""
2913 "All the write-specific hints are relative to each other, and no individual "
2914 "absolute meaning should be attributed to them."
2915 msgstr ""
2916 "Toutes les valeurs de référence spécifiques à l'écriture sont relatives "
2917 "entre elles et aucun sens absolu individuel ne devrait leur être attribué."
2918
2919 #. type: Plain text
2920 #: debian-trixie fedora-44 fedora-rawhide
2921 msgid "For a successful call, the return value depends on the operation:"
2922 msgstr ""
2923 "Pour qu'un appel réussisse, le code de retour dépend de l'opération\\ :"
2924
2925 #. type: TP
2926 #: debian-trixie fedora-44 fedora-rawhide
2927 #, no-wrap
2928 msgid "B<F_DUPFD>"
2929 msgstr "B<F_DUPFD>"
2930
2931 #. type: Plain text
2932 #: debian-trixie fedora-44 fedora-rawhide
2933 msgid "The new file descriptor."
2934 msgstr "Le nouveau descripteur de fichier."
2935
2936 #. type: TP
2937 #: debian-trixie fedora-44 fedora-rawhide
2938 #, no-wrap
2939 msgid "B<F_GETFD>"
2940 msgstr "B<F_GETFD>"
2941
2942 #. type: Plain text
2943 #: debian-trixie fedora-44 fedora-rawhide
2944 msgid "Value of file descriptor flags."
2945 msgstr "Valeur des attributs du descripteur de fichier."
2946
2947 #. type: TP
2948 #: debian-trixie fedora-44 fedora-rawhide
2949 #, no-wrap
2950 msgid "B<F_GETFL>"
2951 msgstr "B<F_GETFL>"
2952
2953 #. type: Plain text
2954 #: debian-trixie fedora-44 fedora-rawhide
2955 msgid "Value of file status flags."
2956 msgstr "Valeur des attributs d'état du fichier."
2957
2958 #. type: TP
2959 #: debian-trixie fedora-44 fedora-rawhide
2960 #, no-wrap
2961 msgid "B<F_GETLEASE>"
2962 msgstr "B<F_GETLEASE>"
2963
2964 #. type: Plain text
2965 #: debian-trixie fedora-44 fedora-rawhide
2966 msgid "Type of lease held on file descriptor."
2967 msgstr "Le type de bail tenu sur le descripteur de fichier."
2968
2969 #. type: TP
2970 #: debian-trixie fedora-44 fedora-rawhide
2971 #, no-wrap
2972 msgid "B<F_GETOWN>"
2973 msgstr "B<F_GETOWN>"
2974
2975 #. type: Plain text
2976 #: debian-trixie fedora-44 fedora-rawhide
2977 msgid "Value of file descriptor owner."
2978 msgstr "Valeur du propriétaire du descripteur de fichier."
2979
2980 #. type: TP
2981 #: debian-trixie fedora-44 fedora-rawhide
2982 #, no-wrap
2983 msgid "B<F_GETSIG>"
2984 msgstr "B<F_GETSIG>"
2985
2986 #. type: Plain text
2987 #: debian-trixie fedora-44 fedora-rawhide
2988 msgid ""
2989 "Value of signal sent when read or write becomes possible, or zero for "
2990 "traditional B<SIGIO> behavior."
2991 msgstr ""
2992 "La valeur du signal envoyé lorsque la lecture ou l'écriture deviennent "
2993 "possibles, ou zéro pour le comportement B<SIGIO> traditionnel."
2994
2995 #. type: TP
2996 #: debian-trixie fedora-44 fedora-rawhide
2997 #, no-wrap
2998 msgid "B<F_GETPIPE_SZ>"
2999 msgstr "B<F_GETPIPE_SZ>"
3000
3001 #. type: TQ
3002 #: debian-trixie fedora-44 fedora-rawhide
3003 #, no-wrap
3004 msgid "B<F_SETPIPE_SZ>"
3005 msgstr "B<F_SETPIPE_SZ>"
3006
3007 #. type: Plain text
3008 #: debian-trixie fedora-44 fedora-rawhide
3009 msgid "The pipe capacity."
3010 msgstr "La capacité du tube."
3011
3012 #. type: TP
3013 #: debian-trixie fedora-44 fedora-rawhide
3014 #, no-wrap
3015 msgid "B<F_GET_SEALS>"
3016 msgstr "B<F_GET_SEALS>"
3017
3018 #. type: Plain text
3019 #: debian-trixie fedora-44 fedora-rawhide
3020 msgid ""
3021 "A bit mask identifying the seals that have been set for the inode referred "
3022 "to by I<fd>."
3023 msgstr ""
3024 "Un masque de bit identifiant les verrous positionnés sur le inœud auquel "
3025 "renvoie I<fd>."
3026
3027 #. type: TP
3028 #: debian-trixie fedora-44 fedora-rawhide
3029 #, no-wrap
3030 msgid "All other operations"
3031 msgstr "Toutes les autres opérations\\ :"
3032
3033 #. type: Plain text
3034 #: debian-trixie fedora-44 fedora-rawhide
3035 msgid "Zero."
3036 msgstr "Zéro."
3037
3038 #. type: Plain text
3039 #: debian-trixie fedora-44 fedora-rawhide
3040 msgid ""
3041 "I<op> is B<F_SETLK> or B<F_SETLKW> and the file descriptor open mode doesn't "
3042 "match with the type of lock requested."
3043 msgstr ""
3044 "I<op> vaut B<F_SETLK> ou B<F_SETLKW> et les droits d'ouverture sur le "
3045 "descripteur de fichier ne correspondent pas au type de verrou demandé."
3046
3047 #. type: TP
3048 #: debian-trixie fedora-44 fedora-rawhide
3049 #, no-wrap
3050 msgid "B<EBUSY>"
3051 msgstr "B<EBUSY>"
3052
3053 #. type: Plain text
3054 #: debian-trixie fedora-44 fedora-rawhide
3055 msgid ""
3056 "I<op> is B<F_SETPIPE_SZ> and the new pipe capacity specified in I<arg> is "
3057 "smaller than the amount of buffer space currently used to store data in the "
3058 "pipe."
3059 msgstr ""
3060 "I<op> vaut B<F_SETPIPE_SZ> et la capacité du nouveau tube indiqué dans "
3061 "I<arg> est inférieure à la taille de l'espace du tampon actuellement utilisé "
3062 "pour stocker les données dans le tube."
3063
3064 #. type: Plain text
3065 #: debian-trixie fedora-44 fedora-rawhide
3066 msgid ""
3067 "I<op> is B<F_ADD_SEALS>, I<arg> includes B<F_SEAL_WRITE>, and there exists a "
3068 "writable, shared mapping on the file referred to by I<fd>."
3069 msgstr ""
3070 "I<op> vaut B<F_ADD_SEALS>, I<arg> inclut B<F_SEAL_WRITE> et il existe un "
3071 "tableau partagé accessible en écriture sur le fichier auquel se rapporte "
3072 "I<fd>."
3073
3074 #. type: TP
3075 #: debian-trixie fedora-44 fedora-rawhide
3076 #, no-wrap
3077 msgid "B<EDEADLK>"
3078 msgstr "B<EDEADLK>"
3079
3080 #. type: Plain text
3081 #: debian-trixie fedora-44 fedora-rawhide
3082 msgid ""
3083 "It was detected that the specified B<F_SETLKW> operation would cause a "
3084 "deadlock."
3085 msgstr ""
3086 "Il a été détecté que l'opération B<F_SETLKW> spécifiée conduirait à un "
3087 "interblocage."
3088
3089 #. type: TP
3090 #: debian-trixie fedora-44 fedora-rawhide
3091 #, no-wrap
3092 msgid "B<EFAULT>"
3093 msgstr "B<EFAULT>"
3094
3095 #. type: Plain text
3096 #: debian-trixie fedora-44 fedora-rawhide
3097 msgid "I<lock> is outside your accessible address space."
3098 msgstr "I<lock> se trouve en dehors de l'espace d'adressage."
3099
3100 #. type: TP
3101 #: debian-trixie fedora-44 fedora-rawhide
3102 #, no-wrap
3103 msgid "B<EINTR>"
3104 msgstr "B<EINTR>"
3105
3106 #. type: Plain text
3107 #: debian-trixie fedora-44 fedora-rawhide
3108 msgid ""
3109 "I<op> is B<F_SETLKW> or B<F_OFD_SETLKW> and the operation was interrupted by "
3110 "a signal; see B<signal>(7)."
3111 msgstr ""
3112 "I<op> vaut B<F_SETLKW> ou B<F_OFD_SETLKW> et l'opération a été interrompue "
3113 "par un signal ; voir B<signal>(7)."
3114
3115 #. type: Plain text
3116 #: debian-trixie fedora-44 fedora-rawhide
3117 msgid ""
3118 "I<op> is B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK>, or B<F_OFD_SETLK>, and the "
3119 "operation was interrupted by a signal before the lock was checked or "
3120 "acquired. Most likely when locking a remote file (e.g., locking over NFS), "
3121 "but can sometimes happen locally."
3122 msgstr ""
3123 "I<op> vaut B<F_GETLK>, B<F_SETLK>, B<F_OFD_GETLK> ou B<F_OFD_SETLK> et "
3124 "l'opération a été interrompue par un signal avant la vérification ou "
3125 "l'acquisition du verrouillage. Généralement, quand on verrouille un fichier "
3126 "distant (comme un verrou sur NFS), mais cela peut aussi arriver localement."
3127
3128 #. type: Plain text
3129 #: debian-trixie fedora-44 fedora-rawhide
3130 msgid ""
3131 "I<op> is B<F_ADD_SEALS> and I<arg> includes an unrecognized sealing bit."
3132 msgstr ""
3133 "I<op> vaut B<F_ADD_SEALS> et I<arg> inclut un bit de verrou non reconnu."
3134
3135 #. type: Plain text
3136 #: debian-trixie fedora-44 fedora-rawhide
3137 msgid ""
3138 "I<op> is B<F_ADD_SEALS> or B<F_GET_SEALS> and the filesystem containing the "
3139 "inode referred to by I<fd> does not support sealing."
3140 msgstr ""
3141 "I<op> vaut B<F_ADD_SEALS> ou B<F_GET_SEALS> et le système de fichiers "
3142 "contenant l'inœud auquel se rapporte I<fd> ne prend pas en charge les "
3143 "verrous."
3144
3145 #. type: Plain text
3146 #: debian-trixie fedora-44 fedora-rawhide
3147 msgid ""
3148 "I<op> is B<F_DUPFD> and I<arg> is negative or is greater than the maximum "
3149 "allowable value (see the discussion of B<RLIMIT_NOFILE> in B<getrlimit>(2))."
3150 msgstr ""
3151 "I<op> vaut B<F_DUPFD> et I<arg> est négatif ou supérieur à la valeur "
3152 "maximale permise (voir le point sur B<RLIMIT_NOFILE> dans B<getrlimit>(2))."
3153
3154 #. type: Plain text
3155 #: debian-trixie fedora-44 fedora-rawhide
3156 msgid "I<op> is B<F_SETSIG> and I<arg> is not an allowable signal number."
3157 msgstr ""
3158 "I<op> vaut B<F_SETSIG> et I<arg> n'est pas un numéro de signal autorisé."
3159
3160 #. type: Plain text
3161 #: debian-trixie fedora-44 fedora-rawhide
3162 msgid ""
3163 "I<op> is B<F_OFD_SETLK>, B<F_OFD_SETLKW>, or B<F_OFD_GETLK>, and I<l_pid> "
3164 "was not specified as zero."
3165 msgstr ""
3166 "I<op> est B<F_OFD_SETLK>, B<F_OFD_SETLKW> ou B<F_OFD_GETLK>, et I<l_pid> n’a "
3167 "pas été défini comme zéro."
3168
3169 #. type: TP
3170 #: debian-trixie fedora-44 fedora-rawhide
3171 #, no-wrap
3172 msgid "B<EMFILE>"
3173 msgstr "B<EMFILE>"
3174
3175 #. type: Plain text
3176 #: debian-trixie fedora-44 fedora-rawhide
3177 msgid ""
3178 "I<op> is B<F_DUPFD> and the per-process limit on the number of open file "
3179 "descriptors has been reached."
3180 msgstr ""
3181 "I<op> vaut B<F_DUPFD> et la limite par processus du nombre de descripteurs "
3182 "de fichier ouverts a été atteinte."
3183
3184 #. type: TP
3185 #: debian-trixie fedora-44 fedora-rawhide
3186 #, no-wrap
3187 msgid "B<ENOLCK>"
3188 msgstr "B<ENOLCK>"
3189
3190 #. type: Plain text
3191 #: debian-trixie fedora-44 fedora-rawhide
3192 msgid ""
3193 "Too many segment locks open, lock table is full, or a remote locking "
3194 "protocol failed (e.g., locking over NFS)."
3195 msgstr ""
3196 "Trop de verrous sont ouverts, ou la table des verrous est pleine, ou le "
3197 "verrouillage distant (par exemple par NFS) a échoué."
3198
3199 #. type: TP
3200 #: debian-trixie fedora-44 fedora-rawhide
3201 #, no-wrap
3202 msgid "B<ENOTDIR>"
3203 msgstr "B<ENOTDIR>"
3204
3205 #. type: Plain text
3206 #: debian-trixie fedora-44 fedora-rawhide
3207 msgid ""
3208 "B<F_NOTIFY> was specified in I<op>, but I<fd> does not refer to a directory."
3209 msgstr ""
3210 "B<F_NOTIFY> a été indiqué dans I<op>, mais I<fd> ne fait pas référence à un "
3211 "répertoire."
3212
3213 #. type: TP
3214 #: debian-trixie fedora-44 fedora-rawhide
3215 #, no-wrap
3216 msgid "B<EPERM>"
3217 msgstr "B<EPERM>"
3218
3219 #. type: Plain text
3220 #: debian-trixie fedora-44 fedora-rawhide
3221 msgid ""
3222 "I<op> is B<F_SETPIPE_SZ> and the soft or hard user pipe limit has been "
3223 "reached; see B<pipe>(7)."
3224 msgstr ""
3225 "I<op> vaut B<F_SETPIPE_SZ> et la limite rigide ou souple du tube de "
3226 "l'utilisateur a été atteinte ; voir B<pipe>(7)."
3227
3228 #. type: Plain text
3229 #: debian-trixie fedora-44 fedora-rawhide
3230 msgid ""
3231 "Attempted to clear the B<O_APPEND> flag on a file that has the append-only "
3232 "attribute set."
3233 msgstr ""
3234 "Essai d'effacement de l'attribut B<O_APPEND> sur un fichier, mais il est "
3235 "considéré comme en-ajout-seulement."
3236
3237 #. type: Plain text
3238 #: debian-trixie fedora-44 fedora-rawhide
3239 msgid ""
3240 "I<op> was B<F_ADD_SEALS>, but I<fd> was not open for writing or the current "
3241 "set of seals on the file already includes B<F_SEAL_SEAL>."
3242 msgstr ""
3243 "I<op> valait B<F_ADD_SEALS>, mais I<fd> n'était pas ouvert en écriture ou le "
3244 "jeu de verrous actuel sur le fichier inclut déjà B<F_SEAL_SEAL>."
3245
3246 #. type: Plain text
3247 #: debian-trixie fedora-44 fedora-rawhide
3248 msgid "POSIX.1-2008."
3249 msgstr "POSIX.1-2008."
3250
3251 #. .P
3252 #. SVr4 documents additional EIO, ENOLINK and EOVERFLOW error conditions.
3253 #. type: Plain text
3254 #: debian-trixie fedora-44 fedora-rawhide
3255 msgid ""
3256 "B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, "
3257 "B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE>, and B<F_SETLEASE> are "
3258 "Linux-specific. (Define the B<_GNU_SOURCE> macro to obtain these "
3259 "definitions.)"
3260 msgstr ""
3261 "B<F_GETOWN_EX>, B<F_SETOWN_EX>, B<F_SETPIPE_SZ>, B<F_GETPIPE_SZ>, "
3262 "B<F_GETSIG>, B<F_SETSIG>, B<F_NOTIFY>, B<F_GETLEASE> et B<F_SETLEASE> sont "
3263 "spécifiques à Linux. (Définissez la macro B<_GNU_SOURCE> pour avoir ces "
3264 "définitions)."
3265
3266 #. type: Plain text
3267 #: debian-trixie fedora-44 fedora-rawhide
3268 msgid ""
3269 "B<F_OFD_SETLK>, B<F_OFD_SETLKW>, and B<F_OFD_GETLK> are Linux-specific (and "
3270 "one must define B<_GNU_SOURCE> to obtain their definitions), but work is "
3271 "being done to have them included in the next version of POSIX.1."
3272 msgstr ""
3273 "B<F_OFD_SETLK>, B<F_OFD_SETLKW> et B<F_OFD_GETLK> sont spécifiques à Linux "
3274 "(et il faut définir B<_GNU_SOURCE> pour obtenir leurs définitions), mais le "
3275 "travail est en cours pour les avoir dans la prochaine version de POSIX.1."
3276
3277 #. FIXME . Once glibc adds support, add a note about FTM requirements
3278 #. type: Plain text
3279 #: debian-trixie fedora-44 fedora-rawhide
3280 msgid "B<F_ADD_SEALS> and B<F_GET_SEALS> are Linux-specific."
3281 msgstr "B<F_ADD_SEALS> et B<F_GET_SEALS> sont spécifiques à Linux."
3282
3283 #. type: Plain text
3284 #: debian-trixie fedora-44 fedora-rawhide
3285 msgid "SVr4, 4.3BSD, POSIX.1-2001."
3286 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
3287
3288 #. type: Plain text
3289 #: debian-trixie fedora-44 fedora-rawhide
3290 msgid ""
3291 "Only the operations B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, "
3292 "B<F_SETFL>, B<F_GETLK>, B<F_SETLK>, and B<F_SETLKW> are specified in "
3293 "POSIX.1-2001."
3294 msgstr ""
3295 "Seules les opérations B<F_DUPFD>, B<F_GETFD>, B<F_SETFD>, B<F_GETFL>, "
3296 "B<F_SETFL>, B<F_GETLK>, B<F_SETLK> et B<F_SETLKW> sont spécifiées dans "
3297 "POSIX.1-2001."
3298
3299 #. .BR _BSD_SOURCE ,
3300 #. or
3301 #. type: Plain text
3302 #: debian-trixie fedora-44 fedora-rawhide
3303 msgid ""
3304 "B<F_GETOWN> and B<F_SETOWN> are specified in POSIX.1-2001. (To get their "
3305 "definitions, define either B<_XOPEN_SOURCE> with the value 500 or greater, "
3306 "or B<_POSIX_C_SOURCE> with the value 200809L or greater.)"
3307 msgstr ""
3308 "B<F_GETOWN> et B<F_SETOWN> sont spécifiées dans POSIX.1-2001 (pour activer "
3309 "ces définitions, vous devez définir soit B<_XOPEN_SOURCE> à la valeur "
3310 "supérieure ou égale à 500, soit B<_POSIX_C_SOURCE> à la valeur supérieure ou "
3311 "égale à 200809L)."
3312
3313 #. type: Plain text
3314 #: debian-trixie fedora-44 fedora-rawhide
3315 msgid ""
3316 "B<F_DUPFD_CLOEXEC> is specified in POSIX.1-2008. (To get this definition, "
3317 "define B<_POSIX_C_SOURCE> with the value 200809L or greater, or "
3318 "B<_XOPEN_SOURCE> with the value 700 or greater.)"
3319 msgstr ""
3320 "B<F_DUPFD_CLOEXEC> est spécifiée dans POSIX.1-2008 (pour activer cette "
3321 "définition, vous devez définir B<_POSIX_C_SOURCE> avec une valeur supérieure "
3322 "ou égale à 200809L, ou B<_XOPEN_SOURCE> avec une valeur supérieure ou égale "
3323 "à 700)."
3324
3325 #. type: SH
3326 #: debian-trixie fedora-44 fedora-rawhide
3327 #, no-wrap
3328 msgid "NOTES"
3329 msgstr "NOTES"
3330
3331 #. type: Plain text
3332 #: debian-trixie fedora-44 fedora-rawhide
3333 msgid ""
3334 "The errors returned by B<dup2>(2) are different from those returned by "
3335 "B<F_DUPFD>."
3336 msgstr ""
3337 "Les erreurs renvoyées par B<dup2>(2) ne sont pas les mêmes que celles "
3338 "renvoyées par B<F_DUPFD>."
3339
3340 #. type: SS
3341 #: debian-trixie fedora-44 fedora-rawhide
3342 #, no-wrap
3343 msgid "File locking"
3344 msgstr "Verrouillages de fichier"
3345
3346 #. type: Plain text
3347 #: debian-trixie fedora-44 fedora-rawhide
3348 msgid ""
3349 "The original Linux B<fcntl>() system call was not designed to handle large "
3350 "file offsets (in the I<flock> structure). Consequently, an B<fcntl64>() "
3351 "system call was added in Linux 2.4. The newer system call employs a "
3352 "different structure for file locking, I<flock64>, and corresponding "
3353 "operations, B<F_GETLK64>, B<F_SETLK64>, and B<F_SETLKW64>. However, these "
3354 "details can be ignored by applications using glibc, whose B<fcntl>() "
3355 "wrapper function transparently employs the more recent system call where it "
3356 "is available."
3357 msgstr ""
3358 "L'appel système B<fcntl>() originel de Linux n'a pas été conçu pour gérer "
3359 "les positions (dans la structure I<flock>) dans des fichiers de très grosse "
3360 "taille. En conséquence, Linux 2.4 a ajouté l'appel système B<fcntl64>(). Ce "
3361 "nouvel appel système utilise une structure différente de verrouillage de "
3362 "fichier, I<flock64>, ainsi que les opérations correspondantes B<F_GETLK64>, "
3363 "B<F_SETLK64> et B<F_SETLKW64>. Cependant, ces détails peuvent être ignorés "
3364 "par les applications qui utilisent la glibc, car sa fonction B<fcntl>() "
3365 "encapsule de manière transparente l'appel système le plus récent disponible."
3366
3367 #. type: SS
3368 #: debian-trixie fedora-44 fedora-rawhide
3369 #, no-wrap
3370 msgid "Record locks"
3371 msgstr "Verrouillages d’enregistrements"
3372
3373 #. type: Plain text
3374 #: debian-trixie fedora-44 fedora-rawhide
3375 msgid ""
3376 "Since Linux 2.0, there is no interaction between the types of lock placed by "
3377 "B<flock>(2) and B<fcntl>()."
3378 msgstr ""
3379 "Depuis Linux 2.0, il n'y a pas d'interaction entre les types de verrous "
3380 "placés par B<flock>(2) et B<fcntl>()."
3381
3382 #. e.g., Solaris 8 documents this field in fcntl(2), and Irix 6.5
3383 #. documents it in fcntl(5). mtk, May 2007
3384 #. Also, FreeBSD documents it (Apr 2014).
3385 #. type: Plain text
3386 #: debian-trixie fedora-44 fedora-rawhide
3387 msgid ""
3388 "Several systems have more fields in I<struct flock> such as, for example, "
3389 "I<l_sysid> (to identify the machine where the lock is held). Clearly, "
3390 "I<l_pid> alone is not going to be very useful if the process holding the "
3391 "lock may live on a different machine; on Linux, while present on some "
3392 "architectures (such as MIPS32), this field is not used."
3393 msgstr ""
3394 "Plusieurs systèmes ont d'autres champs dans I<struct flock> comme, par "
3395 "exemple, I<l_sysid> (pour identifier la machine où se trouve le verrou). "
3396 "Clairement, I<l_pid> seul ne sera pas très utile si le processus détenant le "
3397 "verrou s'exécute sur une autre machine ; sur Linux, bien que ce champ soit "
3398 "présent sur certaines architectures (comme MIPS32), ce champ n'est pas "
3399 "utilisé."
3400
3401 #. type: SS
3402 #: debian-trixie fedora-44 fedora-rawhide
3403 #, no-wrap
3404 msgid "Record locking and NFS"
3405 msgstr "Verrouillages d’enregistrements et NFS"
3406
3407 #
3408 #
3409 #
3410 #. Neil Brown: With NFSv3 the failure mode is the reverse. If
3411 #. the server loses contact with a client then any lock stays in place
3412 #. indefinitely ("why can't I read my mail"... I remember it well).
3413 #. Jeff Layton:
3414 #. Note that this is not a firm timeout. The server runs a job
3415 #. periodically to clean out expired stateful objects, and it's likely
3416 #. that there is some time (maybe even up to another whole lease period)
3417 #. between when the timeout expires and the job actually runs. If the
3418 #. client gets a RENEW in there within that window, its lease will be
3419 #. renewed and its state preserved.
3420 #. type: Plain text
3421 #: debian-trixie fedora-44 fedora-rawhide
3422 msgid ""
3423 "Before Linux 3.12, if an NFSv4 client loses contact with the server for a "
3424 "period of time (defined as more than 90 seconds with no communication), it "
3425 "might lose and regain a lock without ever being aware of the fact. (The "
3426 "period of time after which contact is assumed lost is known as the NFSv4 "
3427 "leasetime. On a Linux NFS server, this can be determined by looking at I</"
3428 "proc/fs/nfsd/nfsv4leasetime>, which expresses the period in seconds. The "
3429 "default value for this file is 90.) This scenario potentially risks data "
3430 "corruption, since another process might acquire a lock in the intervening "
3431 "period and perform file I/O."
3432 msgstr ""
3433 "Avant Linux 3.12, si un client NFSv4 perd le contact avec le serveur pendant "
3434 "un certain temps (défini à plus de 90 secondes sans communication), il "
3435 "pourrait perdre puis obtenir un nouveau verrou sans même en être informé. "
3436 "(La période au bout de laquelle le contact est assumé perdu est connue sous "
3437 "le nom de période de bail (« leasetime ») NFSv4. Sur un serveur NFS Linux, "
3438 "elle peut être déterminée en regardant I</proc/fs/nfsd/nfsv4leasetime>, qui "
3439 "exprime la période en seconde. La valeur par défaut pour ce fichier est 90.) "
3440 "Ce scénario a pour risque potentiel la corruption de données, puisqu’un "
3441 "autre processus pourrait obtenir un verrou pendant la période intermédiaire "
3442 "et réaliser des entrées et sorties de fichier."
3443
3444 #. commit ef1820f9be27b6ad158f433ab38002ab8131db4d
3445 #. commit f6de7a39c181dfb8a2c534661a53c73afb3081cd
3446 #. type: Plain text
3447 #: debian-trixie fedora-44 fedora-rawhide
3448 msgid ""
3449 "Since Linux 3.12, if an NFSv4 client loses contact with the server, any I/O "
3450 "to the file by a process which \"thinks\" it holds a lock will fail until "
3451 "that process closes and reopens the file. A kernel parameter, "
3452 "I<nfs.recover_lost_locks>, can be set to 1 to obtain the pre-3.12 behavior, "
3453 "whereby the client will attempt to recover lost locks when contact is "
3454 "reestablished with the server. Because of the attendant risk of data "
3455 "corruption, this parameter defaults to 0 (disabled)."
3456 msgstr ""
3457 "Depuis Linux 3.12, si un client NFSv4 perd le contact avec le serveur, "
3458 "toutes les entrées et sorties du fichier par un processus qui « pense » "
3459 "détenir un verrou échoueront avant que le processus ne ferme et rouvre le "
3460 "fichier. Un paramètre du noyau, I<nfs.recover_lost_locks>, peut être défini "
3461 "à B<1> pour obtenir le comportement précédant (avant Linux 3.12), où le "
3462 "client essayera de récupérer les verrous perdus quand le contact avec le "
3463 "serveur est rétabli. À cause du risque associé de corruption de données, la "
3464 "valeur par défaut de ce paramètre est B<0> (désactivé)."
3465
3466 #. type: SH
3467 #: debian-trixie fedora-44 fedora-rawhide
3468 #, no-wrap
3469 msgid "BUGS"
3470 msgstr "BOGUES"
3471
3472 #. type: SS
3473 #: debian-trixie fedora-44 fedora-rawhide
3474 #, no-wrap
3475 msgid "F_SETFL"
3476 msgstr "F_SETFL"
3477
3478 #. FIXME . According to POSIX.1-2001, O_SYNC should also be modifiable
3479 #. via fcntl(2), but currently Linux does not permit this
3480 #. See http://bugzilla.kernel.org/show_bug.cgi?id=5994
3481 #. type: Plain text
3482 #: debian-trixie fedora-44 fedora-rawhide
3483 msgid ""
3484 "It is not possible to use B<F_SETFL> to change the state of the B<O_DSYNC> "
3485 "and B<O_SYNC> flags. Attempts to change the state of these flags are "
3486 "silently ignored."
3487 msgstr ""
3488 "Il n'est pas possible d'utiliser B<F_SETFL> pour modifier l'état des "
3489 "attributs B<O_DSYNC> et B<O_SYNC>. Une tentative de modification de ces "
3490 "attributs sera simplement ignorée."
3491
3492 #. type: SS
3493 #: debian-trixie fedora-44 fedora-rawhide
3494 #, no-wrap
3495 msgid "F_GETOWN"
3496 msgstr "F_GETOWN"
3497
3498 #. glibc source: sysdeps/unix/sysv/linux/i386/sysdep.h
3499 #. mtk, Dec 04: some limited testing on alpha and ia64 seems to
3500 #. indicate that ANY negative PGID value will cause F_GETOWN
3501 #. to misinterpret the return as an error. Some other architectures
3502 #. seem to have the same range check as i386.
3503 #. type: Plain text
3504 #: debian-trixie fedora-44 fedora-rawhide
3505 msgid ""
3506 "A limitation of the Linux system call conventions on some architectures "
3507 "(notably i386) means that if a (negative) process group ID to be returned "
3508 "by B<F_GETOWN> falls in the range -1 to -4095, then the return value is "
3509 "wrongly interpreted by glibc as an error in the system call; that is, the "
3510 "return value of B<fcntl>() will be -1, and I<errno> will contain the "
3511 "(positive) process group ID. The Linux-specific B<F_GETOWN_EX> operation "
3512 "avoids this problem. Since glibc 2.11, glibc makes the kernel B<F_GETOWN> "
3513 "problem invisible by implementing B<F_GETOWN> using B<F_GETOWN_EX>."
3514 msgstr ""
3515 "En raison d'une limitation des conventions d'appels système sur certaines "
3516 "architectures (en particulier i386), si B<F_GETOWN> renvoie un identifiant "
3517 "de groupe de processus compris entre -1 et -4095, la valeur de retour est "
3518 "interprétée par glibc comme une erreur\\ ; la valeur de retour de B<fcntl>() "
3519 "sera -1 et I<errno> contiendra l'identifiant du groupe de processus "
3520 "(positif). L’opération spécifique à Linux B<F_SETOWN_EX> évite ce problème. "
3521 "Depuis la glibc 2.11, glibc rend le problème avec B<F_GETOWN> invisible en "
3522 "implémentant B<F_GETOWN> par-dessus B<F_GETOWN_EX>."
3523
3524 #. type: SS
3525 #: debian-trixie fedora-44 fedora-rawhide
3526 #, no-wrap
3527 msgid "F_SETOWN"
3528 msgstr "F_SETOWN"
3529
3530 #. type: Plain text
3531 #: debian-trixie fedora-44 fedora-rawhide
3532 msgid ""
3533 "In Linux 2.4 and earlier, there is bug that can occur when an unprivileged "
3534 "process uses B<F_SETOWN> to specify the owner of a socket file descriptor as "
3535 "a process (group) other than the caller. In this case, B<fcntl>() can "
3536 "return -1 with I<errno> set to B<EPERM>, even when the owner process (group) "
3537 "is one that the caller has permission to send signals to. Despite this "
3538 "error return, the file descriptor owner is set, and signals will be sent to "
3539 "the owner."
3540 msgstr ""
3541 "Sous Linux 2.4 et précédents, lorsqu'un processus non privilégié utilise "
3542 "B<F_SETOWN> pour indiquer le propriétaire d'un socket, avec un identifiant "
3543 "de (groupe de) processus autre que celui de l'appelant, un bogue peut "
3544 "survenir. Dans ce cas, B<fcntl>() peut renvoyer B<-1>, avec I<errno> "
3545 "positionné à B<EPERM>, même si l'appelant a le droit d'envoyer un signal à "
3546 "ce (groupe de) processus. En dépit de cette erreur, le propriétaire du "
3547 "descripteur de fichier est positionné, et les signaux seront envoyés au "
3548 "propriétaire."
3549
3550 #. type: SS
3551 #: debian-trixie fedora-44 fedora-rawhide
3552 #, no-wrap
3553 msgid "Deadlock detection"
3554 msgstr "Détection d’interblocage"
3555
3556 #. type: Plain text
3557 #: debian-trixie fedora-44 fedora-rawhide
3558 msgid ""
3559 "The deadlock-detection algorithm employed by the kernel when dealing with "
3560 "B<F_SETLKW> requests can yield both false negatives (failures to detect "
3561 "deadlocks, leaving a set of deadlocked processes blocked indefinitely) and "
3562 "false positives (B<EDEADLK> errors when there is no deadlock). For example, "
3563 "the kernel limits the lock depth of its dependency search to 10 steps, "
3564 "meaning that circular deadlock chains that exceed that size will not be "
3565 "detected. In addition, the kernel may falsely indicate a deadlock when two "
3566 "or more processes created using the B<clone>(2) B<CLONE_FILES> flag place "
3567 "locks that appear (to the kernel) to conflict."
3568 msgstr ""
3569 "L’algorithme de détection d’interblocage utilisé par le noyau lors du "
3570 "traitement de demandes B<F_SETLKW> peut produire à la fois des faux négatifs "
3571 "(échec de détection d’interblocages, laissant un ensemble de processus "
3572 "interbloqués se bloquer indéfiniment) et des faux positifs (erreurs "
3573 "B<EDEADLK> alors qu’aucun interblocage n’existe). Par exemple, le noyau "
3574 "limite la profondeur de verrouillage lors de sa recherche de dépendances à "
3575 "dix étapes, ce qui signifie que les chaînes d’interblocages circulaires "
3576 "dépassant cette taille ne seront pas détectées. De plus, le noyau pourrait "
3577 "faussement indiquer un interblocage lorsqu’au moins deux processus créés en "
3578 "utilisant l’attribut B<CLONE_FILES> de B<clone>(2) placent des verrous qui "
3579 "semblent (au noyau) en conflit."
3580
3581 #. http://marc.info/?l=linux-kernel&m=119013491707153&w=2
3582 #. Reconfirmed by Jeff Layton
3583 #. From: Jeff Layton <jlayton <at> redhat.com>
3584 #. Subject: Re: Status of fcntl() mandatory locking
3585 #. Newsgroups: gmane.linux.file-systems
3586 #. Date: 2014-04-28 10:07:57 GMT
3587 #. http://thread.gmane.org/gmane.linux.file-systems/84481/focus=84518
3588 #. type: Plain text
3589 #: debian-trixie fedora-44 fedora-rawhide
3590 msgid ""
3591 "The Linux implementation of mandatory locking is subject to race conditions "
3592 "which render it unreliable: a B<write>(2) call that overlaps with a lock "
3593 "may modify data after the mandatory lock is acquired; a B<read>(2) call "
3594 "that overlaps with a lock may detect changes to data that were made only "
3595 "after a write lock was acquired. Similar races exist between mandatory "
3596 "locks and B<mmap>(2). It is therefore inadvisable to rely on mandatory "
3597 "locking."
3598 msgstr ""
3599 "L'implémentation Linux du verrouillage impératif est sujette à des "
3600 "conditions de concurrence qui la rende non fiable : un appel à B<write>(2) "
3601 "qui chevauche un verrou peut modifier les données après que le verrouillage "
3602 "impératif a été acquis ; un appel à B<read>(2) qui chevauche un verrou peut "
3603 "détecter des modifications sur des données qui ont été faites seulement "
3604 "après qu'un verrou en écriture a été acquis. Des conditions de concurrence "
3605 "similaires existent entre les verrous impératifs et B<mmap>(2). Il est donc "
3606 "déconseillé de faire confiance au verrouillage impératif."
3607
3608 #. type: Plain text
3609 #: debian-trixie fedora-44 fedora-rawhide
3610 msgid ""
3611 "I<locks.txt>, I<mandatory-locking.txt>, and I<dnotify.txt> in the Linux "
3612 "kernel source directory I<Documentation/filesystems/> (on older kernels, "
3613 "these files are directly under the I<Documentation/> directory, and "
3614 "I<mandatory-locking.txt> is called I<mandatory.txt>)"
3615 msgstr ""
3616 "I<locks.txt>, I<mandatory-locking.txt> et I<dnotify.txt> dans le répertoire "
3617 "I<Documentation/filesystems/> des sources du noyau Linux. (Sur d'anciens "
3618 "noyaux, ces fichiers se trouvent dans le répertoire I<Documentation/> et "
3619 "I<mandatory-locking.txt> est appelé I<mandatory.txt>.)"
3620
3621 #. type: TH
3622 #: fedora-44 fedora-rawhide
3623 #, no-wrap
3624 msgid "2024-07-23"
3625 msgstr "23 juillet 2024"
3626
3627 #. type: TH
3628 #: fedora-44 fedora-rawhide
3629 #, no-wrap
3630 msgid "Linux man-pages 6.13"
3631 msgstr "Pages du manuel de Linux 6.13"
3632
3633 #. type: TH
3634 #: mageia-cauldron
3635 #, no-wrap
3636 msgid "Linux man-pages 6.17"
3637 msgstr "Pages du manuel de Linux 6.17"
3638
3639 #. type: TH
3640 #: opensuse-leap-16-1 opensuse-tumbleweed
3641 #, no-wrap
3642 msgid "Linux man-pages (unreleased)"
3643 msgstr "Pages du manuel de Linux (non publiées)"