Debian Codegraph @

po/ar/man2/getrandom.2.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:32+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\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=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\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 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 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 "الاسم"
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 - الحصول على سلسلة من البايتات العشوائية"
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 "المكتبة"
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 "مكتبة سي المعيارية (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 "موجز"
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 "الوصف"
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 "استدعاء النظام B<getrandom>() يملأ المخزن المؤقت المشار إليه بـ I<buf> بما "
107 "يصل إلى I<size> بايت عشوائي. يمكن استخدام هذه البايتات لتغذية مولدات الأرقام "
108 "العشوائية في مساحة المستخدم أو لأغراض التشفير."
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "By default, B<getrandom>() draws entropy from the I<urandom> source (i.e., "
115 "the same source as the I</dev/urandom> device). This behavior can be "
116 "changed via the I<flags> argument."
117 msgstr ""
118 "مبدئيًا، يسحب B<getrandom>() الإنتروبيا من مصدر I<urandom> (أي نفس مصدر "
119 "الجهاز I</dev/urandom>). يمكن تغيير هذا السلوك عبر وسيط I<flags>."
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "If the I<urandom> source has been initialized, reads of up to 256 bytes will "
126 "always return as many bytes as requested and will not be interrupted by "
127 "signals. No such guarantees apply for larger buffer sizes. For example, if "
128 "the call is interrupted by a signal handler, it may return a partially "
129 "filled buffer, or fail with the error B<EINTR>."
130 msgstr ""
131 "إذا يُهيئ مصدر I<urandom>، فإن القراءات التي تصل إلى 256 بايت ستعيد دائمًا عدد "
132 "البايتات المطلوبة ولن تقاطعها الإشارات. لا تنطبق هذه الضمانات على أحجام "
133 "المخازن الأكبر. على سبيل المثال، إذا قاطع معالج إشارة الاستدعاء، فقد يعيد "
134 "مخزنًا ممتلئًا جزئيًا، أو يفشل مع الخطأ B<EINTR>."
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "If the I<urandom> source has not yet been initialized, then B<getrandom>() "
141 "will block, unless B<GRND_NONBLOCK> is specified in I<flags>."
142 msgstr ""
143 "إذا لم يُهيئ مصدر I<urandom> بعد، فسيحظر B<getrandom>()، ما لم يتم تحديد "
144 "B<GRND_NONBLOCK> في I<flags>."
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "The I<flags> argument is a bit mask that can contain zero or more of the "
151 "following values ORed together:"
152 msgstr ""
153 "وسيط I<flags> هو قناع بت يمكن أن يحتوي على صفر أو أكثر من القيم التالية "
154 "مجمعة بـ OR:"
155
156 #. type: TP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "B<GRND_RANDOM>"
161 msgstr "B<GRND_RANDOM>"
162
163 #. type: Plain text
164 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
165 #: opensuse-tumbleweed
166 msgid ""
167 "If this bit is set, then random bytes are drawn from the I<random> source (i."
168 "e., the same source as the I</dev/random> device) instead of the I<urandom> "
169 "source. The I<random> source is limited based on the entropy that can be "
170 "obtained from environmental noise. If the number of available bytes in the "
171 "I<random> source is less than requested in I<size>, the call returns just "
172 "the available random bytes. If no random bytes are available, the behavior "
173 "depends on the presence of B<GRND_NONBLOCK> in the I<flags> argument."
174 msgstr ""
175 "إذا عُينت هذه البتة، فسيتم سحب البايتات العشوائية من مصدر I<random> (أي نفس "
176 "مصدر الجهاز I</dev/random>) بدلاً من مصدر I<urandom>. مصدر I<random> محدود "
177 "بناءً على الإنتروبيا التي يمكن الحصول عليها من الضوضاء البيئية. إذا كان عدد "
178 "البايتات المتاحة في مصدر I<random> أقل من المطلوب في I<size>، يعيد الاستدعاء "
179 "البايتات العشوائية المتاحة فقط. إذا لم تكن هناك بايتات عشوائية متاحة، يعتمد "
180 "السلوك على وجود B<GRND_NONBLOCK> في وسيط I<flags>."
181
182 #. type: TP
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<GRND_NONBLOCK>"
187 msgstr "B<GRND_NONBLOCK>"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "By default, when reading from the I<random> source, B<getrandom>() blocks "
194 "if no random bytes are available, and when reading from the I<urandom> "
195 "source, it blocks if the entropy pool has not yet been initialized. If the "
196 "B<GRND_NONBLOCK> flag is set, then B<getrandom>() does not block in these "
197 "cases, but instead immediately returns -1 with I<errno> set to B<EAGAIN>."
198 msgstr ""
199 "مبدئيًا، عند القراءة من مصدر I<random>، يحظر B<getrandom>() إذا لم تكن هناك "
200 "بايتات عشوائية متاحة، وعند القراءة من مصدر I<urandom>، يحظر إذا لم يتم تهيئة "
201 "تجمع الإنتروبيا بعد. إذا تم تعيين العلم B<GRND_NONBLOCK>، فإن B<getrandom>() "
202 "لا يحظر في هذه الحالات، بل يعيد فورًا -1 مع تعيين I<errno> إلى B<EAGAIN>."
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "RETURN VALUE"
209 msgstr "قيمة الإرجاع"
210
211 #. type: Plain text
212 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 msgid ""
215 "On success, B<getrandom>() returns the number of bytes that were copied to "
216 "the buffer I<buf>. This may be less than the number of bytes requested via "
217 "I<size> if either B<GRND_RANDOM> was specified in I<flags> and insufficient "
218 "entropy was present in the I<random> source or the system call was "
219 "interrupted by a signal."
220 msgstr ""
221 "عند النجاح، يعيد B<getrandom>() عدد البايتات التي تم نسخها إلى المخزن المؤقت "
222 "I<buf>. قد يكون هذا أقل من عدد البايتات المطلوبة عبر I<size> إذا تم تحديد "
223 "B<GRND_RANDOM> في I<flags> وكانت الإنتروبيا غير كافية في مصدر I<random> أو "
224 "إذا قاطع إشارة استدعاء النظام."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
230 msgstr "عند الخطأ، تُعاد القيمة -1، ويُضبط I<errno> للإشارة إلى الخطأ."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ERRORS"
237 msgstr "الأخطاء"
238
239 #. type: TP
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "B<EAGAIN>"
244 msgstr "B<EAGAIN>"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "The requested entropy was not available, and B<getrandom>() would have "
251 "blocked if the B<GRND_NONBLOCK> flag was not set."
252 msgstr ""
253 "الإنتروبيا المطلوبة لم تكن متاحة، وكان B<getrandom>() سيحظر إذا لم يتم تعيين "
254 "العلم B<GRND_NONBLOCK>."
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<EFAULT>"
261 msgstr "B<EFAULT>"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "The address referred to by I<buf> is outside the accessible address space."
268 msgstr "العنوان المشار إليه بـ I<buf> خارج مساحة العنوان القابلة للوصول."
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<EINTR>"
275 msgstr "B<EINTR>"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "The call was interrupted by a signal handler; see the description of how "
282 "interrupted B<read>(2) calls on \"slow\" devices are handled with and "
283 "without the B<SA_RESTART> flag in the B<signal>(7) man page."
284 msgstr ""
285 "قاطع معالج إشارة الاستدعاء؛ انظر وصف كيفية معالجة استدعاءات B<read>(2) "
286 "المقاطعة على الأجهزة \"البطيئة\" مع وبدون العلم B<SA_RESTART> في صفحة الدليل "
287 "B<signal>(7)."
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<EINVAL>"
294 msgstr "B<EINVAL>"
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 "An invalid flag was specified in I<flags>."
300 msgstr "تم تحديد علم غير صالح في I<flags>."
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<ENOSYS>"
307 msgstr "B<ENOSYS>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "The glibc wrapper function for B<getrandom>() determined that the "
314 "underlying kernel does not implement this system call."
315 msgstr ""
316 "حددت دالة الغلاف glibc لـ B<getrandom>() أن النواة الأساسية لا تنفذ استدعاء "
317 "النظام هذا."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "STANDARDS"
324 msgstr "المعايير"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid "Linux."
330 msgstr "لينكس."
331
332 #. type: SH
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "HISTORY"
337 msgstr "التاريخ"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid "Linux 3.17, glibc 2.25."
343 msgstr "Linux 3.17, glibc 2.25."
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "NOTES"
350 msgstr "ملاحظات"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "For an overview and comparison of the various interfaces that can be used to "
357 "obtain randomness, see B<random>(7)."
358 msgstr ""
359 "للحصول على نظرة عامة ومقارنة للواجهات المختلفة التي يمكن استخدامها للحصول "
360 "على العشوائية، راجع B<random>(7)."
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 "Unlike I</dev/random> and I</dev/urandom>, B<getrandom>() does not involve "
367 "the use of pathnames or file descriptors. Thus, B<getrandom>() can be "
368 "useful in cases where B<chroot>(2) makes I</dev> pathnames invisible, and "
369 "where an application (e.g., a daemon during start-up) closes a file "
370 "descriptor for one of these files that was opened by a library."
371 msgstr ""
372 "على عكس I</dev/random> و I</dev/urandom>، لا يتضمن B<getrandom>() استخدام "
373 "أسماء المسارات أو واصفات الملفات. وبالتالي، يمكن أن يكون B<getrandom>() "
374 "مفيدًا في الحالات التي يجعل فيها B<chroot>(2) أسماء مسارات I</dev> غير مرئية، "
375 "وحيث يغلق تطبيق (مثل خفي أثناء بدء التشغيل) واصف ملف لأحد هذه الملفات الذي "
376 "فتحته مكتبة."
377
378 #. type: SS
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "Maximum number of bytes returned"
383 msgstr "الحد الأقصى لعدد البايتات المعادة"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid "As of Linux 3.19 the following limits apply:"
389 msgstr "اعتبارًا من Linux 3.19، تنطبق الحدود التالية:"
390
391 #. type: IP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "\\[bu]"
396 msgstr "\\[bu]"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "When reading from the I<urandom> source, a maximum of 32Mi-1 bytes is "
403 "returned by a single call to B<getrandom>() on systems where I<int> has a "
404 "size of 32 bits."
405 msgstr ""
406 "عند القراءة من مصدر I<urandom>، يعيد استدعاء واحد لـ B<getrandom>() حدًا أقصى "
407 "يبلغ 32Mi-1 بايت على الأنظمة التي يكون فيها حجم I<int> 32 بت."
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "When reading from the I<random> source, a maximum of 512 bytes is returned."
414 msgstr "عند القراءة من مصدر I<random>، يعيد حدًا أقصى يبلغ 512 بايت."
415
416 #. type: SS
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "Interruption by a signal handler"
421 msgstr "المقاطعة بواسطة معالج إشارة"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "When reading from the I<urandom> source (B<GRND_RANDOM> is not set), "
428 "B<getrandom>() will block until the entropy pool has been initialized "
429 "(unless the B<GRND_NONBLOCK> flag was specified). If a request is made to "
430 "read a large number of bytes (more than 256), B<getrandom>() will block "
431 "until those bytes have been generated and transferred from kernel memory to "
432 "I<buf>. When reading from the I<random> source (B<GRND_RANDOM> is set), "
433 "B<getrandom>() will block until some random bytes become available (unless "
434 "the B<GRND_NONBLOCK> flag was specified)."
435 msgstr ""
436 "عند القراءة من مصدر I<urandom> (لم يتم تعيين B<GRND_RANDOM>)، سيحظر "
437 "B<getrandom>() حتى يتم تهيئة تجمع الإنتروبيا (ما لم يتم تحديد العلم "
438 "B<GRND_NONBLOCK>). إذا تم تقديم طلب لقراءة عدد كبير من البايتات (أكثر من "
439 "256)، سيحظر B<getrandom>() حتى يتم إنشاء تلك البايتات ونقلها من ذاكرة النواة "
440 "إلى I<buf>. عند القراءة من مصدر I<random> (تم تعيين B<GRND_RANDOM>)، سيحظر "
441 "B<getrandom>() حتى تصبح بعض البايتات العشوائية متاحة (ما لم يتم تحديد العلم "
442 "B<GRND_NONBLOCK>)."
443
444 #. type: Plain text
445 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
446 #: opensuse-tumbleweed
447 msgid ""
448 "The behavior when a call to B<getrandom>() that is blocked while reading "
449 "from the I<urandom> source is interrupted by a signal handler depends on the "
450 "initialization state of the entropy buffer and on the request size, "
451 "I<size>. If the entropy is not yet initialized, then the call fails with "
452 "the B<EINTR> error. If the entropy pool has been initialized and the "
453 "request size is large (I<size>\\ E<gt>\\ 256), the call either succeeds, "
454 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
455 "the entropy pool has been initialized and the request size is small "
456 "(I<size>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with B<EINTR>. "
457 "Instead, it will return all of the bytes that have been requested."
458 msgstr ""
459 "يعتمد السلوك عندما يقاطع معالج إشارة استدعاء لـ B<getrandom>() محظور أثناء "
460 "القراءة من مصدر I<urandom> على حالة تهيئة مخزن الإنتروبيا وحجم الطلب "
461 "I<size>. إذا لم يتم تهيئة الإنتروبيا بعد، يفشل الاستدعاء مع الخطأ B<EINTR>. "
462 "إذا تم تهيئة تجمع الإنتروبيا وكان حجم الطلب كبيرًا (I<size>\\ E<gt>\\ 256)، "
463 "إما أن ينجح الاستدعاء، معيدًا مخزنًا ممتلئًا جزئيًا، أو يفشل مع الخطأ B<EINTR>. "
464 "إذا تم تهيئة تجمع الإنتروبيا وكان حجم الطلب صغيرًا (I<size>\\ E<lt>=\\ 256)، "
465 "فلن يفشل B<getrandom>() مع B<EINTR>. بدلاً من ذلك، سيعيد جميع البايتات التي "
466 "تم طلبها."
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "When reading from the I<random> source, blocking requests of any size can be "
473 "interrupted by a signal handler (the call fails with the error B<EINTR>)."
474 msgstr ""
475 "عند القراءة من مصدر I<random>، يمكن لمعالج إشارة مقاطعة طلبات الحظر من أي "
476 "حجم (يفشل الاستدعاء مع الخطأ B<EINTR>)."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "Using B<getrandom>() to read small buffers (E<lt>=\\ 256 bytes) from the "
483 "I<urandom> source is the preferred mode of usage."
484 msgstr ""
485 "استخدام B<getrandom>() لقراءة مخازن صغيرة (E<lt>=\\ 256 بايت) من مصدر "
486 "I<urandom> هو وضع الاستخدام المفضل."
487
488 #. type: Plain text
489 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
490 #: opensuse-tumbleweed
491 msgid ""
492 "The special treatment of small values of I<size> was designed for "
493 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
494 "by glibc."
495 msgstr ""
496 "المعالجة الخاصة للقيم الصغيرة لـ I<size> صُممت للتوافق مع B<getentropy>(3) "
497 "الخاص بـ OpenBSD، والذي تدعمه glibc حاليًا."
498
499 #. type: Plain text
500 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
501 #: opensuse-tumbleweed
502 msgid ""
503 "The user of B<getrandom>() I<must> always check the return value, to "
504 "determine whether either an error occurred or fewer bytes than requested "
505 "were returned. In the case where B<GRND_RANDOM> is not specified and "
506 "I<size> is less than or equal to 256, a return of fewer bytes than requested "
507 "should never happen, but the careful programmer will check for this anyway!"
508 msgstr ""
509 "يجب على مستخدم B<getrandom>() I<أن> يتحقق دائمًا من القيمة المُرجَعة، لتحديد ما "
510 "إذا حدث خطأ أو تم إرجاع عدد بايتات أقل من المطلوب. في الحالة التي لا يُحدد "
511 "فيها B<GRND_RANDOM> وكانت I<size> أقل من أو تساوي 256، لا ينبغي أبدًا أن يحدث "
512 "إرجاع عدد بايتات أقل من المطلوب، لكن المبرمج الحريص سيتحقق من ذلك على أي حال!"
513
514 #. type: SH
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "BUGS"
519 msgstr "العلل"
520
521 #. FIXME patch proposed https://lkml.org/lkml/2014/11/29/16
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid "As of Linux 3.19, the following bug exists:"
526 msgstr "اعتبارًا من Linux 3.19، يوجد الخلل التالي:"
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 msgid ""
532 "Depending on CPU load, B<getrandom>() does not react to interrupts before "
533 "reading all bytes requested."
534 msgstr ""
535 "اعتمادًا على حمل وحدة المعالجة المركزية، لا يستجيب B<getrandom>() للمقاطعات "
536 "قبل قراءة جميع البايتات المطلوبة."
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 "SEE ALSO"
543 msgstr "انظر أيضًا"
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid ""
549 "B<getentropy>(3), B<random>(4), B<urandom>(4), B<random>(7), B<signal>(7)"
550 msgstr ""
551 "B<getentropy>(3)، B<random>(4)، B<urandom>(4)، B<random>(7)، B<signal>(7)"
552
553 #. type: TH
554 #: debian-trixie
555 #, no-wrap
556 msgid "2024-05-02"
557 msgstr "2 مايو 2024"
558
559 #. type: TH
560 #: debian-trixie
561 #, no-wrap
562 msgid "Linux man-pages 6.9.1"
563 msgstr "صفحات دليل لينكس 6.9.1"
564
565 #. type: Plain text
566 #: debian-trixie
567 msgid "Standard C library (I<libc>, I<-lc>)"
568 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
569
570 #. type: Plain text
571 #: debian-trixie fedora-44 fedora-rawhide
572 #, no-wrap
573 msgid "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
574 msgstr "B<ssize_t getrandom(void >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, unsigned int >I<flags>B<);>\n"
575
576 #. type: Plain text
577 #: debian-trixie fedora-44 fedora-rawhide
578 msgid ""
579 "The B<getrandom>() system call fills the buffer pointed to by I<buf> with "
580 "up to I<buflen> random bytes. These bytes can be used to seed user-space "
581 "random number generators or for cryptographic purposes."
582 msgstr ""
583 "استدعاء النظام B<getrandom>() يملأ المخزن المؤقت المشار إليه بـ I<buf> بما "
584 "يصل إلى I<buflen> بايت عشوائي. يمكن استخدام هذه البايتات لتغذية مولدات "
585 "الأرقام العشوائية في مساحة المستخدم أو للأغراض التشفيرية."
586
587 #. type: Plain text
588 #: debian-trixie fedora-44 fedora-rawhide
589 msgid ""
590 "If this bit is set, then random bytes are drawn from the I<random> source (i."
591 "e., the same source as the I</dev/random> device) instead of the I<urandom> "
592 "source. The I<random> source is limited based on the entropy that can be "
593 "obtained from environmental noise. If the number of available bytes in the "
594 "I<random> source is less than requested in I<buflen>, the call returns just "
595 "the available random bytes. If no random bytes are available, the behavior "
596 "depends on the presence of B<GRND_NONBLOCK> in the I<flags> argument."
597 msgstr ""
598 "إذا تم تعيين هذه البتة، فسيتم سحب البايتات العشوائية من مصدر I<random> (أي "
599 "نفس مصدر جهاز I</dev/random>) بدلاً من مصدر I<urandom>. مصدر I<random> محدود "
600 "بناءً على الإنتروبيا التي يمكن الحصول عليها من الضوضاء البيئية. إذا كان عدد "
601 "البايتات المتاحة في مصدر I<random> أقل من المطلوب في I<buflen>، يُرجع "
602 "الاستدعاء البايتات العشوائية المتاحة فقط. إذا لم تكن هناك بايتات عشوائية "
603 "متاحة، يعتمد السلوك على وجود B<GRND_NONBLOCK> في وسيط I<flags>."
604
605 #. type: Plain text
606 #: debian-trixie fedora-44 fedora-rawhide
607 msgid ""
608 "On success, B<getrandom>() returns the number of bytes that were copied to "
609 "the buffer I<buf>. This may be less than the number of bytes requested via "
610 "I<buflen> if either B<GRND_RANDOM> was specified in I<flags> and "
611 "insufficient entropy was present in the I<random> source or the system call "
612 "was interrupted by a signal."
613 msgstr ""
614 "عند النجاح، يُرجع B<getrandom>() عدد البايتات التي تم نسخها إلى المخزن المؤقت "
615 "I<buf>. قد يكون هذا أقل من عدد البايتات المطلوبة عبر I<buflen> إذا تم تحديد "
616 "B<GRND_RANDOM> في I<flags> وكانت الإنتروبيا غير كافية في مصدر I<random> أو "
617 "تمت مقاطعة استدعاء النظام بواسطة إشارة."
618
619 #. type: Plain text
620 #: debian-trixie fedora-44 fedora-rawhide
621 msgid ""
622 "The behavior when a call to B<getrandom>() that is blocked while reading "
623 "from the I<urandom> source is interrupted by a signal handler depends on the "
624 "initialization state of the entropy buffer and on the request size, "
625 "I<buflen>. If the entropy is not yet initialized, then the call fails with "
626 "the B<EINTR> error. If the entropy pool has been initialized and the "
627 "request size is large (I<buflen>\\ E<gt>\\ 256), the call either succeeds, "
628 "returning a partially filled buffer, or fails with the error B<EINTR>. If "
629 "the entropy pool has been initialized and the request size is small "
630 "(I<buflen>\\ E<lt>=\\ 256), then B<getrandom>() will not fail with "
631 "B<EINTR>. Instead, it will return all of the bytes that have been requested."
632 msgstr ""
633 "يعتمد السلوك عندما يتم مقاطعة استدعاء B<getrandom>() المحظور أثناء القراءة "
634 "من مصدر I<urandom> بواسطة معالج إشارة على حالة تهيئة مخزن الإنتروبيا المؤقت "
635 "وحجم الطلب، I<buflen>. إذا لم تتم تهيئة الإنتروبيا بعد، يفشل الاستدعاء مع "
636 "خطأ B<EINTR>. إذا تمت تهيئة مجمع الإنتروبيا وكان حجم الطلب كبيرًا "
637 "(I<buflen>\\ E<gt>\\ 256)، فإن الاستدعاء إما ينجح، مُعيدًا مخزنًا مؤقتًا ممتلئًا "
638 "جزئيًا، أو يفشل مع خطأ B<EINTR>. إذا تمت تهيئة مجمع الإنتروبيا وكان حجم الطلب "
639 "صغيرًا (I<buflen>\\ E<lt>=\\ 256)، فلن يفشل B<getrandom>() مع B<EINTR>. بدلاً "
640 "من ذلك، سيعيد جميع البايتات التي تم طلبها."
641
642 #. type: Plain text
643 #: debian-trixie fedora-44 fedora-rawhide
644 msgid ""
645 "The special treatment of small values of I<buflen> was designed for "
646 "compatibility with OpenBSD's B<getentropy>(3), which is nowadays supported "
647 "by glibc."
648 msgstr ""
649 "المعالجة الخاصة للقيم الصغيرة لـ I<buflen> صُممت للتوافق مع B<getentropy>(3) "
650 "الخاص بـ OpenBSD، والذي تدعمه glibc حاليًا."
651
652 #. type: Plain text
653 #: debian-trixie fedora-44 fedora-rawhide
654 msgid ""
655 "The user of B<getrandom>() I<must> always check the return value, to "
656 "determine whether either an error occurred or fewer bytes than requested "
657 "were returned. In the case where B<GRND_RANDOM> is not specified and "
658 "I<buflen> is less than or equal to 256, a return of fewer bytes than "
659 "requested should never happen, but the careful programmer will check for "
660 "this anyway!"
661 msgstr ""
662 "يجب على مستخدم B<getrandom>() I<أن> يتحقق دائمًا من القيمة المُرجَعة، لتحديد ما "
663 "إذا حدث خطأ أو تم إرجاع عدد بايتات أقل من المطلوب. في الحالة التي لا يُحدد "
664 "فيها B<GRND_RANDOM> وكانت I<buflen> أقل من أو تساوي 256، لا ينبغي أبدًا أن "
665 "يحدث إرجاع عدد بايتات أقل من المطلوب، لكن المبرمج الحريص سيتحقق من ذلك على "
666 "أي حال!"
667
668 #. type: TH
669 #: fedora-44 fedora-rawhide
670 #, no-wrap
671 msgid "2024-07-23"
672 msgstr "23 يوليو 2024"
673
674 #. type: TH
675 #: fedora-44 fedora-rawhide
676 #, no-wrap
677 msgid "Linux man-pages 6.13"
678 msgstr "صفحات دليل لينكس 6.13"
679
680 #. type: TH
681 #: mageia-cauldron
682 #, no-wrap
683 msgid "Linux man-pages 6.17"
684 msgstr "صفحات دليل لينكس 6.17"
685
686 #. type: TH
687 #: opensuse-leap-16-1 opensuse-tumbleweed
688 #, no-wrap
689 msgid "Linux man-pages (unreleased)"
690 msgstr "صفحات دليل لينكس (لم تصدر بعد)"