Debian Codegraph @

po/ro/man2/getrandom.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.26.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2025-11-04 19:39+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "getrandom"
25 msgstr "getrandom"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "getrandom - obtain a series of random bytes"
51 msgstr "getrandom - obține o serie de octeți aleatorii"
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 "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
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 "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/random.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/random.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<ssize_t getrandom(>size_t size;\n"
86 "B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
87 msgstr ""
88 "B<ssize_t getrandom(>size_t size;\n"
89 "B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIERE"
97
98 #. type: Plain text
99 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
100 #: opensuse-tumbleweed
101 msgid ""
102 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
103 "up to I<size> random bytes. These bytes can be used to seed user-space "
104 "random number generators or for cryptographic purposes."
105 msgstr ""
106 "Apelul de sistem B<getrandom>() umple memoria tampon indicată de I<buf> cu "
107 "până la I<size> octeți aleatorii. Acești octeți pot fi utilizați pentru "
108 "însămânțarea generatoarelor de numere aleatorii din spațiul utilizatorului "
109 "sau în scopuri criptografice."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "By default, B<getrandom>() draws entropy from the I<urandom> source (i.e., "
116 "the same source as the I</dev/urandom> device). This behavior can be "
117 "changed via the I<flags> argument."
118 msgstr ""
119 "În mod implicit, B<getrandom>() extrage entropia din sursa I<urandom> (adică "
120 "aceeași sursă ca dispozitivul I</dev/urandom>). Acest comportament poate fi "
121 "modificat prin intermediul argumentului I<flags>."
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "If the I<urandom> source has been initialized, reads of up to 256 bytes will "
128 "always return as many bytes as requested and will not be interrupted by "
129 "signals. No such guarantees apply for larger buffer sizes. For example, if "
130 "the call is interrupted by a signal handler, it may return a partially "
131 "filled buffer, or fail with the error B<EINTR>."
132 msgstr ""
133 "Dacă sursa I<urandom> a fost inițializată, citirile de până la 256 de octeți "
134 "vor returna întotdeauna numărul de octeți solicitat și nu vor fi întrerupte "
135 "de semnale. Nu se aplică astfel de garanții pentru dimensiuni mai mari ale "
136 "memoriei tampon. De exemplu, dacă apelul este întrerupt de un gestionar de "
137 "semnal, acesta poate returna un tampon parțial umplut sau poate eșua cu "
138 "eroarea B<EINTR>."
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "If the I<urandom> source has not yet been initialized, then B<getrandom>() "
145 "will block, unless B<GRND_NONBLOCK> is specified in I<flags>."
146 msgstr ""
147 "Dacă sursa I<urandom> nu a fost încă inițializată, atunci B<getrandom>() se "
148 "va bloca, cu excepția cazului în care B<GRND_NONBLOCK> este specificat în "
149 "I<flags>."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The I<flags> argument is a bit mask that can contain zero or more of the "
156 "following values ORed together:"
157 msgstr ""
158 "Argumentul I<flags> este o mască de biți care poate conține zero sau mai "
159 "multe dintre următoarele valori unite împreună printr-un operator SAU logic:"
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<GRND_RANDOM>"
166 msgstr "B<GRND_RANDOM>"
167
168 #. type: Plain text
169 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
170 #: opensuse-tumbleweed
171 msgid ""
172 "If this bit is set, then random bytes are drawn from the I<random> source "
173 "(i.e., the same source as the I</dev/random> device) instead of the "
174 "I<urandom> source. The I<random> source is limited based on the entropy "
175 "that can be obtained from environmental noise. If the number of available "
176 "bytes in the I<random> source is less than requested in I<size>, the call "
177 "returns just the available random bytes. If no random bytes are available, "
178 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
179 "argument."
180 msgstr ""
181 "Dacă acest bit este activat, atunci octeții aleatorii sunt extrași din sursa "
182 "I<random> (adică aceeași sursă ca dispozitivul I</dev/random>) în locul "
183 "sursei I<urandom>. Sursa I<random> este limitată pe baza entropiei care "
184 "poate fi obținută din zgomotul ambiental. Dacă numărul de octeți disponibili "
185 "în sursa I<random> este mai mic decât cel solicitat în I<size>, apelul "
186 "returnează doar octeții aleatori disponibili. Dacă nu sunt disponibili "
187 "octeți aleatorii, comportamentul depinde de prezența B<GRND_NONBLOCK> în "
188 "argumentul I<flags>."
189
190 #. type: TP
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "B<GRND_NONBLOCK>"
195 msgstr "B<GRND_NONBLOCK>"
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "By default, when reading from the I<random> source, B<getrandom>() blocks "
202 "if no random bytes are available, and when reading from the I<urandom> "
203 "source, it blocks if the entropy pool has not yet been initialized. If the "
204 "B<GRND_NONBLOCK> flag is set, then B<getrandom>() does not block in these "
205 "cases, but instead immediately returns -1 with I<errno> set to B<EAGAIN>."
206 msgstr ""
207 "În mod implicit, atunci când citește din sursa I<random>, B<getrandom>() se "
208 "blochează dacă nu sunt disponibili octeți aleatori, iar atunci când citește "
209 "din sursa I<urandom>, se blochează dacă fondul de entropie nu a fost încă "
210 "inițializat. Dacă fanionul B<GRND_NONBLOCK> este activat, atunci "
211 "B<getrandom>() nu se blochează în aceste cazuri, ci returnează imediat -1 cu "
212 "I<errno> configurată la B<EAGAIN>."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "RETURN VALUE"
219 msgstr "VALOAREA RETURNATĂ"
220
221 #. type: Plain text
222 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
223 #: opensuse-tumbleweed
224 msgid ""
225 "On success, B<getrandom>() returns the number of bytes that were copied to "
226 "the buffer I<buf>. This may be less than the number of bytes requested via "
227 "I<size> if either B<GRND_RANDOM> was specified in I<flags> and insufficient "
228 "entropy was present in the I<random> source or the system call was "
229 "interrupted by a signal."
230 msgstr ""
231 "În caz de succes, B<getrandom>() returnează numărul de octeți care au fost "
232 "copiați în memoria tampon I<buf>. Acesta poate fi mai mic decât numărul de "
233 "octeți solicitat prin I<size> dacă fie B<GRND_RANDOM> a fost specificat în "
234 "I<flags> și entropia a fost insuficientă în sursa I<random>, fie apelul "
235 "sistemului a fost întrerupt de un semnal."
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
241 msgstr ""
242 "În caz de eroare, se returnează -1, iar I<errno> este configurată pentru a "
243 "indica eroarea."
244
245 #. type: SH
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "ERRORS"
250 msgstr "ERORI-IEȘIRE"
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<EAGAIN>"
257 msgstr "B<EAGAIN>"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "The requested entropy was not available, and B<getrandom>() would have "
264 "blocked if the B<GRND_NONBLOCK> flag was not set."
265 msgstr ""
266 "Entropia solicitată nu a fost disponibilă, iar B<getrandom>() s-ar fi blocat "
267 "dacă flagul B<GRND_NONBLOCK> nu era activat."
268
269 #. type: TP
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "B<EFAULT>"
274 msgstr "B<EFAULT>"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "The address referred to by I<buf> is outside the accessible address space."
281 msgstr ""
282 "Adresa menționată de I<buf> se află în afara spațiului de adrese accesibil."
283
284 #. type: TP
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "B<EINTR>"
289 msgstr "B<EINTR>"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "The call was interrupted by a signal handler; see the description of how "
296 "interrupted B<read>(2) calls on \"slow\" devices are handled with and "
297 "without the B<SA_RESTART> flag in the B<signal>(7) man page."
298 msgstr ""
299 "Apelul a fost întrerupt de un gestionar de semnal; consultați descrierea "
300 "modului în care apelurile B<read>(2) întrerupte pe dispozitive „lente” sunt "
301 "gestionate cu și fără fanionul B<SA_RESTART> în pagina de manual "
302 "B<signal>(7)."
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<EINVAL>"
309 msgstr "B<EINVAL>"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid "An invalid flag was specified in I<flags>."
315 msgstr "În I<flags> a fost specificat un fanion nevalid."
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<ENOSYS>"
322 msgstr "B<ENOSYS>"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "The glibc wrapper function for B<getrandom>() determined that the "
329 "underlying kernel does not implement this system call."
330 msgstr ""
331 "Funcția de învăluire a glibc pentru B<getrandom>() a determinat că nucleul "
332 "subiacent nu implementează acest apel de sistem."
333
334 #. type: SH
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "STANDARDS"
339 msgstr "STANDARDE"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "Linux."
345 msgstr "Linux."
346
347 #. type: SH
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "HISTORY"
352 msgstr "ISTORIC"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "Linux 3.17, glibc 2.25."
358 msgstr "Linux 3.17, glibc 2.25."
359
360 #. type: SH
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "NOTES"
365 msgstr "NOTE"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "For an overview and comparison of the various interfaces that can be used to "
372 "obtain randomness, see B<random>(7)."
373 msgstr ""
374 "Pentru o prezentare generală și o comparație a diverselor interfețe care pot "
375 "fi utilizate pentru a obține caracterul aleatoriu, a se vedea B<random>(7)."
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "Unlike I</dev/random> and I</dev/urandom>, B<getrandom>() does not involve "
382 "the use of pathnames or file descriptors. Thus, B<getrandom>() can be "
383 "useful in cases where B<chroot>(2) makes I</dev> pathnames invisible, and "
384 "where an application (e.g., a daemon during start-up) closes a file "
385 "descriptor for one of these files that was opened by a library."
386 msgstr ""
387 "Spre deosebire de I</dev/random> și I</dev/urandom>, B<getrandom>() nu "
388 "implică utilizarea numelor de rută sau a descriptorilor de fișiere. Astfel, "
389 "B<getrandom>() poate fi util în cazurile în care B<chroot>(2) face "
390 "invizibile numele de rută I</dev> și în care o aplicație (de exemplu, un "
391 "demon în timpul lansării) închide un descriptor de fișier pentru unul dintre "
392 "aceste fișiere care a fost deschis de o bibliotecă."
393
394 #. type: SS
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "Maximum number of bytes returned"
399 msgstr "Numărul maxim de octeți returnați"
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid "As of Linux 3.19 the following limits apply:"
405 msgstr "Începând cu Linux 3.19 se aplică următoarele limite:"
406
407 #. type: IP
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "\\[bu]"
412 msgstr "\\[bu]"
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "When reading from the I<urandom> source, a maximum of 32Mi-1 bytes is "
419 "returned by a single call to B<getrandom>() on systems where I<int> has a "
420 "size of 32 bits."
421 msgstr ""
422 "La citirea din sursa I<urandom>, un singur apel la B<getrandom>() returnează "
423 "maximum 32Mi-1 octeți pe sistemele în care I<int> are o dimensiune de 32 de "
424 "biți."
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "When reading from the I<random> source, a maximum of 512 bytes is returned."
431 msgstr "La citirea din sursa I<random>, se returnează un maxim de 512 octeți."
432
433 #. type: SS
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Interruption by a signal handler"
438 msgstr "Întreruperea de către un gestionar de semnal"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "When reading from the I<urandom> source (B<GRND_RANDOM> is not set), "
445 "B<getrandom>() will block until the entropy pool has been initialized "
446 "(unless the B<GRND_NONBLOCK> flag was specified). If a request is made to "
447 "read a large number of bytes (more than 256), B<getrandom>() will block "
448 "until those bytes have been generated and transferred from kernel memory to "
449 "I<buf>. When reading from the I<random> source (B<GRND_RANDOM> is set), "
450 "B<getrandom>() will block until some random bytes become available (unless "
451 "the B<GRND_NONBLOCK> flag was specified)."
452 msgstr ""
453 "La citirea din sursa I<urandom> (B<GRND_RANDOM> nu este activat), "
454 "B<getrandom>() se va bloca până când fondul de entropie a fost inițializat "
455 "(cu excepția cazului în care a fost specificat fanionul B<GRND_NONBLOCK>). "
456 "Dacă se solicită citirea unui număr mare de octeți (mai mult de 256), "
457 "B<getrandom>() se va bloca până când acești octeți au fost generați și "
458 "transferați din memoria nucleului în I<buf>. Atunci când se citește din "
459 "sursa I<random> (B<GRND_RANDOM> este activat), B<getrandom>() se va bloca "
460 "până când unii octeți aleatori devin disponibili (cu excepția cazului în "
461 "care a fost specificat fanionul B<GRND_NONBLOCK>)."
462
463 #. type: Plain text
464 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
465 #: opensuse-tumbleweed
466 msgid ""
467 "The behavior when a call to B<getrandom>() that is blocked while reading "
468 "from the I<urandom> source is interrupted by a signal handler depends on the "
469 "initialization state of the entropy buffer and on the request size, "
470 "I<size>. If the entropy is not yet initialized, then the call fails with "
471 "the B<EINTR> error. If the entropy pool has been initialized and the "
472 "request size is large (I<size>\\ E<gt>\\ 256), the call either succeeds, "
473 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
474 "the entropy pool has been initialized and the request size is small "
475 "(I<size>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with B<EINTR>. "
476 "Instead, it will return all of the bytes that have been requested."
477 msgstr ""
478 "Comportamentul atunci când un apel la B<getrandom>() care este blocat în "
479 "timp ce citește din sursa I<urandom> este întrerupt de un gestionar de "
480 "semnal depinde de starea de inițializare a tamponului de entropie și de "
481 "dimensiunea cererii, I<size>. Dacă entropia nu este încă inițializată, "
482 "atunci apelul eșuează cu eroarea B<EINTR>. Dacă fondul de entropie a fost "
483 "inițializat și dimensiunea cererii este mare (I<size>\\ E<gt>\\ 256), apelul "
484 "fie reușește, returnând un tampon parțial umplut, fie eșuează cu eroarea "
485 "B<EINTR>. Dacă fondul de entropie a fost inițializat și dimensiunea cererii "
486 "este mică (I<size>\\ E<lt>=\\ 256), atunci B<getrandom>() nu va eșua cu "
487 "B<EINTR>. În schimb, va returna toți octeții care au fost solicitați."
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "When reading from the I<random> source, blocking requests of any size can be "
494 "interrupted by a signal handler (the call fails with the error B<EINTR>)."
495 msgstr ""
496 "La citirea din sursa I<random>, cererile de blocare de orice dimensiune pot "
497 "fi întrerupte de un gestionar de semnal (apelul eșuează cu eroarea B<EINTR>)."
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "Using B<getrandom>() to read small buffers (E<lt>=\\ 256 bytes) from the "
504 "I<urandom> source is the preferred mode of usage."
505 msgstr ""
506 "Utilizarea B<getrandom>() pentru a citi tampoane mici (E<lt>=\\ 256 bytes) "
507 "din sursa I<urandom> este modul preferat de utilizare."
508
509 #. type: Plain text
510 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
511 #: opensuse-tumbleweed
512 msgid ""
513 "The special treatment of small values of I<size> was designed for "
514 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
515 "by glibc."
516 msgstr ""
517 "Tratamentul special al valorilor mici ale I<size> a fost conceput pentru "
518 "compatibilitate cu B<getentropy>(3) de la OpenBSD, care este în prezent "
519 "acceptat de glibc."
520
521 #. type: Plain text
522 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 msgid ""
525 "The user of B<getrandom>() I<must> always check the return value, to "
526 "determine whether either an error occurred or fewer bytes than requested "
527 "were returned. In the case where B<GRND_RANDOM> is not specified and "
528 "I<size> is less than or equal to 256, a return of fewer bytes than requested "
529 "should never happen, but the careful programmer will check for this anyway!"
530 msgstr ""
531 "Utilizatorul aplicației B<getrandom>() I<trebuie> să verifice întotdeauna "
532 "valoarea returnată, pentru a determina dacă s-a produs o eroare sau dacă s-"
533 "au returnat mai puțini octeți decât s-a solicitat. În cazul în care "
534 "B<GRND_RANDOM> nu este specificat și I<size> este mai mic sau egal cu 256, o "
535 "returnare de mai puțini octeți decât s-a solicitat nu ar trebui să se "
536 "întâmple niciodată, dar programatorul atent va verifica acest lucru oricum!"
537
538 #. type: SH
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid "BUGS"
543 msgstr "ERORI"
544
545 #. FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
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 "As of Linux 3.19, the following bug exists:"
550 msgstr "Începând cu Linux 3.19, există următoarea eroare:"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "Depending on CPU load, B<getrandom>() does not react to interrupts before "
557 "reading all bytes requested."
558 msgstr ""
559 "În funcție de sarcina CPU, B<getrandom>() nu reacționează la întreruperi "
560 "înainte de a citi toți octeții solicitați."
561
562 #. type: SH
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "SEE ALSO"
567 msgstr "CONSULTAȚI ȘI"
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
574 msgstr ""
575 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
576
577 #. type: TH
578 #: debian-trixie
579 #, no-wrap
580 msgid "2024-05-02"
581 msgstr "2 mai 2024"
582
583 #. type: TH
584 #: debian-trixie
585 #, no-wrap
586 msgid "Linux man-pages 6.9.1"
587 msgstr "Pagini de manual de Linux 6.9.1"
588
589 #. type: Plain text
590 #: debian-trixie
591 msgid "Standard C library (I<libc>, I<-lc>)"
592 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
593
594 #. type: Plain text
595 #: debian-trixie fedora-44 fedora-rawhide
596 #, no-wrap
597 msgid "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
598 msgstr "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
599
600 #. type: Plain text
601 #: debian-trixie fedora-44 fedora-rawhide
602 msgid ""
603 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
604 "up to I<buflen> random bytes. These bytes can be used to seed user-space "
605 "random number generators or for cryptographic purposes."
606 msgstr ""
607 "Apelul de sistem B<getrandom>() umple memoria tampon indicată de I<buf> cu "
608 "până la I<buflen> octeți aleatorii. Acești octeți pot fi utilizați pentru "
609 "însămânțarea generatoarelor de numere aleatorii din spațiul utilizatorului "
610 "sau în scopuri criptografice."
611
612 #. type: Plain text
613 #: debian-trixie fedora-44 fedora-rawhide
614 msgid ""
615 "If this bit is set, then random bytes are drawn from the I<random> source "
616 "(i.e., the same source as the I</dev/random> device) instead of the "
617 "I<urandom> source. The I<random> source is limited based on the entropy "
618 "that can be obtained from environmental noise. If the number of available "
619 "bytes in the I<random> source is less than requested in I<buflen>, the call "
620 "returns just the available random bytes. If no random bytes are available, "
621 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
622 "argument."
623 msgstr ""
624 "Dacă acest bit este activat, atunci octeții aleatorii sunt extrași din sursa "
625 "I<random> (adică aceeași sursă ca dispozitivul I</dev/random>) în locul "
626 "sursei I<urandom>. Sursa I<random> este limitată pe baza entropiei care "
627 "poate fi obținută din zgomotul ambiental. Dacă numărul de octeți disponibili "
628 "în sursa I<random> este mai mic decât cel solicitat în I<buflen>, apelul "
629 "returnează doar octeții aleatori disponibili. Dacă nu sunt disponibili "
630 "octeți aleatorii, comportamentul depinde de prezența B<GRND_NONBLOCK> în "
631 "argumentul I<flags>."
632
633 #. type: Plain text
634 #: debian-trixie fedora-44 fedora-rawhide
635 msgid ""
636 "On success, B<getrandom>() returns the number of bytes that were copied to "
637 "the buffer I<buf>. This may be less than the number of bytes requested via "
638 "I<buflen> if either B<GRND_RANDOM> was specified in I<flags> and "
639 "insufficient entropy was present in the I<random> source or the system call "
640 "was interrupted by a signal."
641 msgstr ""
642 "În caz de succes, B<getrandom>() returnează numărul de octeți care au fost "
643 "copiați în memoria tampon I<buf>. Acesta poate fi mai mic decât numărul de "
644 "octeți solicitat prin I<buflen> dacă fie B<GRND_RANDOM> a fost specificat în "
645 "I<flags> și entropia a fost insuficientă în sursa I<random>, fie apelul "
646 "sistemului a fost întrerupt de un semnal."
647
648 #. type: Plain text
649 #: debian-trixie fedora-44 fedora-rawhide
650 msgid ""
651 "The behavior when a call to B<getrandom>() that is blocked while reading "
652 "from the I<urandom> source is interrupted by a signal handler depends on the "
653 "initialization state of the entropy buffer and on the request size, "
654 "I<buflen>. If the entropy is not yet initialized, then the call fails with "
655 "the B<EINTR> error. If the entropy pool has been initialized and the "
656 "request size is large (I<buflen>\\ E<gt>\\ 256), the call either succeeds, "
657 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
658 "the entropy pool has been initialized and the request size is small "
659 "(I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with "
660 "B<EINTR>. Instead, it will return all of the bytes that have been requested."
661 msgstr ""
662 "Comportamentul atunci când un apel la B<getrandom>() care este blocat în "
663 "timp ce citește din sursa I<urandom> este întrerupt de un gestionar de "
664 "semnal depinde de starea de inițializare a tamponului de entropie și de "
665 "dimensiunea cererii, I<buflen>. Dacă entropia nu este încă inițializată, "
666 "atunci apelul eșuează cu eroarea B<EINTR>. Dacă fondul de entropie a fost "
667 "inițializat și dimensiunea cererii este mare (I<buflen>\\ E<gt>\\ 256), "
668 "apelul fie reușește, returnând un tampon parțial umplut, fie eșuează cu "
669 "eroarea B<EINTR>. Dacă fondul de entropie a fost inițializat și dimensiunea "
670 "cererii este mică (I<buflen>\\ E<lt>=\\ 256), atunci B<getrandom>() nu va "
671 "eșua cu B<EINTR>. În schimb, va returna toți octeții care au fost solicitați."
672
673 #. type: Plain text
674 #: debian-trixie fedora-44 fedora-rawhide
675 msgid ""
676 "The special treatment of small values of I<buflen> was designed for "
677 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
678 "by glibc."
679 msgstr ""
680 "Tratamentul special al valorilor mici ale I<buflen> a fost conceput pentru "
681 "compatibilitate cu B<getentropy>(3) de la OpenBSD, care este în prezent "
682 "acceptat de glibc."
683
684 #. type: Plain text
685 #: debian-trixie fedora-44 fedora-rawhide
686 msgid ""
687 "The user of B<getrandom>() I<must> always check the return value, to "
688 "determine whether either an error occurred or fewer bytes than requested "
689 "were returned. In the case where B<GRND_RANDOM> is not specified and "
690 "I<buflen> is less than or equal to 256, a return of fewer bytes than "
691 "requested should never happen, but the careful programmer will check for "
692 "this anyway!"
693 msgstr ""
694 "Utilizatorul aplicației B<getrandom>() I<trebuie> să verifice întotdeauna "
695 "valoarea returnată, pentru a determina dacă s-a produs o eroare sau dacă s-"
696 "au returnat mai puțini octeți decât s-a solicitat. În cazul în care "
697 "B<GRND_RANDOM> nu este specificat și I<buflen> este mai mic sau egal cu 256, "
698 "o returnare de mai puțini octeți decât s-a solicitat nu ar trebui să se "
699 "întâmple niciodată, dar programatorul atent va verifica acest lucru oricum!"
700
701 #. type: TH
702 #: fedora-44 fedora-rawhide
703 #, no-wrap
704 msgid "2024-07-23"
705 msgstr "23 iulie 2024"
706
707 #. type: TH
708 #: fedora-44 fedora-rawhide
709 #, no-wrap
710 msgid "Linux man-pages 6.13"
711 msgstr "Pagini de manual de Linux 6.13"
712
713 #. type: TH
714 #: mageia-cauldron
715 #, no-wrap
716 msgid "Linux man-pages 6.17"
717 msgstr "Pagini de manual de Linux 6.17"
718
719 #. type: TH
720 #: opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid "Linux man-pages (unreleased)"
723 msgstr "Pagini de manual Linux (nepublicate)"