Debian Codegraph @

po/pl/man2/getrandom.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Michał Kułach <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.22.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2025-11-23 21:14+0100\n"
10 "Last-Translator: Michał Kułach <[email protected]>\n"
11 "Language-Team: Polish <[email protected]>\n"
12 "Language: pl\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%10>=2 && n%10<=4 && (n%100<10 "
17 "|| n%100>=20) ? 1 : 2);\n"
18 "X-Generator: Lokalize 25.04.0\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 lutego 2026 r."
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Linux man-pages 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 "NAZWA"
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 - pozyskuje serię losowych bajtów"
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 "BIBLIOTEKA"
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 "Standardowa biblioteka C (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 "SKŁADNIA"
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 "OPIS"
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 "Wywołanie systemowe B<getrandom>() wypełnia bufor wskazywany przez I<buf> do "
107 "wielkości I<size> losowych bajtów. Bajtów tych można użyć jako ziarna dla "
108 "generatorów liczb losowych w przestrzeni użytkownika, do celów "
109 "kryptograficznych."
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 "Domyślnie, B<getrandom>() pozyskuje entropię ze źródła I<urandom> (tj. tego "
120 "samego źródła, co urządzenie I</dev/urandom>). To zachowanie można zmienić "
121 "argumentem 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 "Jeśli źródło I<urandom> zostało zainicjowane, odczyt do 256 bajtów zawsze "
134 "zwróci tak dużo bajtów, jak zażądano i nie będzie przerywany sygnałami. "
135 "Gwarancji takiej nie ma dla większych buforów. Na przykład, jeśli wywołanie "
136 "zostanie przerwane przez procedurę obsługi sygnału, może zwrócić częściowo "
137 "wypełniony bufor lub zawieść z błędem B<EINTR>."
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "If the I<urandom> source has not yet been initialized, then B<getrandom>() "
144 "will block, unless B<GRND_NONBLOCK> is specified in I<flags>."
145 msgstr ""
146 "Jeśli źródło I<urandom> nie zostało zainicjowane, B<getrandom>() zablokuje, "
147 "chyba że we I<flags> podano B<GRND_NONBLOCK>."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The I<flags> argument is a bit mask that can contain zero or more of the "
154 "following values ORed together:"
155 msgstr ""
156 "Argument I<flags> jest maską bitową, która może zawierać sumę (OR) zera lub "
157 "więcej poniższych wartości:"
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<GRND_RANDOM>"
164 msgstr "B<GRND_RANDOM>"
165
166 #. type: Plain text
167 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
168 #: opensuse-tumbleweed
169 msgid ""
170 "If this bit is set, then random bytes are drawn from the I<random> source "
171 "(i.e., the same source as the I</dev/random> device) instead of the "
172 "I<urandom> source. The I<random> source is limited based on the entropy "
173 "that can be obtained from environmental noise. If the number of available "
174 "bytes in the I<random> source is less than requested in I<size>, the call "
175 "returns just the available random bytes. If no random bytes are available, "
176 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
177 "argument."
178 msgstr ""
179 "Jeśli ten bit jest ustawiony, to losowe bajty są pozyskiwane ze źródła "
180 "I<random> (tj. tego samego źródła, co urządzenie I</dev/random>), zamiast ze "
181 "źródła I<urandom>. Źródło I<random> jest ograniczone, w zależności od "
182 "entropii, jaka może zostać pozyskana z szumu środowiskowego. Jeśli liczba "
183 "dostępnym bajtów w źródle I<random> jest mniejsza, niż żądana w I<size>, to "
184 "wywołanie zwróci jedynie dostępne bajty losowe. Jeśli w ogóle brak jest "
185 "dostępnych losowych bajtów, zachowanie zależy od obecności B<GRND_NONBLOCK> "
186 "w argumencie I<flags>."
187
188 #. type: TP
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "B<GRND_NONBLOCK>"
193 msgstr "B<GRND_NONBLOCK>"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "By default, when reading from the I<random> source, B<getrandom>() blocks "
200 "if no random bytes are available, and when reading from the I<urandom> "
201 "source, it blocks if the entropy pool has not yet been initialized. If the "
202 "B<GRND_NONBLOCK> flag is set, then B<getrandom>() does not block in these "
203 "cases, but instead immediately returns -1 with I<errno> set to B<EAGAIN>."
204 msgstr ""
205 "Domyślnie, przy odczycie ze źródła I<random>, B<getrandom>() blokuje, gdy "
206 "brak jest dostępnych losowych bajtów, a przy odczycie ze źródła I<urandom> "
207 "blokuje, gdy pula entropii nie została jeszcze zainicjowana. Jeśli ustawiony "
208 "jest znacznik B<GRND_NONBLOCK>, to B<getrandom>() w tych przypadkach nie "
209 "blokuje, lecz natychmiast zwraca -1, z I<errno> ustawionym na B<EAGAIN>."
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "RETURN VALUE"
216 msgstr "WARTOŚĆ ZWRACANA"
217
218 #. type: Plain text
219 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
220 #: opensuse-tumbleweed
221 msgid ""
222 "On success, B<getrandom>() returns the number of bytes that were copied to "
223 "the buffer I<buf>. This may be less than the number of bytes requested via "
224 "I<size> if either B<GRND_RANDOM> was specified in I<flags> and insufficient "
225 "entropy was present in the I<random> source or the system call was "
226 "interrupted by a signal."
227 msgstr ""
228 "Przy powodzeniu, B<getrandom>() zwraca liczbę bajtów skopiowanych do bufora "
229 "I<buf>. Może być ona mniejsza, niż liczba bajtów żądanych za pomocą I<size>, "
230 "jeśli we I<flags> podano B<GRND_RANDOM> i w źródle I<random> była obecna "
231 "niewystarczająca entropia, albo jeśli wywołanie systemowe zostało przerwane "
232 "sygnałem."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
238 msgstr ""
239 "W razie wystąpienia błędu zwracane jest -1 i ustawiane I<errno> wskazując "
240 "błąd."
241
242 #. type: SH
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "ERRORS"
247 msgstr "BŁĘDY"
248
249 #. type: TP
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "B<EAGAIN>"
254 msgstr "B<EAGAIN>"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "The requested entropy was not available, and B<getrandom>() would have "
261 "blocked if the B<GRND_NONBLOCK> flag was not set."
262 msgstr ""
263 "Żądana entropia nie była dostępna i B<getrandom>() zablokowałoby, gdyby nie "
264 "był ustawiony znacznik B<GRND_NONBLOCK>."
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<EFAULT>"
271 msgstr "B<EFAULT>"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The address referred to by I<buf> is outside the accessible address space."
278 msgstr ""
279 "Adres, do którego odnosi się I<buf> był poza dostępną przestrzenią adresową."
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<EINTR>"
286 msgstr "B<EINTR>"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "The call was interrupted by a signal handler; see the description of how "
293 "interrupted B<read>(2) calls on \"slow\" devices are handled with and "
294 "without the B<SA_RESTART> flag in the B<signal>(7) man page."
295 msgstr ""
296 "Wywołanie systemowe zostało przerwane procedurą obsługi sygnału; zob. opis w "
297 "podręczniku B<signal>(7), jak obsługiwane jest przerwane wywołanie "
298 "B<read>(2) na \\[Bq]powolnych\\[rq] urządzeniach z, oraz bez, znacznika "
299 "B<SA_RESTART>."
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<EINVAL>"
306 msgstr "B<EINVAL>"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "An invalid flag was specified in I<flags>."
312 msgstr "We I<flags> podano nieprawidłowy znacznik."
313
314 #. type: TP
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<ENOSYS>"
319 msgstr "B<ENOSYS>"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "The glibc wrapper function for B<getrandom>() determined that the "
326 "underlying kernel does not implement this system call."
327 msgstr ""
328 "Funkcja opakowująca B<getrandom>() z glibc ustaliła, że bieżące jądro nie "
329 "implementuje tego wywołania systemowego."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "STANDARDS"
336 msgstr "STANDARDY"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "Linux."
342 msgstr "Linux."
343
344 #. type: SH
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "HISTORY"
349 msgstr "HISTORIA"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "Linux 3.17, glibc 2.25."
355 msgstr "Linux 3.17, glibc 2.25."
356
357 #. type: SH
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "NOTES"
362 msgstr "UWAGI"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "For an overview and comparison of the various interfaces that can be used to "
369 "obtain randomness, see B<random>(7)."
370 msgstr ""
371 "Przegląd i porównanie różnych interfejsów do pozyskiwania losowości znajduje "
372 "się w podręczniku B<random>(7)."
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "Unlike I</dev/random> and I</dev/urandom>, B<getrandom>() does not involve "
379 "the use of pathnames or file descriptors. Thus, B<getrandom>() can be "
380 "useful in cases where B<chroot>(2) makes I</dev> pathnames invisible, and "
381 "where an application (e.g., a daemon during start-up) closes a file "
382 "descriptor for one of these files that was opened by a library."
383 msgstr ""
384 "W przeciwieństwie do I</dev/random> i I</dev/urandom>, B<getrandom>() nie "
385 "angażuje ścieżek, ani deskryptorów plików. Z tego powodu B<getrandom>() może "
386 "być użyteczne w przypadkach, gdy B<chroot>(2) czyni ścieżki I</dev> "
387 "niewidocznymi oraz gdy aplikacja (np. demon w trakcie rozruchu) zamyka "
388 "deskryptor pliku jednego z tych plików, który był otwarty przez bibliotekę."
389
390 #. type: SS
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "Maximum number of bytes returned"
395 msgstr "Maksymalna liczba zwracanych bajtów"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid "As of Linux 3.19 the following limits apply:"
401 msgstr "Według stanu na Linuksa 3.19 istnieją następujące limity:"
402
403 #. type: IP
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "\\[bu]"
408 msgstr "\\[bu]"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "When reading from the I<urandom> source, a maximum of 32Mi-1 bytes is "
415 "returned by a single call to B<getrandom>() on systems where I<int> has a "
416 "size of 32 bits."
417 msgstr ""
418 "Przy odczycie ze źródła I<urandom>, w systemach gdzie I<int> ma rozmiar 32 "
419 "bitów, pojedynczym wywołaniem do B<getrandom> zwracanych jest maksymalnie "
420 "32Mi-1 bajtów."
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "When reading from the I<random> source, a maximum of 512 bytes is returned."
427 msgstr ""
428 "Przy odczycie ze źródła I<random>, zwracanych jest co najwyżej 512 bajtów."
429
430 #. type: SS
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "Interruption by a signal handler"
435 msgstr "Przerwanie procedurą obsługi sygnału"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "When reading from the I<urandom> source (B<GRND_RANDOM> is not set), "
442 "B<getrandom>() will block until the entropy pool has been initialized "
443 "(unless the B<GRND_NONBLOCK> flag was specified). If a request is made to "
444 "read a large number of bytes (more than 256), B<getrandom>() will block "
445 "until those bytes have been generated and transferred from kernel memory to "
446 "I<buf>. When reading from the I<random> source (B<GRND_RANDOM> is set), "
447 "B<getrandom>() will block until some random bytes become available (unless "
448 "the B<GRND_NONBLOCK> flag was specified)."
449 msgstr ""
450 "Przy odczycie ze źródła I<urandom> (nie jest ustawiony B<GRND_RANDOM>), "
451 "B<getrandom>() zablokuje, dopóki nie zostanie zainicjowana pula entropii "
452 "(chyba, że podano znacznik B<GRND_NONBLOCK>). Jeśli żądano odczytu dużej "
453 "liczby bajtów (powyżej 256), B<getrandom>() zablokuje, dopóki bajty te nie "
454 "zostaną wygenerowane i przeniesione z pamięci jądro do I<buf>. Przy odczycie "
455 "ze źródła I<random> (jest ustawiony B<GRND_RANDOM>), B<getrandom>() "
456 "zablokuje, dopóki jakieś losowe bajty nie staną się dostępne (chyba, że "
457 "podano znacznik B<GRND_NONBLOCK>)."
458
459 #. type: Plain text
460 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
461 #: opensuse-tumbleweed
462 msgid ""
463 "The behavior when a call to B<getrandom>() that is blocked while reading "
464 "from the I<urandom> source is interrupted by a signal handler depends on the "
465 "initialization state of the entropy buffer and on the request size, "
466 "I<size>. If the entropy is not yet initialized, then the call fails with "
467 "the B<EINTR> error. If the entropy pool has been initialized and the "
468 "request size is large (I<size>\\ E<gt>\\ 256), the call either succeeds, "
469 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
470 "the entropy pool has been initialized and the request size is small "
471 "(I<size>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with B<EINTR>. "
472 "Instead, it will return all of the bytes that have been requested."
473 msgstr ""
474 "Zachowanie, gdy wywołanie do zablokowanego w trakcie odczytu ze źródła "
475 "I<urandom> B<getrandom>(), zostanie przerwane procedurą obsługi sygnału, "
476 "zależy od stanu zainicjowania bufora entropii oraz od żądanego rozmiaru w "
477 "I<size>. Jeśli entropia nie została jeszcze zainicjowana, to wywołanie "
478 "zawiedzie z błędem B<EINTR>. Jeśli pula entropii została zainicjowana, a "
479 "żądany rozmiar jest duży (I<size>\\ E<gt>\\ 256), to wywołanie albo "
480 "powiedzie się, zwracając częściowo wypełniony bufor, albo zawiedzie z błędem "
481 "B<EINTR>. Jeśli pula entropii została zainicjowana, a żądany rozmiar jest "
482 "mały (I<size>\\ E<lt>=\\ 256), to B<getrandom>() nie zawiedzie z B<EINTR>, "
483 "lecz zwróci wszystkie żądane bajty."
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "When reading from the I<random> source, blocking requests of any size can be "
490 "interrupted by a signal handler (the call fails with the error B<EINTR>)."
491 msgstr ""
492 "Przy odczycie ze źródła I<random>, blokujące żądania o dowolnym rozmiarze "
493 "mogą być przerwane procedurą obsługi sygnału (wywołanie zawiedzie z błędem "
494 "B<EINTR>)."
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "Using B<getrandom>() to read small buffers (E<lt>=\\ 256 bytes) from the "
501 "I<urandom> source is the preferred mode of usage."
502 msgstr ""
503 "Preferowaną metodą korzystania z B<getrandom>(), jest odczyt małych buforów "
504 "(E<lt>=\\ 256 bajtów) ze źródła I<urandom>."
505
506 #. type: Plain text
507 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
508 #: opensuse-tumbleweed
509 msgid ""
510 "The special treatment of small values of I<size> was designed for "
511 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
512 "by glibc."
513 msgstr ""
514 "Specjalny sposób traktowania małych wartości I<size> został zaprojektowany w "
515 "celu zachowania kompatybilności z B<getentropy>(3) z OpenBSD, które jest "
516 "obecnie obsługiwane w glibc."
517
518 #. type: Plain text
519 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
520 #: opensuse-tumbleweed
521 msgid ""
522 "The user of B<getrandom>() I<must> always check the return value, to "
523 "determine whether either an error occurred or fewer bytes than requested "
524 "were returned. In the case where B<GRND_RANDOM> is not specified and "
525 "I<size> is less than or equal to 256, a return of fewer bytes than requested "
526 "should never happen, but the careful programmer will check for this anyway!"
527 msgstr ""
528 "Użytkownik B<getrandom>() zawsze I<musi> sprawdzać zwracaną wartość, aby "
529 "określić, czy wystąpił błąd, czy też zwrócono mniej bajtów niż żądano. W "
530 "przypadku gdy nie poda się B<GRND_RANDOM>, a I<size> jest mniejsze lub równe "
531 "256, nigdy nie powinna wystąpić sytuacja zwrócenia mniejszej liczby bajtów "
532 "niż żądano, lecz ostrożny programista i tak powinien to sprawdzić!"
533
534 #. type: SH
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 #, no-wrap
538 msgid "BUGS"
539 msgstr "USTERKI"
540
541 #. FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "As of Linux 3.19, the following bug exists:"
546 msgstr "Według stanu na Linuksa 3.19, występuje poniższy błąd:"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "Depending on CPU load, B<getrandom>() does not react to interrupts before "
553 "reading all bytes requested."
554 msgstr ""
555 "W zależności od obciążenia procesora, B<getrandom>() nie reaguje na "
556 "przerwania, przed odczytem wszystkich żądanych bajtów."
557
558 #. type: SH
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "SEE ALSO"
563 msgstr "ZOBACZ TAKŻE"
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid ""
569 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
570 msgstr ""
571 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
572
573 #. type: TH
574 #: debian-trixie
575 #, no-wrap
576 msgid "2024-05-02"
577 msgstr "2 maja 2024 r."
578
579 #. type: TH
580 #: debian-trixie
581 #, no-wrap
582 msgid "Linux man-pages 6.9.1"
583 msgstr "Linux man-pages 6.9.1"
584
585 #. type: Plain text
586 #: debian-trixie
587 msgid "Standard C library (I<libc>, I<-lc>)"
588 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
589
590 #. type: Plain text
591 #: debian-trixie fedora-44 fedora-rawhide
592 #, no-wrap
593 msgid "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
594 msgstr "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
595
596 #. type: Plain text
597 #: debian-trixie fedora-44 fedora-rawhide
598 msgid ""
599 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
600 "up to I<buflen> random bytes. These bytes can be used to seed user-space "
601 "random number generators or for cryptographic purposes."
602 msgstr ""
603 "Wywołanie systemowe B<getrandom>() wypełnia bufor wskazywany przez I<buf> do "
604 "wielkości I<buflen> losowych bajtów. Bajtów tych można użyć jako ziarna dla "
605 "generatorów liczb losowych w przestrzeni użytkownika, do celów "
606 "kryptograficznych."
607
608 #. type: Plain text
609 #: debian-trixie fedora-44 fedora-rawhide
610 msgid ""
611 "If this bit is set, then random bytes are drawn from the I<random> source "
612 "(i.e., the same source as the I</dev/random> device) instead of the "
613 "I<urandom> source. The I<random> source is limited based on the entropy "
614 "that can be obtained from environmental noise. If the number of available "
615 "bytes in the I<random> source is less than requested in I<buflen>, the call "
616 "returns just the available random bytes. If no random bytes are available, "
617 "the behavior depends on the presence of B<GRND_NONBLOCK> in the I<flags> "
618 "argument."
619 msgstr ""
620 "Jeśli ten bit jest ustawiony, to losowe bajty są pozyskiwane ze źródła "
621 "I<random> (tj. tego samego źródła, co urządzenie I</dev/random>), zamiast ze "
622 "źródła I<urandom>. Źródło I<random> jest ograniczone, w zależności od "
623 "entropii, jaka może zostać pozyskana z szumu środowiskowego. Jeśli liczba "
624 "dostępnym bajtów w źródle I<random> jest mniejsza, niż żądana w I<buflen>, "
625 "to wywołanie zwróci jedynie dostępne bajty losowe. Jeśli w ogóle brak jest "
626 "dostępnych losowych bajtów, zachowanie zależy od obecności B<GRND_NONBLOCK> "
627 "w argumencie I<flags>."
628
629 #. type: Plain text
630 #: debian-trixie fedora-44 fedora-rawhide
631 msgid ""
632 "On success, B<getrandom>() returns the number of bytes that were copied to "
633 "the buffer I<buf>. This may be less than the number of bytes requested via "
634 "I<buflen> if either B<GRND_RANDOM> was specified in I<flags> and "
635 "insufficient entropy was present in the I<random> source or the system call "
636 "was interrupted by a signal."
637 msgstr ""
638 "Przy powodzeniu, B<getrandom>() zwraca liczbę bajtów skopiowanych do bufora "
639 "I<buf>. Może być ona mniejsza, niż liczba bajtów żądanych za pomocą "
640 "I<buflen>, jeśli we I<flags> podano B<GRND_RANDOM> i w źródle I<random> była "
641 "obecna niewystarczająca entropia, albo jeśli wywołanie systemowe zostało "
642 "przerwane sygnałem."
643
644 #. type: Plain text
645 #: debian-trixie fedora-44 fedora-rawhide
646 msgid ""
647 "The behavior when a call to B<getrandom>() that is blocked while reading "
648 "from the I<urandom> source is interrupted by a signal handler depends on the "
649 "initialization state of the entropy buffer and on the request size, "
650 "I<buflen>. If the entropy is not yet initialized, then the call fails with "
651 "the B<EINTR> error. If the entropy pool has been initialized and the "
652 "request size is large (I<buflen>\\ E<gt>\\ 256), the call either succeeds, "
653 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
654 "the entropy pool has been initialized and the request size is small "
655 "(I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with "
656 "B<EINTR>. Instead, it will return all of the bytes that have been requested."
657 msgstr ""
658 "Zachowanie, gdy wywołanie do zablokowanego w trakcie odczytu ze źródła "
659 "I<urandom> B<getrandom>(), zostanie przerwane procedurą obsługi sygnału, "
660 "zależy od stanu zainicjowania bufora entropii oraz od żądanego rozmiaru w "
661 "I<buflen>. Jeśli entropia nie została jeszcze zainicjowana, to wywołanie "
662 "zawiedzie z błędem B<EINTR>. Jeśli pula entropii została zainicjowana, a "
663 "żądany rozmiar jest duży (I<buflen>\\ E<gt>\\ 256), to wywołanie albo "
664 "powiedzie się, zwracając częściowo wypełniony bufor, albo zawiedzie z błędem "
665 "B<EINTR>. Jeśli pula entropii została zainicjowana, a żądany rozmiar jest "
666 "mały (I<buflen>\\ E<lt>=\\ 256), to B<getrandom>() nie zawiedzie z B<EINTR>, "
667 "lecz zwróci wszystkie żądane bajty."
668
669 #. type: Plain text
670 #: debian-trixie fedora-44 fedora-rawhide
671 msgid ""
672 "The special treatment of small values of I<buflen> was designed for "
673 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
674 "by glibc."
675 msgstr ""
676 "Specjalny sposób traktowania małych wartości I<buflen> został zaprojektowany "
677 "w celu zachowania kompatybilności z B<getentropy>(3) z OpenBSD, które jest "
678 "obecnie obsługiwane w glibc."
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 msgid ""
683 "The user of B<getrandom>() I<must> always check the return value, to "
684 "determine whether either an error occurred or fewer bytes than requested "
685 "were returned. In the case where B<GRND_RANDOM> is not specified and "
686 "I<buflen> is less than or equal to 256, a return of fewer bytes than "
687 "requested should never happen, but the careful programmer will check for "
688 "this anyway!"
689 msgstr ""
690 "Użytkownik B<getrandom>() zawsze I<musi> sprawdzać zwracaną wartość, aby "
691 "określić, czy wystąpił błąd, czy też zwrócono mniej bajtów niż żądano. W "
692 "przypadku gdy nie poda się B<GRND_RANDOM>, a I<buflen> jest mniejsze lub "
693 "równe 256, nigdy nie powinna wystąpić sytuacja zwrócenia mniejszej liczby "
694 "bajtów niż żądano, lecz ostrożny programista i tak powinien to sprawdzić!"
695
696 #. type: TH
697 #: fedora-44 fedora-rawhide
698 #, no-wrap
699 msgid "2024-07-23"
700 msgstr "23 lipca 2024 r."
701
702 #. type: TH
703 #: fedora-44 fedora-rawhide
704 #, no-wrap
705 msgid "Linux man-pages 6.13"
706 msgstr "Linux man-pages 6.13"
707
708 #. type: TH
709 #: mageia-cauldron
710 #, no-wrap
711 msgid "Linux man-pages 6.17"
712 msgstr "Linux man-pages 6.17"
713
714 #. type: TH
715 #: opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "Linux man-pages (unreleased)"
718 msgstr "Linux man-pages (niewydane)"