Debian Codegraph @

po/ar/man2/mlock.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 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
10 "PO-Revision-Date: 2026-06-27 17:54+0200\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 ".MIME-Version: 1.0\n"
18 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
19 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
20 "X-Generator: Lokalize 23.08.5\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "mlock"
27 msgstr "mlock"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-11"
34 msgstr "11 فبراير 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "صفحات دليل لينكس 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "الاسم"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory"
53 msgstr "mlock, mlock2, munlock, mlockall, munlockall - قفل وفتح الذاكرة"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "المكتبة"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "موجز"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
80 msgstr "B<#include E<lt>sys/mman.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<int mlock(>size_t size;\n"
88 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
89 "B<int mlock2(>size_t size;\n"
90 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
91 "B<int munlock(>size_t size;\n"
92 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
93 msgstr ""
94 "B<int mlock(>size_t size;\n"
95 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
96 "B<int mlock2(>size_t size;\n"
97 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
98 "B<int munlock(>size_t size;\n"
99 "B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid ""
106 "B<int mlockall(int >I<flags>B<);>\n"
107 "B<int munlockall(void);>\n"
108 msgstr ""
109 "B<int mlockall(int >I<flags>B<);>\n"
110 "B<int munlockall(void);>\n"
111
112 #. type: SH
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "DESCRIPTION"
117 msgstr "الوصف"
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "B<mlock>(), B<mlock2>(), and B<mlockall>() lock part or all of the calling "
124 "process's virtual address space into RAM, preventing that memory from being "
125 "paged to the swap area."
126 msgstr ""
127 "B<mlock>() و B<mlock2>() و B<mlockall>() تقفل جزءًا أو كل مساحة العنوان "
128 "الافتراضية لعملية الاستدعاء في RAM، مما يمنع ترحيل تلك الذاكرة إلى منطقة "
129 "المبادلة."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "B<munlock>() and B<munlockall>() perform the converse operation, unlocking "
136 "part or all of the calling process's virtual address space, so that pages in "
137 "the specified virtual address range can be swapped out again if required by "
138 "the kernel memory manager."
139 msgstr ""
140 "B<munlock>() و B<munlockall>() تنفذ العملية المعاكسة، بفتح جزء أو كل مساحة "
141 "العنوان الافتراضية لعملية الاستدعاء، بحيث يمكن إخراج الصفحات في نطاق العنوان "
142 "الافتراضي المحدد إلى المبادلة مرة أخرى إذا تطلب مدير ذاكرة النواة ذلك."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid "Memory locking and unlocking are performed in units of whole pages."
148 msgstr "تُقفل الذاكرة وفتحها بوحدات من الصفحات الكاملة."
149
150 #. type: SS
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "mlock(), mlock2(), and munlock()"
155 msgstr "mlock() و mlock2() و munlock()"
156
157 #. type: Plain text
158 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
159 #: opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "B<mlock>() locks pages in the address range starting at I<addr> and "
162 "continuing for I<size> bytes. All pages that contain a part of the "
163 "specified address range are guaranteed to be resident in RAM when the call "
164 "returns successfully; the pages are guaranteed to stay in RAM until later "
165 "unlocked."
166 msgstr ""
167 "B<mlock>() تقفل الصفحات في نطاق العنوان الذي يبدأ من I<addr> ويستمر لـ "
168 "I<size> بايت. جميع الصفحات التي تحتوي على جزء من نطاق العنوان المحدد مضمونة "
169 "أن تكون مقيمة في RAM عند نجاح الاستدعاء؛ الصفحات مضمونة أن تبقى في RAM حتى "
170 "تُفتح لاحقًا."
171
172 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
173 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
174 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
175 #. type: Plain text
176 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
177 #: opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
180 "continuing for I<size> bytes. However, the state of the pages contained in "
181 "that range after the call returns successfully will depend on the value in "
182 "the I<flags> argument."
183 msgstr ""
184 "B<mlock2>() تقفل أيضًا الصفحات في النطاق المحدد الذي يبدأ من I<addr> ويستمر "
185 "لـ I<size> بايت. ومع ذلك، فإن حالة الصفحات الموجودة في ذلك النطاق بعد نجاح "
186 "الاستدعاء ستعتمد على القيمة في وسيط I<flags>."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "The I<flags> argument can be either 0 or the following constant:"
192 msgstr "يمكن أن يكون وسيط I<flags> إما 0 أو الثابت التالي:"
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<MLOCK_ONFAULT>"
199 msgstr "B<MLOCK_ONFAULT>"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Lock pages that are currently resident and mark the entire range so that the "
206 "remaining nonresident pages are locked when they are populated by a page "
207 "fault."
208 msgstr ""
209 "تقفل الصفحات المقيمة حاليًا وتضع علامة على النطاق بأكمله بحيث تُقفل الصفحات "
210 "غير المقيمة المتبقية عند ملئها بخطأ صفحة."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "If I<flags> is 0, B<mlock2>() behaves exactly the same as B<mlock>()."
216 msgstr "إذا كان I<flags> هو 0، فإن B<mlock2>() تتصرف تمامًا مثل B<mlock>()."
217
218 #. type: Plain text
219 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
220 #: opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
223 "continuing for I<size> bytes. After this call, all pages that contain a "
224 "part of the specified memory range can be moved to external swap space again "
225 "by the kernel."
226 msgstr ""
227 "B<munlock>() تفتح الصفحات في نطاق العنوان الذي يبدأ من I<addr> ويستمر لـ "
228 "I<size> بايت. بعد هذا الاستدعاء، يمكن للنواة نقل جميع الصفحات التي تحتوي على "
229 "جزء من نطاق الذاكرة المحدد إلى مساحة المبادلة الخارجية مرة أخرى."
230
231 #. type: SS
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "mlockall() and munlockall()"
236 msgstr "mlockall() و munlockall()"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "B<mlockall>() locks all pages mapped into the address space of the calling "
243 "process. This includes the pages of the code, data, and stack segment, as "
244 "well as shared libraries, user space kernel data, shared memory, and memory-"
245 "mapped files. All mapped pages are guaranteed to be resident in RAM when "
246 "the call returns successfully; the pages are guaranteed to stay in RAM until "
247 "later unlocked."
248 msgstr ""
249 "B<mlockall>() تقفل جميع الصفحات المعينة في مساحة العنوان لعملية الاستدعاء. "
250 "يشمل ذلك صفحات مقطع الكود والبيانات والمكدس، بالإضافة إلى المكتبات المشتركة "
251 "وبيانات النواة في مساحة المستخدم والذاكرة المشتركة والملفات المعينة في "
252 "الذاكرة. جميع الصفحات المعينة مضمونة أن تكون مقيمة في RAM عند نجاح "
253 "الاستدعاء؛ الصفحات مضمونة أن تبقى في RAM حتى تُفتح لاحقًا."
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "The I<flags> argument is constructed as the bitwise OR of one or more of the "
260 "following constants:"
261 msgstr "يُبنى وسيط I<flags> كـ OR بتاتي لواحد أو أكثر من الثوابت التالية:"
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<MCL_CURRENT>"
268 msgstr "B<MCL_CURRENT>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "Lock all pages which are currently mapped into the address space of the "
275 "process."
276 msgstr "تقفل جميع الصفحات المعينة حاليًا في مساحة العنوان للعملية."
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<MCL_FUTURE>"
283 msgstr "B<MCL_FUTURE>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "Lock all pages which will become mapped into the address space of the "
290 "process in the future. These could be, for instance, new pages required by "
291 "a growing heap and stack as well as new memory-mapped files or shared memory "
292 "regions."
293 msgstr ""
294 "تقفل جميع الصفحات التي ستصبح معينة في مساحة العنوان للعملية في المستقبل. "
295 "يمكن أن تكون هذه، على سبيل المثال، صفحات جديدة مطلوبة بواسطة كومة ومكدس "
296 "متزايدين بالإضافة إلى ملفات جديدة معينة في الذاكرة أو مناطق ذاكرة مشتركة."
297
298 #. type: TP
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "B<MCL_ONFAULT> (since Linux 4.4)"
303 msgstr "B<MCL_ONFAULT> (منذ Linux 4.4)"
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid ""
309 "Used together with B<MCL_CURRENT>, B<MCL_FUTURE>, or both. Mark all current "
310 "(with B<MCL_CURRENT>) or future (with B<MCL_FUTURE>) mappings to lock "
311 "pages when they are faulted in. When used with B<MCL_CURRENT>, all present "
312 "pages are locked, but B<mlockall>() will not fault in non-present pages. "
313 "When used with B<MCL_FUTURE>, all future mappings will be marked to lock "
314 "pages when they are faulted in, but they will not be populated by the lock "
315 "when the mapping is created. B<MCL_ONFAULT> must be used with either "
316 "B<MCL_CURRENT> or B<MCL_FUTURE> or both."
317 msgstr ""
318 "يُستخدم مع B<MCL_CURRENT> أو B<MCL_FUTURE> أو كليهما. يضع علامة على جميع "
319 "التعيينات الحالية (مع B<MCL_CURRENT>) أو المستقبلية (مع B<MCL_FUTURE>) لقفل "
320 "الصفحات عند إدخالها بخطأ. عند استخدامه مع B<MCL_CURRENT>، تُقفل جميع الصفحات "
321 "الموجودة، لكن B<mlockall>() لن تسبب خطأ في الصفحات غير الموجودة. عند "
322 "استخدامه مع B<MCL_FUTURE>، ستُوضع علامة على جميع التعيينات المستقبلية لقفل "
323 "الصفحات عند إدخالها بخطأ، لكنها لن تُملأ بالقفل عند إنشاء التعيين. يجب "
324 "استخدام B<MCL_ONFAULT> مع إما B<MCL_CURRENT> أو B<MCL_FUTURE> أو كليهما."
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 ""
330 "If B<MCL_FUTURE> has been specified, then a later system call (e.g., "
331 "B<mmap>(2), B<sbrk>(2), B<malloc>(3)), may fail if it would cause the number "
332 "of locked bytes to exceed the permitted maximum (see below). In the same "
333 "circumstances, stack growth may likewise fail: the kernel will deny stack "
334 "expansion and deliver a B<SIGSEGV> signal to the process."
335 msgstr ""
336 "إذا حُدد B<MCL_FUTURE>، فقد يفشل استدعاء نظام لاحق (مثل B<mmap>(2) أو "
337 "B<sbrk>(2) أو B<malloc>(3)) إذا تسبب في تجاوز عدد البايتات المقفلة الحد "
338 "الأقصى المسموح به (انظر أدناه). في نفس الظروف، قد يفشل نمو المكدس بالمثل: "
339 "سترفض النواة توسيع المكدس وترسل إشارة B<SIGSEGV> إلى العملية."
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 ""
345 "B<munlockall>() unlocks all pages mapped into the address space of the "
346 "calling process."
347 msgstr ""
348 "B<munlockall>() تفتح جميع الصفحات المعينة في مساحة العنوان لعملية الاستدعاء."
349
350 #. type: SH
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "RETURN VALUE"
355 msgstr "قيمة الإرجاع"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "On success, these system calls return 0. On error, -1 is returned, I<errno> "
362 "is set to indicate the error, and no changes are made to any locks in the "
363 "address space of the process."
364 msgstr ""
365 "عند النجاح، تعيد استدعاءات النظام هذه 0. عند الخطأ، يُرجع -1، ويُعين I<errno> "
366 "للإشارة إلى الخطأ، ولا يُجرى أي تغييرات على أي أقفال في مساحة العنوان للعملية."
367
368 #. type: SH
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "ERRORS"
373 msgstr "الأخطاء"
374
375 #. type: TP
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "B<EAGAIN>"
380 msgstr "B<EAGAIN>"
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some or all of the specified "
387 "address range could not be locked."
388 msgstr ""
389 "(B<mlock>() و B<mlock2>() و B<munlock>()) لا يمكن قفل بعض أو كل نطاق العنوان "
390 "المحدد."
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<EINVAL>"
397 msgstr "B<EINVAL>"
398
399 #. type: Plain text
400 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
401 #: opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
404 "I<addr>+I<size> was less than I<addr> (e.g., the addition may have resulted "
405 "in an overflow)."
406 msgstr ""
407 "(B<mlock>() و B<mlock2>() و B<munlock>()) كانت نتيجة الجمع I<addr>+I<size> "
408 "أقل من I<addr> (على سبيل المثال، قد يكون الجمع قد أدى إلى تجاوز)."
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 "(B<mlock2>()) Unknown I<flags> were specified."
414 msgstr "(B<mlock2>()) حُدد I<flags> غير معروفة."
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "(B<mlockall>()) Unknown I<flags> were specified or B<MCL_ONFAULT> was "
421 "specified without either B<MCL_FUTURE> or B<MCL_CURRENT>."
422 msgstr ""
423 "(B<mlockall>()) حُدد I<flags> غير معروفة أو حُدد B<MCL_ONFAULT> دون "
424 "B<MCL_FUTURE> أو B<MCL_CURRENT>."
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 "(Not on Linux) I<addr> was not a multiple of the page size."
430 msgstr "(ليس على لينكس) I<addr> لم يكن مضاعفًا لحجم الصفحة."
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<ENOMEM>"
437 msgstr "B<ENOMEM>"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Some of the specified address "
444 "range does not correspond to mapped pages in the address space of the "
445 "process."
446 msgstr ""
447 "(B<mlock>(), B<mlock2>(), و B<munlock>()) بعض نطاق العناوين المحدد لا "
448 "يتوافق مع صفحات معينة في مساحة عنوان العملية."
449
450 #. I.e., the number of VMAs would exceed the 64kB maximum
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "(B<mlock>(), B<mlock2>(), and B<munlock>()) Locking or unlocking a region "
456 "would result in the total number of mappings with distinct attributes (e.g., "
457 "locked versus unlocked) exceeding the allowed maximum. (For example, "
458 "unlocking a range in the middle of a currently locked mapping would result "
459 "in three mappings: two locked mappings at each end and an unlocked mapping "
460 "in the middle.)"
461 msgstr ""
462 "(B<mlock>(), B<mlock2>(), و B<munlock>()) قفل أو فتح منطقة سيؤدي إلى تجاوز "
463 "العدد الإجمالي للتعيينات ذات السمات المميزة (مثل المقفلة مقابل غير المقفلة) "
464 "الحد الأقصى المسموح به. (على سبيل المثال، فتح نطاق في منتصف تعيين مقفل "
465 "حاليًا سيؤدي إلى ثلاثة تعيينات: تعيينان مقفلان في كل طرف وتعيين غير مقفل في "
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 "(Linux 2.6.9 and later) the caller had a nonzero B<RLIMIT_MEMLOCK> soft "
473 "resource limit, but tried to lock more memory than the limit permitted. "
474 "This limit is not enforced if the process is privileged (B<CAP_IPC_LOCK>)."
475 msgstr ""
476 "(لينكس 2.6.9 وما بعده) كان لدى المتصل حد مورد ناعم B<RLIMIT_MEMLOCK> غير "
477 "صفري، لكنه حاول قفل ذاكرة أكثر مما يسمح به الحد. لا يُرفض هذا الحد إذا كانت "
478 "العملية مميزة (B<CAP_IPC_LOCK>)."
479
480 #. In the case of mlock(), this check is somewhat buggy: it doesn't
481 #. take into account whether the to-be-locked range overlaps with
482 #. already locked pages. Thus, suppose we allocate
483 #. (num_physpages / 4 + 1) of memory, and lock those pages once using
484 #. mlock(), and then lock the *same* page range a second time.
485 #. In the case, the second mlock() call will fail, since the check
486 #. calculates that the process is trying to lock (num_physpages / 2 + 2)
487 #. pages, which of course is not true. (MTK, Nov 04, kernel 2.4.28)
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "(Linux 2.4 and earlier) the calling process tried to lock more than half of "
493 "RAM."
494 msgstr ""
495 "(لينكس 2.4 وما قبله) حاولت العملية المتصلة قفل أكثر من نصف ذاكرة الوصول "
496 "العشوائي."
497
498 #. type: TP
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "B<EPERM>"
503 msgstr "B<EPERM>"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "The caller is not privileged, but needs privilege (B<CAP_IPC_LOCK>) to "
510 "perform the requested operation."
511 msgstr ""
512 "المتصل ليس مميزًا، لكنه يحتاج إلى امتياز (B<CAP_IPC_LOCK>) لتنفيذ العملية "
513 "المطلوبة."
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid ""
519 "(B<munlockall>()) (Linux 2.6.8 and earlier) The caller was not privileged "
520 "(B<CAP_IPC_LOCK>)."
521 msgstr ""
522 "(B<munlockall>()) (لينكس 2.6.8 وما قبله) لم يكن المتصل مميزًا "
523 "(B<CAP_IPC_LOCK>)."
524
525 #. type: SH
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "VERSIONS"
530 msgstr "الإصدارات"
531
532 # type: TH
533 #. type: SS
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "Linux"
538 msgstr "لينكس"
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid ""
544 "Under Linux, B<mlock>(), B<mlock2>(), and B<munlock>() automatically round "
545 "I<addr> down to the nearest page boundary. However, the POSIX.1 "
546 "specification of B<mlock>() and B<munlock>() allows an implementation to "
547 "require that I<addr> is page aligned, so portable applications should ensure "
548 "this."
549 msgstr ""
550 "تحت لينكس، B<mlock>()، B<mlock2>()، و B<munlock>() تقوم آليًا بتقريب I<addr> "
551 "لأسفل إلى أقرب حد صفحة. ومع ذلك، تسمح مواصفات POSIX.1 لـ B<mlock>() و "
552 "B<munlock>() للتنفيذ بأن يتطلب محاذاة I<addr> للصفحة، لذا يجب على التطبيقات "
553 "المحمولة ضمان ذلك."
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "The I<VmLck> field of the Linux-specific I</proc/>pidI</status> file shows "
560 "how many kilobytes of memory the process with ID I<PID> has locked using "
561 "B<mlock>(), B<mlock2>(), B<mlockall>(), and B<mmap>(2) B<MAP_LOCKED>."
562 msgstr ""
563 "حقل I<VmLck> في ملف I</proc/>pidI</status> الخاص بلينكس يظهر عدد "
564 "الكيلوبايتات من الذاكرة التي قامت العملية ذات المعرف I<PID> بقفلها باستخدام "
565 "B<mlock>()، B<mlock2>()، B<mlockall>()، و B<mmap>(2) B<MAP_LOCKED>."
566
567 #. type: SH
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "STANDARDS"
572 msgstr "المعايير"
573
574 #. type: TP
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, no-wrap
578 msgid "B<mlock>()"
579 msgstr "B<mlock>()"
580
581 #. type: TQ
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<munlock>()"
586 msgstr "B<munlock>()"
587
588 #. type: TQ
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "B<mlockall>()"
593 msgstr "B<mlockall>()"
594
595 #. type: TQ
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "B<munlockall>()"
600 msgstr "B<munlockall>()"
601
602 #. type: Plain text
603 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
604 #: opensuse-tumbleweed
605 msgid "POSIX.1-2024."
606 msgstr "POSIX.1-2024."
607
608 #. type: TP
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "B<mlock2>()"
613 msgstr "B<mlock2>()"
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 msgid "Linux."
619 msgstr "لينكس."
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "On POSIX systems on which B<mlock>() and B<munlock>() are available, "
626 "B<_POSIX_MEMLOCK_RANGE> is defined in I<E<lt>unistd.hE<gt>> and the number "
627 "of bytes in a page can be determined from the constant B<PAGESIZE> (if "
628 "defined) in I<E<lt>limits.hE<gt>> or by calling I<sysconf(_SC_PAGESIZE)>."
629 msgstr ""
630 "على أنظمة POSIX التي تتوفر فيها B<mlock>() و B<munlock>()، تُعرف "
631 "B<_POSIX_MEMLOCK_RANGE> في I<E<lt>unistd.hE<gt>> ويمكن تحديد عدد البايتات في "
632 "الصفحة من الثابت B<PAGESIZE> (إذا تم تعريفه) في I<E<lt>limits.hE<gt>> أو عن "
633 "طريق استدعاء I<sysconf(_SC_PAGESIZE)>."
634
635 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
636 #. -1: unavailable, 0: ask using sysconf().
637 #. glibc defines it to 1.
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid ""
642 "On POSIX systems on which B<mlockall>() and B<munlockall>() are available, "
643 "B<_POSIX_MEMLOCK> is defined in I<E<lt>unistd.hE<gt>> to a value greater "
644 "than 0. (See also B<sysconf>(3).)"
645 msgstr ""
646 "على أنظمة POSIX التي تتوفر فيها B<mlockall>() و B<munlockall>()، تُعرف "
647 "B<_POSIX_MEMLOCK> في I<E<lt>unistd.hE<gt>> بقيمة أكبر من 0. (انظر أيضًا "
648 "B<sysconf>(3).)"
649
650 #. type: SH
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 #, no-wrap
654 msgid "HISTORY"
655 msgstr "التاريخ"
656
657 #. type: Plain text
658 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
659 #: opensuse-tumbleweed
660 msgid "SVr4, POSIX.1-1996."
661 msgstr "SVr4, POSIX.1-1996."
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid "Linux 4.4, glibc 2.27."
667 msgstr "لينكس 4.4، glibc 2.27."
668
669 #. type: SH
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 #, no-wrap
673 msgid "NOTES"
674 msgstr "ملاحظات"
675
676 #. type: Plain text
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 msgid ""
680 "Memory locking has two main applications: real-time algorithms and high-"
681 "security data processing. Real-time applications require deterministic "
682 "timing, and, like scheduling, paging is one major cause of unexpected "
683 "program execution delays. Real-time applications will usually also switch "
684 "to a real-time scheduler with B<sched_setscheduler>(2). Cryptographic "
685 "security software often handles critical bytes like passwords or secret keys "
686 "as data structures. As a result of paging, these secrets could be "
687 "transferred onto a persistent swap store medium, where they might be "
688 "accessible to the enemy long after the security software has erased the "
689 "secrets in RAM and terminated. (But be aware that the suspend mode on "
690 "laptops and some desktop computers will save a copy of the system's RAM to "
691 "disk, regardless of memory locks.)"
692 msgstr ""
693 "لقفل الذاكرة تطبيقان رئيسيان: الخوارزميات في الوقت الفعلي ومعالجة البيانات "
694 "عالية الأمان. تتطلب التطبيقات في الوقت الفعلي توقيتًا حتميًا، ومثل الجدولة، "
695 "فإن الترحيل هو أحد الأسباب الرئيسية لتأخيرات تنفيذ البرنامج غير المتوقعة. "
696 "عادةً ما تتحول التطبيقات في الوقت الفعلي أيضًا إلى جدولة في الوقت الفعلي "
697 "باستخدام B<sched_setscheduler>(2). غالبًا ما تتعامل برامج الأمان المشفرة مع "
698 "البايتات الحرجة مثل كلمات السر أو المفاتيح السرية كهياكل بيانات. نتيجة "
699 "للترحيل، يمكن نقل هذه الأسرار إلى وسيط تخزين مبادلة دائم، حيث قد تكون قابلة "
700 "للوصول للعدو بعد وقت طويل من قيام برنامج الأمان بمسح الأسرار في ذاكرة الوصول "
701 "العشوائي وإنهائه. (لكن كن على علم أن وضع الإيقاف المؤقت على أجهزة الكمبيوتر "
702 "المحمولة وبعض أجهزة الكمبيوتر المكتبية سيحفظ نسخة من ذاكرة الوصول العشوائي "
703 "للنظام على القرص، بغض النظر عن أقفال الذاكرة.)"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid ""
709 "Real-time processes that are using B<mlockall>() to prevent delays on page "
710 "faults should reserve enough locked stack pages before entering the time-"
711 "critical section, so that no page fault can be caused by function calls. "
712 "This can be achieved by calling a function that allocates a sufficiently "
713 "large automatic variable (an array) and writes to the memory occupied by "
714 "this array in order to touch these stack pages. This way, enough pages will "
715 "be mapped for the stack and can be locked into RAM. The dummy writes ensure "
716 "that not even copy-on-write page faults can occur in the critical section."
717 msgstr ""
718 "يجب على العمليات في الوقت الفعلي التي تستخدم B<mlockall>() لمنع التأخيرات "
719 "في أخطاء الصفحات أن تحجز صفحات مكدس مقفلة كافية قبل الدخول إلى القسم الحرج "
720 "زمنيًا، بحيث لا يمكن أن يحدث أي خطأ صفحة بسبب استدعاءات الدوال. يمكن تحقيق "
721 "ذلك عن طريق استدعاء دالة تخصص متغيرًا آليًا كبيرًا بما يكفي (مصفوفة) وتكتب إلى "
722 "الذاكرة التي تشغلها هذه المصفوفة من أجل لمس صفحات المكدس هذه. بهذه الطريقة، "
723 "ستُتعين صفحات كافية للمكدس ويمكن قفلها في ذاكرة الوصول العشوائي. تضمن عمليات "
724 "الكتابة الوهمية عدم حدوث حتى أخطاء صفحات النسخ عند الكتابة في القسم الحرج."
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid ""
730 "Memory locks are not inherited by a child created via B<fork>(2) and are "
731 "automatically removed (unlocked) during an B<execve>(2) or when the process "
732 "terminates. The B<mlockall>() B<MCL_FUTURE> and B<MCL_FUTURE | "
733 "MCL_ONFAULT> settings are not inherited by a child created via B<fork>(2) "
734 "and are cleared during an B<execve>(2)."
735 msgstr ""
736 "لا تُورث أقفال الذاكرة إلى عملية فرعية تم إنشاؤها عبر B<fork>(2) وتُزال آليًا "
737 "(فتحها) أثناء B<execve>(2) أو عند إنهاء العملية. إعدادات B<mlockall>() "
738 "B<MCL_FUTURE> و B<MCL_FUTURE | MCL_ONFAULT> لا تُورث إلى عملية فرعية مُنشأة "
739 "عبر B<fork>(2) وتُمسح أثناء B<execve>(2)."
740
741 #. type: Plain text
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 msgid ""
745 "Note that B<fork>(2) will prepare the address space for a copy-on-write "
746 "operation. The consequence is that any write access that follows will cause "
747 "a page fault that in turn may cause high latencies for a real-time process. "
748 "Therefore, it is crucial not to invoke B<fork>(2) after an B<mlockall>() "
749 "or B<mlock>() operation\\[em]not even from a thread which runs at a low "
750 "priority within a process which also has a thread running at elevated "
751 "priority."
752 msgstr ""
753 "لاحظ أن B<fork>(2) ستحضر مساحة العنوان لعملية نسخ عند الكتابة. النتيجة هي "
754 "أن أي وصول للكتابة يليه سيسبب خطأ صفحة والذي بدوره قد يسبب زمن استجابة "
755 "مرتفعًا لعملية في الوقت الفعلي. لذلك، من الضروري عدم استدعاء B<fork>(2) بعد "
756 "عملية B<mlockall>() أو B<mlock>()\\[em]ولا حتى من خيط يعمل بأولوية منخفضة "
757 "داخل عملية تحتوي أيضًا على خيط يعمل بأولوية مرتفعة."
758
759 #. type: Plain text
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 msgid ""
763 "The memory lock on an address range is automatically removed if the address "
764 "range is unmapped via B<munmap>(2)."
765 msgstr ""
766 "يُزال قفل الذاكرة على نطاق عنوان آليًا إذا أُلغي تعيين نطاق العنوان عبر "
767 "B<munmap>(2)."
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid ""
773 "Memory locks do not stack, that is, pages which have been locked several "
774 "times by calls to B<mlock>(), B<mlock2>(), or B<mlockall>() will be "
775 "unlocked by a single call to B<munlock>() for the corresponding range or by "
776 "B<munlockall>(). Pages which are mapped to several locations or by several "
777 "processes stay locked into RAM as long as they are locked at least at one "
778 "location or by at least one process."
779 msgstr ""
780 "لا تتراكم أقفال الذاكرة، أي أن الصفحات التي أُقفلت عدة مرات عن طريق استدعاءات "
781 "B<mlock>()، B<mlock2>()، أو B<mlockall>() ستُفتح باستدعاء واحد لـ "
782 "B<munlock>() للنطاق المقابل أو بواسطة B<munlockall>(). تبقى الصفحات التي "
783 "عُينت لعدة مواقع أو بواسطة عدة عمليات مقفلة في ذاكرة الوصول العشوائي طالما "
784 "أنها مقفلة على الأقل في موقع واحد أو بواسطة عملية واحدة على الأقل."
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 msgid ""
790 "If a call to B<mlockall>() which uses the B<MCL_FUTURE> flag is followed by "
791 "another call that does not specify this flag, the changes made by the "
792 "B<MCL_FUTURE> call will be lost."
793 msgstr ""
794 "إذا تبع استدعاء لـ B<mlockall>() يستخدم العلم B<MCL_FUTURE> استدعاء آخر لا "
795 "يحدد هذا العلم، فستفقد التغييرات التي أجراها استدعاء B<MCL_FUTURE>."
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "The B<mlock2>() B<MLOCK_ONFAULT> flag and the B<mlockall>() B<MCL_ONFAULT> "
802 "flag allow efficient memory locking for applications that deal with large "
803 "mappings where only a (small) portion of pages in the mapping are touched. "
804 "In such cases, locking all of the pages in a mapping would incur a "
805 "significant penalty for memory locking."
806 msgstr ""
807 "يسمح علم B<mlock2>() B<MLOCK_ONFAULT> وعلم B<mlockall>() B<MCL_ONFAULT> "
808 "بقفل ذاكرة فعال للتطبيقات التي تتعامل مع تعيينات كبيرة حيث يُلمس جزء (صغير) "
809 "فقط من الصفحات في التعيين. في مثل هذه الحالات، سيتسبب قفل جميع الصفحات في "
810 "تعيين في عقوبة كبيرة لقفل الذاكرة."
811
812 #. type: SS
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid "Limits and permissions"
817 msgstr "الحدود والأذونات"
818
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 msgid ""
823 "In Linux 2.6.8 and earlier, a process must be privileged (B<CAP_IPC_LOCK>) "
824 "in order to lock memory and the B<RLIMIT_MEMLOCK> soft resource limit "
825 "defines a limit on how much memory the process may lock."
826 msgstr ""
827 "في لينكس 2.6.8 وما قبله، يجب أن تكون العملية مميزة (B<CAP_IPC_LOCK>) من أجل "
828 "قفل الذاكرة ويحدد حد المورد الناعم B<RLIMIT_MEMLOCK> حدًا على مقدار الذاكرة "
829 "التي قد تقفلها العملية."
830
831 #. type: Plain text
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 msgid ""
835 "Since Linux 2.6.9, no limits are placed on the amount of memory that a "
836 "privileged process can lock and the B<RLIMIT_MEMLOCK> soft resource limit "
837 "instead defines a limit on how much memory an unprivileged process may lock."
838 msgstr ""
839 "منذ لينكس 2.6.9، لا تُوضع حدود على مقدار الذاكرة التي يمكن لعملية مميزة قفلها "
840 "وبدلاً من ذلك يحدد حد المورد الناعم B<RLIMIT_MEMLOCK> حدًا على مقدار الذاكرة "
841 "التي قد تقفلها عملية غير مميزة."
842
843 #. type: SH
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 #, no-wrap
847 msgid "BUGS"
848 msgstr "العلل"
849
850 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
851 #. type: Plain text
852 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
853 #: opensuse-leap-16-1 opensuse-tumbleweed
854 msgid ""
855 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
856 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
857 "the region specified by I<addr> and I<size> overlapped an existing lock, "
858 "then the already locked bytes in the overlapping region were counted twice "
859 "when checking against the limit. Such double accounting could incorrectly "
860 "calculate a \"total locked memory\" value for the process that exceeded the "
861 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
862 "would fail on requests that should have succeeded. This bug was fixed in "
863 "Linux 4.9."
864 msgstr ""
865 "في لينكس 4.8 وما قبله، تسبب خطأ في محاسبة النواة للذاكرة المقفلة للعمليات "
866 "غير المميزة (أي، بدون B<CAP_IPC_LOCK>) في أنه إذا تداخلت المنطقة المحددة "
867 "بواسطة I<addr> و I<size> مع قفل موجود، فإن البايتات المقفلة بالفعل في "
868 "المنطقة المتداخلة كانت تُحسب مرتين عند التحقق من الحد. يمكن أن يؤدي هذا "
869 "الحساب المزدوج إلى حساب غير صحيح لقيمة \"الذاكرة المقفلة الإجمالية\" للعملية "
870 "التي تجاوزت حد B<RLIMIT_MEMLOCK>، مما يؤدي إلى فشل B<mlock>() و B<mlock2>() "
871 "في الطلبات التي كان يجب أن تنجح. أُصلح هذا الخطأ في لينكس 4.9."
872
873 #. type: Plain text
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
876 msgid ""
877 "In Linux 2.4 series of kernels up to and including Linux 2.4.17, a bug "
878 "caused the B<mlockall>() B<MCL_FUTURE> flag to be inherited across a "
879 "B<fork>(2). This was rectified in Linux 2.4.18."
880 msgstr ""
881 "في سلسلة نواة لينكس 2.4 حتى لينكس 2.4.17، تسبب خطأ في توريث علامة "
882 "B<mlockall>() B<MCL_FUTURE> عبر B<fork>(2). صُحح هذا في لينكس 2.4.18."
883
884 #. See the following LKML thread:
885 #. http://marc.theaimsgroup.com/?l=linux-kernel&m=113801392825023&w=2
886 #. "Rationale for RLIMIT_MEMLOCK"
887 #. 23 Jan 2006
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "Since Linux 2.6.9, if a privileged process calls I<mlockall(MCL_FUTURE)> and "
893 "later drops privileges (loses the B<CAP_IPC_LOCK> capability by, for "
894 "example, setting its effective UID to a nonzero value), then subsequent "
895 "memory allocations (e.g., B<mmap>(2), B<brk>(2)) will fail if the "
896 "B<RLIMIT_MEMLOCK> resource limit is encountered."
897 msgstr ""
898 "منذ لينكس 2.6.9، إذا استدعت عملية مميزة I<mlockall(MCL_FUTURE)> ثم تخلت عن "
899 "الامتيازات (فقدت قدرة B<CAP_IPC_LOCK> عن طريق، على سبيل المثال، تعيين UID "
900 "الفعال إلى قيمة غير صفرية)، فإن تخصيصات الذاكرة اللاحقة (مثل B<mmap>(2)، "
901 "B<brk>(2)) ستفشل إذا واجهت حد مورد B<RLIMIT_MEMLOCK>."
902
903 #. type: SH
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid "SEE ALSO"
908 msgstr "انظر أيضًا"
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), "
915 "B<proc>(5), B<capabilities>(7)"
916 msgstr ""
917 "B<mincore>(2)، B<mmap>(2)، B<setrlimit>(2)، B<shmctl>(2)، B<sysconf>(3)، "
918 "B<proc>(5)، B<capabilities>(7)"
919
920 #. type: TH
921 #: debian-trixie
922 #, no-wrap
923 msgid "2024-05-02"
924 msgstr "2 مايو 2024"
925
926 #. type: TH
927 #: debian-trixie
928 #, no-wrap
929 msgid "Linux man-pages 6.9.1"
930 msgstr "صفحات دليل لينكس 6.9.1"
931
932 #. type: Plain text
933 #: debian-trixie
934 msgid "Standard C library (I<libc>, I<-lc>)"
935 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
936
937 #. type: Plain text
938 #: debian-trixie
939 #, no-wrap
940 msgid ""
941 "B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
942 "B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
943 "B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
944 msgstr ""
945 "B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
946 "B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
947 "B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n"
948
949 #. type: Plain text
950 #: debian-trixie
951 msgid ""
952 "B<mlock>() locks pages in the address range starting at I<addr> and "
953 "continuing for I<len> bytes. All pages that contain a part of the specified "
954 "address range are guaranteed to be resident in RAM when the call returns "
955 "successfully; the pages are guaranteed to stay in RAM until later unlocked."
956 msgstr ""
957 "B<mlock>() يقفل الصفحات في نطاق العناوين الذي يبدأ من I<addr> ويستمر لـ "
958 "I<len> بايت. جميع الصفحات التي تحتوي على جزء من نطاق العناوين المحدد مضمونة "
959 "أن تكون مقيمة في RAM عند عودة الاستدعاء بنجاح؛ الصفحات مضمونة أن تبقى في RAM "
960 "حتى يُلغى قفلها لاحقًا."
961
962 #. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e
963 #. commit de60f5f10c58d4f34b68622442c0e04180367f3f
964 #. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1
965 #. type: Plain text
966 #: debian-trixie
967 msgid ""
968 "B<mlock2>() also locks pages in the specified range starting at I<addr> and "
969 "continuing for I<len> bytes. However, the state of the pages contained in "
970 "that range after the call returns successfully will depend on the value in "
971 "the I<flags> argument."
972 msgstr ""
973 "B<mlock2>() يقفل أيضًا الصفحات في النطاق المحدد الذي يبدأ من I<addr> ويستمر "
974 "لـ I<len> بايت. ومع ذلك، فإن حالة الصفحات الموجودة في ذلك النطاق بعد عودة "
975 "الاستدعاء بنجاح ستعتمد على القيمة في وسيط I<flags>."
976
977 #. type: Plain text
978 #: debian-trixie
979 msgid ""
980 "B<munlock>() unlocks pages in the address range starting at I<addr> and "
981 "continuing for I<len> bytes. After this call, all pages that contain a part "
982 "of the specified memory range can be moved to external swap space again by "
983 "the kernel."
984 msgstr ""
985 "B<munlock>() يلغي قفل الصفحات في نطاق العناوين الذي يبدأ من I<addr> ويستمر "
986 "لـ I<len> بايت. بعد هذا الاستدعاء، يمكن للنواة نقل جميع الصفحات التي تحتوي "
987 "على جزء من نطاق الذاكرة المحدد إلى مساحة المبادلة الخارجية مرة أخرى."
988
989 #. type: Plain text
990 #: debian-trixie
991 msgid ""
992 "(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition "
993 "I<addr>+I<len> was less than I<addr> (e.g., the addition may have resulted "
994 "in an overflow)."
995 msgstr ""
996 "(B<mlock>()، B<mlock2>()، و B<munlock>()) كانت نتيجة الجمع I<addr>+I<len> "
997 "أقل من I<addr> (على سبيل المثال، قد يكون الجمع قد نتج عنه تجاوز)."
998
999 #. type: Plain text
1000 #: debian-trixie fedora-44 fedora-rawhide
1001 msgid "POSIX.1-2008."
1002 msgstr "POSIX.1-2008."
1003
1004 #. type: Plain text
1005 #: debian-trixie fedora-44 fedora-rawhide
1006 msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
1007 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
1008
1009 #. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8
1010 #. type: Plain text
1011 #: debian-trixie
1012 msgid ""
1013 "In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory "
1014 "for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if "
1015 "the region specified by I<addr> and I<len> overlapped an existing lock, then "
1016 "the already locked bytes in the overlapping region were counted twice when "
1017 "checking against the limit. Such double accounting could incorrectly "
1018 "calculate a \"total locked memory\" value for the process that exceeded the "
1019 "B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() "
1020 "would fail on requests that should have succeeded. This bug was fixed in "
1021 "Linux 4.9."
1022 msgstr ""
1023 "في لينكس 4.8 وما قبله، تسبب خطأ في محاسبة النواة للذاكرة المقفلة للعمليات "
1024 "غير المميزة (أي، بدون B<CAP_IPC_LOCK>) في أنه إذا تداخلت المنطقة المحددة "
1025 "بواسطة I<addr> و I<len> مع قفل موجود، فإن البايتات المقفلة بالفعل في المنطقة "
1026 "المتداخلة كانت تُحسب مرتين عند التحقق من الحد. يمكن أن يؤدي هذا الحساب "
1027 "المزدوج إلى حساب غير صحيح لقيمة \"الذاكرة المقفلة الإجمالية\" للعملية التي "
1028 "تجاوزت حد B<RLIMIT_MEMLOCK>، مما يؤدي إلى فشل B<mlock>() و B<mlock2>() في "
1029 "الطلبات التي كان يجب أن تنجح. أُصلح هذا الخطأ في لينكس 4.9."
1030
1031 #. type: TH
1032 #: fedora-44 fedora-rawhide
1033 #, no-wrap
1034 msgid "2024-11-17"
1035 msgstr "17 نوفمبر 2024"
1036
1037 #. type: TH
1038 #: fedora-44 fedora-rawhide
1039 #, no-wrap
1040 msgid "Linux man-pages 6.13"
1041 msgstr "صفحات دليل لينكس 6.13"
1042
1043 #. type: Plain text
1044 #: fedora-44 fedora-rawhide
1045 #, no-wrap
1046 msgid ""
1047 "B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1048 "B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
1049 "B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1050 msgstr ""
1051 "B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1052 "B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
1053 "B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n"
1054
1055 #. type: TH
1056 #: mageia-cauldron
1057 #, no-wrap
1058 msgid "Linux man-pages 6.17"
1059 msgstr "صفحات دليل لينكس 6.17"
1060
1061 #. type: TH
1062 #: opensuse-leap-16-1 opensuse-tumbleweed
1063 #, no-wrap
1064 msgid "Linux man-pages (unreleased)"
1065 msgstr "صفحات دليل لينكس (لم تصدر بعد)"