Debian Codegraph @

po/fr/man2/getrandom.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.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2020-2023.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
23 "PO-Revision-Date: 2025-06-10 19:19+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 "getrandom"
38 msgstr "getrandom"
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 "getrandom - obtain a series of random bytes"
64 msgstr "getrandom - obtenir une série d'octets aléatoires"
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>sys/random.hE<gt>>\n"
91 msgstr "B<#include E<lt>sys/random.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 ""
98 #| "B<ssize_t getrandom(size_t >I<buflen>B<;>\n"
99 #| "B< void >I<buf>B<[>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
100 msgid ""
101 "B<ssize_t getrandom(>size_t size;\n"
102 "B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
103 msgstr ""
104 "B<ssize_t getrandom(size_t >I<buflen>B<;>\n"
105 "B< void >I<buf>B<[>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
106
107 #. type: SH
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid "DESCRIPTION"
112 msgstr "DESCRIPTION"
113
114 #. type: Plain text
115 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
116 #: opensuse-tumbleweed
117 #, fuzzy
118 #| msgid ""
119 #| "The B<getrandom>() system call fills the buffer pointed to by I<buf> "
120 #| "with up to I<buflen> random bytes. These bytes can be used to seed user-"
121 #| "space random number generators or for cryptographic purposes."
122 msgid ""
123 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
124 "up to I<size> random bytes. These bytes can be used to seed user-space "
125 "random number generators or for cryptographic purposes."
126 msgstr ""
127 "L'appel système B<getrandom>() remplit le tampon vers lequel pointe I<buf> "
128 "avec jusqu'à I<buflen> octets aléatoires. Ces octets peuvent être utilisés "
129 "pour alimenter des générateurs de nombre aléatoire dans l'espace utilisateur "
130 "ou à des fins de chiffrement."
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "By default, B<getrandom>() draws entropy from the I<urandom> source (i.e., "
137 "the same source as the I</dev/urandom> device). This behavior can be "
138 "changed via the I<flags> argument."
139 msgstr ""
140 "Par défaut, B<getrandom>() dessine une entropie à partir d'une source "
141 "I<urandom> (soit la même source que le périphérique I</dev/urandom>). Ce "
142 "comportement peut être modifié avec le paramètre I<flags>."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If the I<urandom> source has been initialized, reads of up to 256 bytes will "
149 "always return as many bytes as requested and will not be interrupted by "
150 "signals. No such guarantees apply for larger buffer sizes. For example, if "
151 "the call is interrupted by a signal handler, it may return a partially "
152 "filled buffer, or fail with the error B<EINTR>."
153 msgstr ""
154 "Si la source I<urandom> a été initialisée, les lectures jusqu'à 256 octets "
155 "renverront toujours autant d'octets que demandé et ne seront pas "
156 "interrompues par des signaux. Il n'y a pas une telle garantie pour les "
157 "tampons plus gros. Par exemple, si l'appel est interrompu par un "
158 "gestionnaire de signal, il peut renvoyer un tampon partiellement rempli ou "
159 "échouer avec l'erreur B<EINTR>."
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "If the I<urandom> source has not yet been initialized, then B<getrandom>() "
166 "will block, unless B<GRND_NONBLOCK> is specified in I<flags>."
167 msgstr ""
168 "Si la source I<urandom> n'a pas encore été initialisée, B<getrandom>() se "
169 "bloquera, sauf si B<GRND_NONBLOCK> est indiqué dans I<flags>."
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The I<flags> argument is a bit mask that can contain zero or more of the "
176 "following values ORed together:"
177 msgstr ""
178 "Le paramètre I<flags> est un masque de bit qui peut contenir aucune ou "
179 "plusieurs des valeurs suivantes unies (OU logique) ensemble :"
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<GRND_RANDOM>"
186 msgstr "B<GRND_RANDOM>"
187
188 #. type: Plain text
189 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
190 #: opensuse-tumbleweed
191 #, fuzzy
192 #| msgid ""
193 #| "If this bit is set, then random bytes are drawn from the I<random> source "
194 #| "(i.e., the same source as the I</dev/random> device) instead of the "
195 #| "I<urandom> source. The I<random> source is limited based on the entropy "
196 #| "that can be obtained from environmental noise. If the number of "
197 #| "available bytes in the I<random> source is less than requested in "
198 #| "I<buflen>, the call returns just the available random bytes. If no "
199 #| "random bytes are available, the behavior depends on the presence of "
200 #| "B<GRND_NONBLOCK> in the I<flags> argument."
201 msgid ""
202 "If this bit is set, then random bytes are drawn from the I<random> source "
203 "(i.e., the same source as the I</dev/random> device) instead of the "
204 "I<urandom> source. The I<random> source is limited based on the entropy "
205 "that can be obtained from environmental noise. If the number of available "
206 "bytes in the I<random> source is less than requested in I<size>, the call "
207 "returns just the available random bytes. If no random bytes are available, "
208 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
209 "argument."
210 msgstr ""
211 "Si ce bit est positionné, les octets aléatoires seront dessinés à partir de "
212 "la source I<random> (soit la même que le périphérique I</dev/random>) au "
213 "lieu de la source I<urandom>. La source I<random> est limitée par l'entropie "
214 "qui peut être récupérée à partir du bruit de l'environnement. Si le nombre "
215 "d'octets disponibles dans la source I<random> est inférieur à celui demandé "
216 "dans I<buflen>, l'appel ne renvoie que les octets aléatoires disponibles. "
217 "S'il n'y pas d'octets aléatoires disponibles, le comportement dépend de la "
218 "présence de B<GRND_NONBLOCK> dans le paramètre I<flags>."
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<GRND_NONBLOCK>"
225 msgstr "B<GRND_NONBLOCK>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "By default, when reading from the I<random> source, B<getrandom>() blocks "
232 "if no random bytes are available, and when reading from the I<urandom> "
233 "source, it blocks if the entropy pool has not yet been initialized. If the "
234 "B<GRND_NONBLOCK> flag is set, then B<getrandom>() does not block in these "
235 "cases, but instead immediately returns -1 with I<errno> set to B<EAGAIN>."
236 msgstr ""
237 "Par défaut, pendant une lecture depuis la source I<random>, B<getrandom>() "
238 "se bloque si aucun octet aléatoire n'est disponible, tandis que pendant une "
239 "lecture à partir de la source I<urandom>, il se bloque si la réserve (pool) "
240 "d'entropie n'a pas encore été initialisée. Si le paramètre B<GRND_NONBLOCK> "
241 "est positionné, B<getrandom>() ne se bloque pas dans ces cas, mais il "
242 "renvoie immédiatement B<-1> et il positionne I<errno> sur B<EAGAIN>."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "RETURN VALUE"
249 msgstr "VALEUR RENVOYÉE"
250
251 #. type: Plain text
252 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
253 #: opensuse-tumbleweed
254 #, fuzzy
255 #| msgid ""
256 #| "On success, B<getrandom>() returns the number of bytes that were copied "
257 #| "to the buffer I<buf>. This may be less than the number of bytes "
258 #| "requested via I<buflen> if either B<GRND_RANDOM> was specified in "
259 #| "I<flags> and insufficient entropy was present in the I<random> source or "
260 #| "the system call was interrupted by a signal."
261 msgid ""
262 "On success, B<getrandom>() returns the number of bytes that were copied to "
263 "the buffer I<buf>. This may be less than the number of bytes requested via "
264 "I<size> if either B<GRND_RANDOM> was specified in I<flags> and insufficient "
265 "entropy was present in the I<random> source or the system call was "
266 "interrupted by a signal."
267 msgstr ""
268 "En cas de succès, B<getrandom>() renvoie le nombre d'octets copiés dans le "
269 "tampon I<buf>. Il peut être inférieur au nombre d'octets demandé par "
270 "I<buflen> si B<GRND_RANDOM> a été indiqué dans I<flags> et qu'il n'y avait "
271 "pas assez d'entropie dans la source I<random>, ou si l'appel système a été "
272 "interrompu par un signal."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
278 msgstr ""
279 "En cas d'erreur, la valeur de retour est B<-1> et I<errno> est définie pour "
280 "préciser l'erreur."
281
282 #. type: SH
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "ERRORS"
287 msgstr "ERREURS"
288
289 #. type: TP
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "B<EAGAIN>"
294 msgstr "B<EAGAIN>"
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid ""
300 "The requested entropy was not available, and B<getrandom>() would have "
301 "blocked if the B<GRND_NONBLOCK> flag was not set."
302 msgstr ""
303 "L'entropie demandée n'était pas disponible et B<getrandom>() se serait "
304 "bloqué si le paramètre B<GRND_NONBLOCK> n'avait pas été positionné."
305
306 #. type: TP
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "B<EFAULT>"
311 msgstr "B<EFAULT>"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "The address referred to by I<buf> is outside the accessible address space."
318 msgstr ""
319 "L'adresse à laquelle renvoie I<buf> est en dehors de l'espace d'adressage "
320 "accessible."
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<EINTR>"
327 msgstr "B<EINTR>"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid ""
333 "The call was interrupted by a signal handler; see the description of how "
334 "interrupted B<read>(2) calls on \"slow\" devices are handled with and "
335 "without the B<SA_RESTART> flag in the B<signal>(7) man page."
336 msgstr ""
337 "L'appel a été interrompu par un gestionnaire de signal ; voir la description "
338 "sur la manière dont sont gérés les appels B<read>(2) interrompus sur des "
339 "périphériques « lents » avec et sans l'attribut B<SA_RESTART> dans la page "
340 "de manuel de B<signal>(7)."
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<EINVAL>"
347 msgstr "B<EINVAL>"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "An invalid flag was specified in I<flags>."
353 msgstr "Un paramètre non valable a été indiqué dans I<flags>."
354
355 #. type: TP
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "B<ENOSYS>"
360 msgstr "B<ENOSYS>"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "The glibc wrapper function for B<getrandom>() determined that the "
367 "underlying kernel does not implement this system call."
368 msgstr ""
369 "La fonction enveloppe de la glibc pour B<getrandom>() a déterminé que le "
370 "noyau sous-jacent n'implémente pas cet appel système."
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "STANDARDS"
377 msgstr "NORMES"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid "Linux."
383 msgstr "Linux."
384
385 #. type: SH
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "HISTORY"
390 msgstr "HISTORIQUE"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid "Linux 3.17, glibc 2.25."
396 msgstr "Linux 3.17, glibc 2.25."
397
398 #. type: SH
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "NOTES"
403 msgstr "NOTES"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "For an overview and comparison of the various interfaces that can be used to "
410 "obtain randomness, see B<random>(7)."
411 msgstr ""
412 "Pour un aperçu et une comparaison des interfaces utilisables pour produire "
413 "de l'aléatoire, voir B<random>(7)."
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "Unlike I</dev/random> and I</dev/urandom>, B<getrandom>() does not involve "
420 "the use of pathnames or file descriptors. Thus, B<getrandom>() can be "
421 "useful in cases where B<chroot>(2) makes I</dev> pathnames invisible, and "
422 "where an application (e.g., a daemon during start-up) closes a file "
423 "descriptor for one of these files that was opened by a library."
424 msgstr ""
425 "Contrairement à I</dev/random> et à I</dev/urandom>, B<getrandom>() "
426 "n'implique pas d'utiliser des noms de chemin ou des descripteurs de fichier. "
427 "Ainsi, B<getrandom>() peut être utile dans les cas où B<chroot>(2) rend "
428 "invisibles les noms de chemin I</dev>, et où une application (comme un démon "
429 "qui démarre) ferme un descripteur de fichier pour un de ces fichiers ouverts "
430 "par une bibliothèque."
431
432 #. type: SS
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "Maximum number of bytes returned"
437 msgstr "Nombre maximal d'octets renvoyés"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid "As of Linux 3.19 the following limits apply:"
443 msgstr "À partir de Linux 3.19, les limites suivantes s'appliquent :"
444
445 #. type: IP
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "\\[bu]"
450 msgstr "-"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "When reading from the I<urandom> source, a maximum of 32Mi-1 bytes is "
457 "returned by a single call to B<getrandom>() on systems where I<int> has a "
458 "size of 32 bits."
459 msgstr ""
460 "Pendant une lecture à partir d'une source I<urandom>, un maximum de 32Mi-1 "
461 "octets est renvoyé par un appel B<getrandom>() sur des systèmes où I<int> a "
462 "une taille de 32 bits."
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "When reading from the I<random> source, a maximum of 512 bytes is returned."
469 msgstr ""
470 "Lors d'une lecture à partir d'une source I<random>, un maximum de 512 octets "
471 "est renvoyé."
472
473 #. type: SS
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "Interruption by a signal handler"
478 msgstr "Interruption par un gestionnaire de signal"
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 ""
484 "When reading from the I<urandom> source (B<GRND_RANDOM> is not set), "
485 "B<getrandom>() will block until the entropy pool has been initialized "
486 "(unless the B<GRND_NONBLOCK> flag was specified). If a request is made to "
487 "read a large number of bytes (more than 256), B<getrandom>() will block "
488 "until those bytes have been generated and transferred from kernel memory to "
489 "I<buf>. When reading from the I<random> source (B<GRND_RANDOM> is set), "
490 "B<getrandom>() will block until some random bytes become available (unless "
491 "the B<GRND_NONBLOCK> flag was specified)."
492 msgstr ""
493 "Lors de la lecture à partir d'une source I<urandom> (B<GRND_RANDOM> n'est "
494 "pas positionné), B<getrandom>() se bloquera jusqu'à ce que la réserve (pool) "
495 "d'entropie soit initialisée (sauf si l'attribut B<GRND_NONBLOCK> a été "
496 "indiqué). Si une demande est faite pour lire un grand nombre d'octets (plus "
497 "de 256), B<getrandom>() se bloquera jusqu'à ce que ces octets soient générés "
498 "et transférés de la mémoire du noyau vers I<buf>. Lors d'une lecture à "
499 "partir d'une source I<random> (B<GRND_RANDOM> est positionné), "
500 "B<getrandom>() se bloquera jusqu'à ce que des octets aléatoires soient "
501 "disponibles (sauf si l'attribut B<GRND_NONBLOCK> a été indiqué)."
502
503 #. type: Plain text
504 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
505 #: opensuse-tumbleweed
506 #, fuzzy
507 #| msgid ""
508 #| "The behavior when a call to B<getrandom>() that is blocked while reading "
509 #| "from the I<urandom> source is interrupted by a signal handler depends on "
510 #| "the initialization state of the entropy buffer and on the request size, "
511 #| "I<buflen>. If the entropy is not yet initialized, then the call fails "
512 #| "with the B<EINTR> error. If the entropy pool has been initialized and "
513 #| "the request size is large (I<buflen>\\ E<gt>\\ 256), the call either "
514 #| "succeeds, returning a partially filled buffer, or fails with the error "
515 #| "B<EINTR>. If the entropy pool has been initialized and the request size "
516 #| "is small (I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail "
517 #| "with B<EINTR>. Instead, it will return all of the bytes that have been "
518 #| "requested."
519 msgid ""
520 "The behavior when a call to B<getrandom>() that is blocked while reading "
521 "from the I<urandom> source is interrupted by a signal handler depends on the "
522 "initialization state of the entropy buffer and on the request size, "
523 "I<size>. If the entropy is not yet initialized, then the call fails with "
524 "the B<EINTR> error. If the entropy pool has been initialized and the "
525 "request size is large (I<size>\\ E<gt>\\ 256), the call either succeeds, "
526 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
527 "the entropy pool has been initialized and the request size is small "
528 "(I<size>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with B<EINTR>. "
529 "Instead, it will return all of the bytes that have been requested."
530 msgstr ""
531 "Quand un appel B<getrandom>() se bloque pendant la lecture à partir d'une "
532 "source I<urandom> du fait d'une interruption par un gestionnaire de signal, "
533 "le comportement dépend de l'état d'initialisation du tampon d'entropie et de "
534 "la taille de la requête, I<buflen>. Si la réserve d'entropie n'est pas "
535 "encore initialisée, l'appel échoue avec l'erreur B<EINTR>. Si cette réserve "
536 "d'entropie a été initialisée et si la taille de la requête est importante "
537 "(I<buflen>\\ E<gt>\\ 256), soit l'appel réussit, en renvoyant un tampon "
538 "partiellement rempli, soit il échoue avec l'erreur B<EINTR>. Si la réserve "
539 "d'entropie a été initialisée et si la taille demandée est petite "
540 "(I<buflen>\\ E<lt>=\\ 256), B<getrandom>() n'échouera pas avec B<EINTR>. Il "
541 "renverra plutôt tous les octets demandés."
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid ""
547 "When reading from the I<random> source, blocking requests of any size can be "
548 "interrupted by a signal handler (the call fails with the error B<EINTR>)."
549 msgstr ""
550 "Pendant une lecture avec une source I<random>, les requêtes bloquantes de "
551 "n'importe quelle taille peuvent être interrompues par un gestionnaire de "
552 "signal (l'appel échoue avec l'erreur B<EINTR>)."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "Using B<getrandom>() to read small buffers (E<lt>=\\ 256 bytes) from the "
559 "I<urandom> source is the preferred mode of usage."
560 msgstr ""
561 "L'utilisation de B<getrandom>() pour lire de petits tampons (E<lt>=\\ 256 "
562 "octets) à partir d'une source I<urandom> est le cas d'utilisation privilégié."
563
564 #. type: Plain text
565 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
566 #: opensuse-tumbleweed
567 #, fuzzy
568 #| msgid ""
569 #| "The special treatment of small values of I<buflen> was designed for "
570 #| "compatibility with OpenBSD's B<getentropy>(3), which is nowadays "
571 #| "supported by glibc."
572 msgid ""
573 "The special treatment of small values of I<size> was designed for "
574 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
575 "by glibc."
576 msgstr ""
577 "Le traitement particulier des petites valeurs de I<buflen> a été conçu à des "
578 "fins de compatibilité avec le B<getentropy>(3) d'OpenBSD, qui est "
579 "aujourd'hui géré par la glibc."
580
581 #. type: Plain text
582 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
583 #: opensuse-tumbleweed
584 #, fuzzy
585 #| msgid ""
586 #| "The user of B<getrandom>() I<must> always check the return value, to "
587 #| "determine whether either an error occurred or fewer bytes than requested "
588 #| "were returned. In the case where B<GRND_RANDOM> is not specified and "
589 #| "I<buflen> is less than or equal to 256, a return of fewer bytes than "
590 #| "requested should never happen, but the careful programmer will check for "
591 #| "this anyway!"
592 msgid ""
593 "The user of B<getrandom>() I<must> always check the return value, to "
594 "determine whether either an error occurred or fewer bytes than requested "
595 "were returned. In the case where B<GRND_RANDOM> is not specified and "
596 "I<size> is less than or equal to 256, a return of fewer bytes than requested "
597 "should never happen, but the careful programmer will check for this anyway!"
598 msgstr ""
599 "L'utilisateur de B<getrandom>() I<doit> toujours vérifier la valeur "
600 "renvoyée, pour savoir si une erreur s'est produite ou si moins d'octets que "
601 "le nombre demandé ont été renvoyés. Au cas où B<GRND_RANDOM> n'est pas "
602 "indiqué et où I<buflen> est inférieur ou égal à 256, il ne devrait jamais y "
603 "avoir de renvoi d'un nombre d'octets inférieur à celui demandé, mais un "
604 "programmeur prudent le vérifiera quand même."
605
606 #. type: SH
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "BUGS"
611 msgstr "BOGUES"
612
613 #. FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid "As of Linux 3.19, the following bug exists:"
618 msgstr "À partir de Linux 3.19, le bogue suivant existe :"
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "Depending on CPU load, B<getrandom>() does not react to interrupts before "
625 "reading all bytes requested."
626 msgstr ""
627 "Selon la charge du processeur, B<getrandom>() ne réagit pas aux "
628 "interruptions avant de lire tous les octets demandés."
629
630 #. type: SH
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "SEE ALSO"
635 msgstr "VOIR AUSSI"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
642 msgstr ""
643 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
644
645 #. type: TH
646 #: debian-trixie
647 #, no-wrap
648 msgid "2024-05-02"
649 msgstr "2 mai 2024"
650
651 #. type: TH
652 #: debian-trixie
653 #, no-wrap
654 msgid "Linux man-pages 6.9.1"
655 msgstr "Pages du manuel de Linux 6.9.1"
656
657 #. type: Plain text
658 #: debian-trixie
659 msgid "Standard C library (I<libc>, I<-lc>)"
660 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
661
662 #. type: Plain text
663 #: debian-trixie fedora-44 fedora-rawhide
664 #, no-wrap
665 msgid "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
666 msgstr "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
667
668 #. type: Plain text
669 #: debian-trixie fedora-44 fedora-rawhide
670 msgid ""
671 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
672 "up to I<buflen> random bytes. These bytes can be used to seed user-space "
673 "random number generators or for cryptographic purposes."
674 msgstr ""
675 "L'appel système B<getrandom>() remplit le tampon vers lequel pointe I<buf> "
676 "avec jusqu'à I<buflen> octets aléatoires. Ces octets peuvent être utilisés "
677 "pour alimenter des générateurs de nombre aléatoire dans l'espace utilisateur "
678 "ou à des fins de chiffrement."
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 msgid ""
683 "If this bit is set, then random bytes are drawn from the I<random> source "
684 "(i.e., the same source as the I</dev/random> device) instead of the "
685 "I<urandom> source. The I<random> source is limited based on the entropy "
686 "that can be obtained from environmental noise. If the number of available "
687 "bytes in the I<random> source is less than requested in I<buflen>, the call "
688 "returns just the available random bytes. If no random bytes are available, "
689 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
690 "argument."
691 msgstr ""
692 "Si ce bit est positionné, les octets aléatoires seront dessinés à partir de "
693 "la source I<random> (soit la même que le périphérique I</dev/random>) au "
694 "lieu de la source I<urandom>. La source I<random> est limitée par l'entropie "
695 "qui peut être récupérée à partir du bruit de l'environnement. Si le nombre "
696 "d'octets disponibles dans la source I<random> est inférieur à celui demandé "
697 "dans I<buflen>, l'appel ne renvoie que les octets aléatoires disponibles. "
698 "S'il n'y pas d'octets aléatoires disponibles, le comportement dépend de la "
699 "présence de B<GRND_NONBLOCK> dans le paramètre I<flags>."
700
701 #. type: Plain text
702 #: debian-trixie fedora-44 fedora-rawhide
703 msgid ""
704 "On success, B<getrandom>() returns the number of bytes that were copied to "
705 "the buffer I<buf>. This may be less than the number of bytes requested via "
706 "I<buflen> if either B<GRND_RANDOM> was specified in I<flags> and "
707 "insufficient entropy was present in the I<random> source or the system call "
708 "was interrupted by a signal."
709 msgstr ""
710 "En cas de succès, B<getrandom>() renvoie le nombre d'octets copiés dans le "
711 "tampon I<buf>. Il peut être inférieur au nombre d'octets demandé par "
712 "I<buflen> si B<GRND_RANDOM> a été indiqué dans I<flags> et qu'il n'y avait "
713 "pas assez d'entropie dans la source I<random>, ou si l'appel système a été "
714 "interrompu par un signal."
715
716 #. type: Plain text
717 #: debian-trixie fedora-44 fedora-rawhide
718 msgid ""
719 "The behavior when a call to B<getrandom>() that is blocked while reading "
720 "from the I<urandom> source is interrupted by a signal handler depends on the "
721 "initialization state of the entropy buffer and on the request size, "
722 "I<buflen>. If the entropy is not yet initialized, then the call fails with "
723 "the B<EINTR> error. If the entropy pool has been initialized and the "
724 "request size is large (I<buflen>\\ E<gt>\\ 256), the call either succeeds, "
725 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
726 "the entropy pool has been initialized and the request size is small "
727 "(I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with "
728 "B<EINTR>. Instead, it will return all of the bytes that have been requested."
729 msgstr ""
730 "Quand un appel B<getrandom>() se bloque pendant la lecture à partir d'une "
731 "source I<urandom> du fait d'une interruption par un gestionnaire de signal, "
732 "le comportement dépend de l'état d'initialisation du tampon d'entropie et de "
733 "la taille de la requête, I<buflen>. Si la réserve d'entropie n'est pas "
734 "encore initialisée, l'appel échoue avec l'erreur B<EINTR>. Si cette réserve "
735 "d'entropie a été initialisée et si la taille de la requête est importante "
736 "(I<buflen>\\ E<gt>\\ 256), soit l'appel réussit, en renvoyant un tampon "
737 "partiellement rempli, soit il échoue avec l'erreur B<EINTR>. Si la réserve "
738 "d'entropie a été initialisée et si la taille demandée est petite "
739 "(I<buflen>\\ E<lt>=\\ 256), B<getrandom>() n'échouera pas avec B<EINTR>. Il "
740 "renverra plutôt tous les octets demandés."
741
742 #. type: Plain text
743 #: debian-trixie fedora-44 fedora-rawhide
744 msgid ""
745 "The special treatment of small values of I<buflen> was designed for "
746 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
747 "by glibc."
748 msgstr ""
749 "Le traitement particulier des petites valeurs de I<buflen> a été conçu à des "
750 "fins de compatibilité avec le B<getentropy>(3) d'OpenBSD, qui est "
751 "aujourd'hui géré par la glibc."
752
753 #. type: Plain text
754 #: debian-trixie fedora-44 fedora-rawhide
755 msgid ""
756 "The user of B<getrandom>() I<must> always check the return value, to "
757 "determine whether either an error occurred or fewer bytes than requested "
758 "were returned. In the case where B<GRND_RANDOM> is not specified and "
759 "I<buflen> is less than or equal to 256, a return of fewer bytes than "
760 "requested should never happen, but the careful programmer will check for "
761 "this anyway!"
762 msgstr ""
763 "L'utilisateur de B<getrandom>() I<doit> toujours vérifier la valeur "
764 "renvoyée, pour savoir si une erreur s'est produite ou si moins d'octets que "
765 "le nombre demandé ont été renvoyés. Au cas où B<GRND_RANDOM> n'est pas "
766 "indiqué et où I<buflen> est inférieur ou égal à 256, il ne devrait jamais y "
767 "avoir de renvoi d'un nombre d'octets inférieur à celui demandé, mais un "
768 "programmeur prudent le vérifiera quand même."
769
770 #. type: TH
771 #: fedora-44 fedora-rawhide
772 #, no-wrap
773 msgid "2024-07-23"
774 msgstr "23 juillet 2024"
775
776 #. type: TH
777 #: fedora-44 fedora-rawhide
778 #, no-wrap
779 msgid "Linux man-pages 6.13"
780 msgstr "Pages du manuel de Linux 6.13"
781
782 #. type: TH
783 #: mageia-cauldron
784 #, no-wrap
785 msgid "Linux man-pages 6.17"
786 msgstr "Pages du manuel de Linux 6.17"
787
788 #. type: TH
789 #: opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "Linux man-pages (unreleased)"
792 msgstr "Pages du manuel de Linux (non publiées)"