Debian Codegraph @

po/ar/man2/getrlimit.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:35+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 "getrlimit"
25 msgstr "getrlimit"
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 "getrlimit, setrlimit, prlimit - get/set resource limits"
51 msgstr "getrlimit, setrlimit, prlimit - الحصول/تعيين حدود الموارد"
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/resource.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/resource.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getrlimit(int >I<resource>B<, struct rlimit *>I<rlim>B<);>\n"
86 "B<int setrlimit(int >I<resource>B<, const struct rlimit *>I<rlim>B<);>\n"
87 msgstr ""
88 "B<int getrlimit(int >I<resource>B<, struct rlimit *>I<rlim>B<);>\n"
89 "B<int setrlimit(int >I<resource>B<, const struct rlimit *>I<rlim>B<);>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid ""
96 "B<int prlimit(pid_t >I<pid>B<, int >I<resource>B<,>\n"
97 "B< const struct rlimit *_Nullable >I<new_limit>B<,>\n"
98 "B< struct rlimit *_Nullable >I<old_limit>B<);>\n"
99 msgstr ""
100 "B<int prlimit(pid_t >I<pid>B<, int >I<resource>B<,>\n"
101 "B< const struct rlimit *_Nullable >I<new_limit>B<,>\n"
102 "B< struct rlimit *_Nullable >I<old_limit>B<);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid ""
109 "B<struct rlimit {>\n"
110 "B< rlim_t rlim_cur;> /* Soft limit */\n"
111 "B< rlim_t rlim_max;> /* Hard limit (ceiling for rlim_cur) */\n"
112 "B<};>\n"
113 msgstr ""
114 "B<struct rlimit {>\n"
115 "B< rlim_t rlim_cur;> /* الحد الناعم */\n"
116 "B< rlim_t rlim_max;> /* الحد الصلب (سقف لـ rlim_cur) */\n"
117 "B<};>\n"
118
119 #. type: Plain text
120 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
121 #: opensuse-tumbleweed
122 #, no-wrap
123 msgid "B<typedef> /* ...\\& */ B<rlim_t;> /* Unsigned integer type */\n"
124 msgstr "B<typedef> /* ...\\& */ B<rlim_t;> /* Unsigned integer type */\n"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
131 msgstr ""
132 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid "B<prlimit>():"
138 msgstr "B<prlimit>():"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid " _GNU_SOURCE\n"
145 msgstr " _GNU_SOURCE\n"
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "DESCRIPTION"
152 msgstr "الوصف"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The B<getrlimit>() and B<setrlimit>() system calls get and set resource "
159 "limits. Each resource has an associated soft and hard limit, as defined by "
160 "the I<rlimit> structure."
161 msgstr ""
162 "استدعاءات النظام B<getrlimit>() و B<setrlimit>() تحصل وتضبط حدود الموارد. كل "
163 "مورد له حد ناعم وصلب مرتبط به، كما هو معرف بهيكل I<rlimit>."
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The soft limit is the value that the kernel enforces for the corresponding "
170 "resource. The hard limit acts as a ceiling for the soft limit: an "
171 "unprivileged process may set only its soft limit to a value in the range "
172 "from 0 up to the hard limit, and (irreversibly) lower its hard limit. A "
173 "privileged process (under Linux: one with the B<CAP_SYS_RESOURCE> capability "
174 "in the initial user namespace) may make arbitrary changes to either limit "
175 "value."
176 msgstr ""
177 "الحد الناعم هو القيمة التي يفرضها النواة للمورد المقابل. الحد الصلب يعمل "
178 "كسقف للحد الناعم: عملية غير مميزة يمكنها فقط ضبط حدها الناعم إلى قيمة في "
179 "النطاق من 0 حتى الحد الصلب، وخفض حدها الصلب (بشكل لا رجعة فيه). عملية مميزة "
180 "(تحت لينكس: تلك التي تملك قدرة B<CAP_SYS_RESOURCE> في مساحة المستخدم "
181 "الأولية) يمكنها إجراء تغييرات عشوائية على أي من قيمتي الحد."
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The value B<RLIM_INFINITY> denotes no limit on a resource (both in the "
188 "structure returned by B<getrlimit>() and in the structure passed to "
189 "B<setrlimit>())."
190 msgstr ""
191 "القيمة B<RLIM_INFINITY> تشير إلى عدم وجود حد على مورد (سواء في الهيكل الذي "
192 "يعيده B<getrlimit>() أو في الهيكل الذي يمرر إلى B<setrlimit>())."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "The I<resource> argument must be one of:"
198 msgstr "وسيطة I<resource> يجب أن تكون واحدة من:"
199
200 #. type: TP
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "B<RLIMIT_AS>"
205 msgstr "B<RLIMIT_AS>"
206
207 #. since Linux 2.0.27 / Linux 2.1.12
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "This is the maximum size of the process's virtual memory (address space). "
213 "The limit is specified in bytes, and is rounded down to the system page "
214 "size. This limit affects calls to B<brk>(2), B<mmap>(2), and B<mremap>(2), "
215 "which fail with the error B<ENOMEM> upon exceeding this limit. In addition, "
216 "automatic stack expansion fails (and generates a B<SIGSEGV> that kills the "
217 "process if no alternate stack has been made available via "
218 "B<sigaltstack>(2)). Since the value is a I<long>, on machines with a 32-bit "
219 "I<long> either this limit is at most 2\\ GiB, or this resource is unlimited."
220 msgstr ""
221 "هذا هو الحجم الأقصى للذاكرة الافتراضية للعملية (مساحة العناوين). الحد محدد "
222 "بالبايتات، ويتم تقريبه لأسفل إلى حجم صفحة النظام. هذا الحد يؤثر على "
223 "استدعاءات B<brk>(2)، B<mmap>(2)، و B<mremap>(2)، التي تفشل مع الخطأ "
224 "B<ENOMEM> عند تجاوز هذا الحد. بالإضافة إلى ذلك، فشل التوسع التلقائي للمكدس "
225 "(ويولد B<SIGSEGV> الذي يقتل العملية إذا لم يتم توفير مكدس بديل عبر "
226 "B<sigaltstack>(2)). نظرًا لأن القيمة من نوع I<long>، على الأجهزة ذات I<long> "
227 "32 بت، إما أن هذا الحد هو على الأكثر 2\\ جيبي بايت، أو أن هذا المورد غير "
228 "محدود."
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<RLIMIT_CORE>"
235 msgstr "B<RLIMIT_CORE>"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "This is the maximum size of a I<core> file (see B<core>(5)) in bytes that "
242 "the process may dump. When 0 no core dump files are created. When nonzero, "
243 "larger dumps are truncated to this size."
244 msgstr ""
245 "هذا هو الحجم الأقصى لملف I<core> (انظر B<core>(5)) بالبايتات الذي يمكن "
246 "للعملية تفريغه. عندما يكون 0، لا يتم إنشاء ملفات تفريغ أساسية. عندما يكون "
247 "غير صفري، يتم اقتطاع التفريغات الأكبر إلى هذا الحجم."
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<RLIMIT_CPU>"
254 msgstr "B<RLIMIT_CPU>"
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 "This is a limit, in seconds, on the amount of CPU time that the process can "
261 "consume. When the process reaches the soft limit, it is sent a B<SIGXCPU> "
262 "signal. The default action for this signal is to terminate the process. "
263 "However, the signal can be caught, and the handler can return control to the "
264 "main program. If the process continues to consume CPU time, it will be sent "
265 "B<SIGXCPU> once per second until the hard limit is reached, at which time it "
266 "is sent B<SIGKILL>. (This latter point describes Linux behavior. "
267 "Implementations vary in how they treat processes which continue to consume "
268 "CPU time after reaching the soft limit. Portable applications that need to "
269 "catch this signal should perform an orderly termination upon first receipt "
270 "of B<SIGXCPU>.)"
271 msgstr ""
272 "هذا هو حد، بالثواني، على مقدار وقت وحدة المعالجة المركزية الذي يمكن للعملية "
273 "استهلاكه. عندما تصل العملية إلى الحد الناعم، يتم إرسال إشارة B<SIGXCPU> "
274 "إليها. الإجراء المبدئي لهذه الإشارة هو إنهاء العملية. ومع ذلك، يمكن التقاط "
275 "الإشارة، ويمكن للمعالج إعادة التحكم إلى البرنامج الرئيسي. إذا استمرت العملية "
276 "في استهلاك وقت وحدة المعالجة المركزية، سيتم إرسال B<SIGXCPU> مرة واحدة في "
277 "الثانية حتى يتم الوصول إلى الحد الصلب، وعندها يتم إرسال B<SIGKILL>. (هذه "
278 "النقطة الأخيرة تصف سلوك لينكس. تختلف التطبيقات في كيفية معالجتها للعمليات "
279 "التي تستمر في استهلاك وقت وحدة المعالجة المركزية بعد الوصول إلى الحد الناعم. "
280 "التطبيقات المحمولة التي تحتاج إلى التقاط هذه الإشارة يجب أن تقوم بإنهاء منظم "
281 "عند أول استقبال لـ B<SIGXCPU>.)"
282
283 #. type: TP
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "B<RLIMIT_DATA>"
288 msgstr "B<RLIMIT_DATA>"
289
290 #. commits 84638335900f1995495838fe1bd4870c43ec1f67
291 #. ("mm: rework virtual memory accounting"),
292 #. f4fcd55841fc9e46daac553b39361572453c2b88
293 #. (mm: enable RLIMIT_DATA by default with workaround for valgrind).
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "This is the maximum size of the process's data segment (initialized data, "
299 "uninitialized data, and heap). The limit is specified in bytes, and is "
300 "rounded down to the system page size. This limit affects calls to "
301 "B<brk>(2), B<sbrk>(2), and (since Linux 4.7) B<mmap>(2), which fail with "
302 "the error B<ENOMEM> upon encountering the soft limit of this resource."
303 msgstr ""
304 "هذا هو الحجم الأقصى لقطاع البيانات للعملية (البيانات المهيأة، البيانات غير "
305 "المهيأة، والكومة). الحد محدد بالبايتات، ويتم تقريبه لأسفل إلى حجم صفحة "
306 "النظام. هذا الحد يؤثر على استدعاءات B<brk>(2)، B<sbrk>(2)، و (منذ لينكس 4.7) "
307 "B<mmap>(2)، التي تفشل مع الخطأ B<ENOMEM> عند مواجهة الحد الناعم لهذا المورد."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<RLIMIT_FSIZE>"
314 msgstr "B<RLIMIT_FSIZE>"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "This is the maximum size in bytes of files that the process may create. "
321 "Attempts to extend a file beyond this limit result in delivery of a "
322 "B<SIGXFSZ> signal. By default, this signal terminates a process, but a "
323 "process can catch this signal instead, in which case the relevant system "
324 "call (e.g., B<write>(2), B<truncate>(2)) fails with the error B<EFBIG>."
325 msgstr ""
326 "هذا هو الحجم الأقصى بالبايتات للملفات التي يمكن للعملية إنشاؤها. محاولات "
327 "تمديد ملف يتجاوز هذا الحد تؤدي إلى تسليم إشارة B<SIGXFSZ>. بشكل مبدئي، هذه "
328 "الإشارة تنهي العملية، ولكن يمكن للعملية التقاط هذه الإشارة بدلاً من ذلك، وفي "
329 "هذه الحالة يفشل استدعاء النظام ذو الصلة (مثل B<write>(2)، B<truncate>(2)) مع "
330 "الخطأ B<EFBIG>."
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "B<RLIMIT_LOCKS> (Linux 2.4.0 to Linux 2.4.24)"
337 msgstr "B<RLIMIT_LOCKS> (لينكس 2.4.0 إلى لينكس 2.4.24)"
338
339 #. to be precise: Linux 2.4.0-test9; no longer in Linux 2.4.25 / Linux 2.5.65
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "This is a limit on the combined number of B<flock>(2) locks and "
345 "B<fcntl>(2) leases that this process may establish."
346 msgstr ""
347 "هذا هو حد على العدد المجمع لأقفال B<flock>(2) وعقود إيجار B<fcntl>(2) التي "
348 "يمكن لهذه العملية إنشاؤها."
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<RLIMIT_MEMLOCK>"
355 msgstr "B<RLIMIT_MEMLOCK>"
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 "This is the maximum number of bytes of memory that may be locked into RAM. "
362 "This limit is in effect rounded down to the nearest multiple of the system "
363 "page size. This limit affects B<mlock>(2), B<mlockall>(2), and the "
364 "B<mmap>(2) B<MAP_LOCKED> operation. Since Linux 2.6.9, it also affects the "
365 "B<shmctl>(2) B<SHM_LOCK> operation, where it sets a maximum on the total "
366 "bytes in shared memory segments (see B<shmget>(2)) that may be locked by "
367 "the real user ID of the calling process. The B<shmctl>(2) B<SHM_LOCK> "
368 "locks are accounted for separately from the per-process memory locks "
369 "established by B<mlock>(2), B<mlockall>(2), and B<mmap>(2) B<MAP_LOCKED>; a "
370 "process can lock bytes up to this limit in each of these two categories."
371 msgstr ""
372 "هذا هو الحد الأقصى لعدد بايتات الذاكرة التي يمكن قفلها في ذاكرة الوصول "
373 "العشوائي. هذا الحد يتم تقريبه لأسفل إلى أقرب مضاعف لحجم صفحة النظام. هذا "
374 "الحد يؤثر على B<mlock>(2)، B<mlockall>(2)، وعملية B<mmap>(2) B<MAP_LOCKED>. "
375 "منذ لينكس 2.6.9، يؤثر أيضًا على عملية B<shmctl>(2) B<SHM_LOCK>، حيث يضع حدًا "
376 "أقصى على إجمالي البايتات في قطاعات الذاكرة المشتركة (انظر B<shmget>(2)) التي "
377 "يمكن قفلها بواسطة معرف المستخدم الحقيقي للعملية المستدعية. أقفال "
378 "B<shmctl>(2) B<SHM_LOCK> تحسب بشكل منفصل عن أقفال الذاكرة لكل عملية التي تم "
379 "إنشاؤها بواسطة B<mlock>(2)، B<mlockall>(2)، و B<mmap>(2) B<MAP_LOCKED>؛ يمكن "
380 "للعملية قفل بايتات حتى هذا الحد في كل من هاتين الفئتين."
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 "Before Linux 2.6.9, this limit controlled the amount of memory that could be "
387 "locked by a privileged process. Since Linux 2.6.9, no limits are placed on "
388 "the amount of memory that a privileged process may lock, and this limit "
389 "instead governs the amount of memory that an unprivileged process may lock."
390 msgstr ""
391 "قبل لينكس 2.6.9، كان هذا الحد يتحكم في مقدار الذاكرة التي يمكن قفلها بواسطة "
392 "عملية مميزة. منذ لينكس 2.6.9، لا يتم وضع حدود على مقدار الذاكرة التي يمكن "
393 "لعملية مميزة قفلها، وبدلاً من ذلك يحكم هذا الحد مقدار الذاكرة التي يمكن "
394 "لعملية غير مميزة قفلها."
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<RLIMIT_MSGQUEUE> (since Linux 2.6.8)"
401 msgstr "B<RLIMIT_MSGQUEUE> (منذ لينكس 2.6.8)"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "This is a limit on the number of bytes that can be allocated for POSIX "
408 "message queues for the real user ID of the calling process. This limit is "
409 "enforced for B<mq_open>(3). Each message queue that the user creates counts "
410 "(until it is removed) against this limit according to the formula:"
411 msgstr ""
412 "هذا هو حد على عدد البايتات التي يمكن تخصيصها لقوائم رسائل POSIX لمعرف "
413 "المستخدم الحقيقي للعملية المستدعية. هذا الحد يتم فرضه لـ B<mq_open>(3). كل "
414 "قائمة رسائل ينشئها المستخدم تحسب (حتى يتم إزالتها) ضد هذا الحد وفقًا للصيغة:"
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 "Since Linux 3.5:"
420 msgstr "منذ لينكس 3.5:"
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 #, no-wrap
426 msgid ""
427 "bytes = attr.mq_maxmsg * sizeof(struct msg_msg) +\n"
428 " MIN(attr.mq_maxmsg, MQ_PRIO_MAX) *\n"
429 " sizeof(struct posix_msg_tree_node)+\n"
430 " /* For overhead */\n"
431 " attr.mq_maxmsg * attr.mq_msgsize;\n"
432 " /* For message data */\n"
433 msgstr ""
434 "bytes = attr.mq_maxmsg * sizeof(struct msg_msg) +\n"
435 " MIN(attr.mq_maxmsg, MQ_PRIO_MAX) *\n"
436 " sizeof(struct posix_msg_tree_node)+\n"
437 " /* للتحميل الإضافي */\n"
438 " attr.mq_maxmsg * attr.mq_msgsize;\n"
439 " /* لبيانات الرسالة */\n"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid "Linux 3.4 and earlier:"
445 msgstr "لينكس 3.4 وما قبله:"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid ""
452 "bytes = attr.mq_maxmsg * sizeof(struct msg_msg *) +\n"
453 " /* For overhead */\n"
454 " attr.mq_maxmsg * attr.mq_msgsize;\n"
455 " /* For message data */\n"
456 msgstr ""
457 "بايت = attr.mq_maxmsg * sizeof(struct msg_msg *) +\n"
458 " /* للتراكب */\n"
459 " attr.mq_maxmsg * attr.mq_msgsize;\n"
460 " /* لبيانات الرسالة */\n"
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "where I<attr> is the I<mq_attr> structure specified as the fourth argument "
467 "to B<mq_open>(3), and the I<msg_msg> and I<posix_msg_tree_node> structures "
468 "are kernel-internal structures."
469 msgstr ""
470 "حيث I<attr> هي بنية I<mq_attr> المحددة كوسيطة رابعة لـ B<mq_open>(3)، وبنيتا "
471 "I<msg_msg> و I<posix_msg_tree_node> هما بنيتان داخليتان للنواة."
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "The \"overhead\" addend in the formula accounts for overhead bytes required "
478 "by the implementation and ensures that the user cannot create an unlimited "
479 "number of zero-length messages (such messages nevertheless each consume some "
480 "system memory for bookkeeping overhead)."
481 msgstr ""
482 "المُضاف \"التراكب\" في الصيغة يحسب البايتات المطلوبة للتراكب من قبل التطبيق "
483 "ويضمن أن المستخدم لا يمكنه إنشاء عدد غير محدود من الرسائل ذات الطول الصفري "
484 "(مثل هذه الرسائل تستهلك مع ذلك بعض ذاكرة النظام لتراكب المحاسبة)."
485
486 #. type: TP
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "B<RLIMIT_NICE> (since Linux 2.6.12, but see BUGS below)"
491 msgstr "B<RLIMIT_NICE> (منذ لينكس 2.6.12، لكن انظر الأخطاء أدناه)"
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid ""
497 "This specifies a ceiling to which the process's nice value can be raised "
498 "using B<setpriority>(2) or B<nice>(2). The actual ceiling for the nice "
499 "value is calculated as I<20\\ -\\ rlim_cur>. The useful range for this "
500 "limit is thus from 1 (corresponding to a nice value of 19) to 40 "
501 "(corresponding to a nice value of -20). This unusual choice of range was "
502 "necessary because negative numbers cannot be specified as resource limit "
503 "values, since they typically have special meanings. For example, "
504 "B<RLIM_INFINITY> typically is the same as -1. For more detail on the nice "
505 "value, see B<sched>(7)."
506 msgstr ""
507 "يحدد هذا سقفًا يمكن رفع قيمة nice للعملية إليه باستخدام B<setpriority>(2) أو "
508 "B<nice>(2). يُحسب السقف الفعلي لقيمة nice كـ I<20\\ -\\ rlim_cur>. وبالتالي "
509 "فإن النطاق المفيد لهذا الحد هو من 1 (المقابل لقيمة nice 19) إلى 40 (المقابل "
510 "لقيمة nice -20). كان هذا الاختيار غير المعتاد للنطاق ضروريًا لأن الأرقام "
511 "السالبة لا يمكن تحديدها كقيم حدود للموارد، حيث أن لها معاني خاصة عادةً. على "
512 "سبيل المثال، B<RLIM_INFINITY> عادةً ما يكون نفس -1. لمزيد من التفاصيل حول "
513 "قيمة nice، انظر B<sched>(7)."
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<RLIMIT_NOFILE>"
520 msgstr "B<RLIMIT_NOFILE>"
521
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 ""
526 "This specifies a value one greater than the maximum file descriptor number "
527 "that can be opened by this process. Attempts (B<open>(2), B<pipe>(2), "
528 "B<dup>(2), etc.) to exceed this limit yield the error B<EMFILE>. "
529 "(Historically, this limit was named B<RLIMIT_OFILE> on BSD.)"
530 msgstr ""
531 "يحدد هذا قيمة أكبر بواحد من الحد الأقصى لرقم واصف الملف الذي يمكن فتحه "
532 "بواسطة هذه العملية. المحاولات (B<open>(2)، B<pipe>(2)، B<dup>(2)، إلخ) "
533 "لتجاوز هذا الحد تؤدي إلى الخطأ B<EMFILE>. (تاريخيًا، كان هذا الحد يُسمى "
534 "B<RLIMIT_OFILE> على BSD.)"
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 msgid ""
540 "Since Linux 4.5, this limit also defines the maximum number of file "
541 "descriptors that an unprivileged process (one without the "
542 "B<CAP_SYS_RESOURCE> capability) may have \"in flight\" to other processes, "
543 "by being passed across UNIX domain sockets. This limit applies to the "
544 "B<sendmsg>(2) system call. For further details, see B<unix>(7)."
545 msgstr ""
546 "منذ لينكس 4.5، يحدد هذا الحد أيضًا الحد الأقصى لعدد واصفات الملفات التي يمكن "
547 "لعملية غير مميزة (بدون صلاحية B<CAP_SYS_RESOURCE>) أن يكون لديها \"قيد "
548 "الإرسال\" إلى عمليات أخرى، عن طريق تمريرها عبر مقابس نطاق UNIX. ينطبق هذا "
549 "الحد على استدعاء النظام B<sendmsg>(2). لمزيد من التفاصيل، انظر B<unix>(7)."
550
551 #. type: TP
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 #, no-wrap
555 msgid "B<RLIMIT_NPROC>"
556 msgstr "B<RLIMIT_NPROC>"
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 msgid ""
562 "This is a limit on the number of extant process (or, more precisely on "
563 "Linux, threads) for the real user ID of the calling process. So long as "
564 "the current number of processes belonging to this process's real user ID is "
565 "greater than or equal to this limit, B<fork>(2) fails with the error "
566 "B<EAGAIN>."
567 msgstr ""
568 "هذا حد على عدد العمليات الموجودة (أو، بشكل أدق على لينكس، الخيوط) لمعرف "
569 "المستخدم الحقيقي للعملية المستدعية. طالما أن العدد الحالي للعمليات التابعة "
570 "لمعرف المستخدم الحقيقي لهذه العملية أكبر من أو يساوي هذا الحد، يفشل "
571 "B<fork>(2) مع الخطأ B<EAGAIN>."
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "The B<RLIMIT_NPROC> limit is not enforced for processes that have either the "
578 "B<CAP_SYS_ADMIN> or the B<CAP_SYS_RESOURCE> capability, or run with real "
579 "user ID 0."
580 msgstr ""
581 "لا يُفرض حد B<RLIMIT_NPROC> على العمليات التي لديها صلاحية B<CAP_SYS_ADMIN> "
582 "أو B<CAP_SYS_RESOURCE>، أو تعمل بمعرف مستخدم حقيقي 0."
583
584 #. type: TP
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 #, no-wrap
588 msgid "B<RLIMIT_RSS>"
589 msgstr "B<RLIMIT_RSS>"
590
591 #. As at Linux 2.6.12, this limit still does nothing in Linux 2.6 though
592 #. talk of making it do something has surfaced from time to time in LKML
593 #. -- MTK, Jul 05
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "This is a limit (in bytes) on the process's resident set (the number of "
599 "virtual pages resident in RAM). This limit has effect only in Linux 2.4.x, "
600 "x E<lt> 30, and there affects only calls to B<madvise>(2) specifying "
601 "B<MADV_WILLNEED>."
602 msgstr ""
603 "هذا حد (بالبايت) على المجموعة المقيمة للعملية (عدد الصفحات الافتراضية "
604 "المقيمة في RAM). لهذا الحد تأثير فقط في لينكس 2.4.x، x E<lt> 30، ويؤثر هناك "
605 "فقط على استدعاءات B<madvise>(2) التي تحدد B<MADV_WILLNEED>."
606
607 #. type: TP
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "B<RLIMIT_RTPRIO> (since Linux 2.6.12, but see BUGS)"
612 msgstr "B<RLIMIT_RTPRIO> (منذ لينكس 2.6.12، لكن انظر الأخطاء)"
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid ""
618 "This specifies a ceiling on the real-time priority that may be set for this "
619 "process using B<sched_setscheduler>(2) and B<sched_setparam>(2)."
620 msgstr ""
621 "يحدد هذا سقفًا للأولوية الزمنية الحقيقية التي يمكن تعيينها لهذه العملية "
622 "باستخدام B<sched_setscheduler>(2) و B<sched_setparam>(2)."
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid "For further details on real-time scheduling policies, see B<sched>(7)"
628 msgstr ""
629 "لمزيد من التفاصيل حول سياسات الجدولة الزمنية الحقيقية، انظر B<sched>(7)"
630
631 #. type: TP
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "B<RLIMIT_RTTIME> (since Linux 2.6.25)"
636 msgstr "B<RLIMIT_RTTIME> (منذ لينكس 2.6.25)"
637
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 "This is a limit (in microseconds) on the amount of CPU time that a process "
643 "scheduled under a real-time scheduling policy may consume without making a "
644 "blocking system call. For the purpose of this limit, each time a process "
645 "makes a blocking system call, the count of its consumed CPU time is reset to "
646 "zero. The CPU time count is not reset if the process continues trying to "
647 "use the CPU but is preempted, its time slice expires, or it calls "
648 "B<sched_yield>(2)."
649 msgstr ""
650 "هذا حد (بالميكروثانية) على مقدار وقت وحدة المعالجة المركزية الذي يمكن لعملية "
651 "مجدولة تحت سياسة جدولة زمنية حقيقية استهلاكه دون إجراء استدعاء نظام حظر. "
652 "لغرض هذا الحد، في كل مرة تقوم فيها عملية باستدعاء نظام حظر، يُعاد تعيين عدد "
653 "وقت وحدة المعالجة المركزية المستهلك إلى الصفر. لا يُعاد تعيين عدد وقت وحدة "
654 "المعالجة المركزية إذا استمرت العملية في محاولة استخدام وحدة المعالجة "
655 "المركزية ولكن تم استباقها، أو انتهت شريحة وقتها، أو استدعت B<sched_yield>(2)."
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "Upon reaching the soft limit, the process is sent a B<SIGXCPU> signal. If "
662 "the process catches or ignores this signal and continues consuming CPU time, "
663 "then B<SIGXCPU> will be generated once each second until the hard limit is "
664 "reached, at which point the process is sent a B<SIGKILL> signal."
665 msgstr ""
666 "عند الوصول إلى الحد الناعم، تُرسل إشارة B<SIGXCPU> إلى العملية. إذا التقطت "
667 "العملية هذه الإشارة أو تجاهلتها واستمرت في استهلاك وقت وحدة المعالجة "
668 "المركزية، فسيتم توليد B<SIGXCPU> مرة كل ثانية حتى يتم الوصول إلى الحد الصلب، "
669 "وعندها تُرسل إشارة B<SIGKILL> إلى العملية."
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "The intended use of this limit is to stop a runaway real-time process from "
676 "locking up the system."
677 msgstr ""
678 "الاستخدام المقصود لهذا الحد هو إيقاف عملية زمنية حقيقية جامحة من تعطيل "
679 "النظام."
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<RLIMIT_SIGPENDING> (since Linux 2.6.8)"
686 msgstr "B<RLIMIT_SIGPENDING> (منذ لينكس 2.6.8)"
687
688 #. This replaces the /proc/sys/kernel/rtsig-max system-wide limit
689 #. that was present in Linux <= 2.6.7. MTK Dec 04
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "This is a limit on the number of signals that may be queued for the real "
695 "user ID of the calling process. Both standard and real-time signals are "
696 "counted for the purpose of checking this limit. However, the limit is "
697 "enforced only for B<sigqueue>(3); it is always possible to use B<kill>(2) "
698 "to queue one instance of any of the signals that are not already queued to "
699 "the process."
700 msgstr ""
701 "هذا حد على عدد الإشارات التي يمكن وضعها في قائمة الانتظار لمعرف المستخدم "
702 "الحقيقي للعملية المستدعية. تُحسب كل من الإشارات القياسية والزمنية الحقيقية "
703 "لغرض التحقق من هذا الحد. ومع ذلك، يُفرض الحد فقط لـ B<sigqueue>(3); من الممكن "
704 "دائمًا استخدام B<kill>(2) لوضع نسخة واحدة من أي من الإشارات غير الموجودة "
705 "بالفعل في قائمة انتظار العملية."
706
707 #. type: TP
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "B<RLIMIT_STACK>"
712 msgstr "B<RLIMIT_STACK>"
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid ""
718 "This is the maximum size of the process stack, in bytes. Upon reaching this "
719 "limit, a B<SIGSEGV> signal is generated. To handle this signal, a process "
720 "must employ an alternate signal stack (B<sigaltstack>(2))."
721 msgstr ""
722 "هذا هو الحد الأقصى لحجم مكدس العملية، بالبايت. عند الوصول إلى هذا الحد، يتم "
723 "توليد إشارة B<SIGSEGV>. لمعالجة هذه الإشارة، يجب على العملية استخدام مكدس "
724 "إشارات بديل (B<sigaltstack>(2))."
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 "Since Linux 2.6.23, this limit also determines the amount of space used for "
731 "the process's command-line arguments and environment variables; for details, "
732 "see B<execve>(2)."
733 msgstr ""
734 "منذ لينكس 2.6.23، يحدد هذا الحد أيضًا مقدار المساحة المستخدمة لوسائط سطر "
735 "الأوامر ومتغيرات البيئة للعملية؛ للتفاصيل، انظر B<execve>(2)."
736
737 #. type: SS
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 #, no-wrap
741 msgid "prlimit()"
742 msgstr "prlimit()"
743
744 #. commit c022a0acad534fd5f5d5f17280f6d4d135e74e81
745 #. Author: Jiri Slaby <[email protected]>
746 #. Date: Tue May 4 18:03:50 2010 +0200
747 #. rlimits: implement prlimit64 syscall
748 #. commit 6a1d5e2c85d06da35cdfd93f1a27675bfdc3ad8c
749 #. Author: Jiri Slaby <[email protected]>
750 #. Date: Wed Mar 24 17:06:58 2010 +0100
751 #. rlimits: add rlimit64 structure
752 #. type: Plain text
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 msgid ""
756 "The Linux-specific B<prlimit>() system call combines and extends the "
757 "functionality of B<setrlimit>() and B<getrlimit>(). It can be used to both "
758 "set and get the resource limits of an arbitrary process."
759 msgstr ""
760 "استدعاء النظام الخاص بلينكس B<prlimit>() يجمع ويوسع وظائف B<setrlimit>() و "
761 "B<getrlimit>(). يمكن استخدامه لتعيين وجلب حدود الموارد لعملية عشوائية."
762
763 #. type: Plain text
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 msgid ""
767 "The I<resource> argument has the same meaning as for B<setrlimit>() and "
768 "B<getrlimit>()."
769 msgstr ""
770 "الوسيطة I<resource> لها نفس المعنى كما في B<setrlimit>() و B<getrlimit>()."
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "If the I<new_limit> argument is not NULL, then the I<rlimit> structure to "
777 "which it points is used to set new values for the soft and hard limits for "
778 "I<resource>. If the I<old_limit> argument is not NULL, then a successful "
779 "call to B<prlimit>() places the previous soft and hard limits for "
780 "I<resource> in the I<rlimit> structure pointed to by I<old_limit>."
781 msgstr ""
782 "إذا كانت الوسيطة I<new_limit> ليست NULL، فسيتم استخدام بنية I<rlimit> التي "
783 "تشير إليها لتعيين قيم جديدة للحدود الناعمة والصلبة لـ I<resource>. إذا كانت "
784 "الوسيطة I<old_limit> ليست NULL، فإن استدعاءًا ناجحًا لـ B<prlimit>() يضع "
785 "الحدود الناعمة والصلبة السابقة لـ I<resource> في بنية I<rlimit> المشار إليها "
786 "بواسطة I<old_limit>."
787
788 #. FIXME . this permission check is strange
789 #. Asked about this on LKML, 7 Nov 2010
790 #. "Inconsistent credential checking in prlimit() syscall"
791 #. type: Plain text
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 msgid ""
795 "The I<pid> argument specifies the ID of the process on which the call is to "
796 "operate. If I<pid> is 0, then the call applies to the calling process. To "
797 "set or get the resources of a process other than itself, the caller must "
798 "have the B<CAP_SYS_RESOURCE> capability in the user namespace of the process "
799 "whose resource limits are being changed, or the real, effective, and saved "
800 "set user IDs of the target process must match the real user ID of the caller "
801 "I<and> the real, effective, and saved set group IDs of the target process "
802 "must match the real group ID of the caller."
803 msgstr ""
804 "الوسيطة I<pid> تحدد معرف العملية التي سيعمل عليها الاستدعاء. إذا كان I<pid> "
805 "هو 0، فإن الاستدعاء ينطبق على العملية المستدعية. لتعيين أو جلب موارد عملية "
806 "غير نفسها، يجب أن يكون لدى المستدعي صلاحية B<CAP_SYS_RESOURCE> في مساحة اسم "
807 "المستخدم للعملية التي يتم تغيير حدود مواردها، أو يجب أن تتطابق معرفات "
808 "المستخدم الحقيقية والفعالة والمحفوظة للعملية الهدف مع معرف المستخدم الحقيقي "
809 "للمستدعي I<و> يجب أن تتطابق معرفات المجموعة الحقيقية والفعالة والمحفوظة "
810 "للعملية الهدف مع معرف المجموعة الحقيقي للمستدعي."
811
812 #. type: SH
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid "RETURN VALUE"
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 "On success, these system calls return 0. On error, -1 is returned, and "
824 "I<errno> is set to indicate the error."
825 msgstr ""
826 "عند النجاح، تُرجع استدعاءات النظام هذه 0. عند الخطأ، يُرجع -1، ويتم تعيين "
827 "I<errno> للإشارة إلى الخطأ."
828
829 #. type: SH
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 #, no-wrap
833 msgid "ERRORS"
834 msgstr "الأخطاء"
835
836 #. type: TP
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 #, no-wrap
840 msgid "B<EFAULT>"
841 msgstr "B<EFAULT>"
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "A pointer argument points to a location outside the accessible address space."
848 msgstr "وسيطة مؤشر تشير إلى موقع خارج مساحة العنوان القابلة للوصول."
849
850 #. type: TP
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "B<EINVAL>"
855 msgstr "B<EINVAL>"
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "The value specified in I<resource> is not valid; or, for B<setrlimit>() or "
862 "B<prlimit>(): I<rlim-E<gt>rlim_cur> was greater than I<rlim-E<gt>rlim_max>."
863 msgstr ""
864 "القيمة المحددة في I<resource> غير صالحة؛ أو، بالنسبة لـ B<setrlimit>() أو "
865 "B<prlimit>(): كانت I<rlim-E<gt>rlim_cur> أكبر من I<rlim-E<gt>rlim_max>."
866
867 #. type: TP
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 #, no-wrap
871 msgid "B<EPERM>"
872 msgstr "B<EPERM>"
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 msgid ""
878 "An unprivileged process tried to raise the hard limit; the "
879 "B<CAP_SYS_RESOURCE> capability is required to do this."
880 msgstr ""
881 "حاولت عملية غير مميزة رفع الحد الصلب؛ القدرة B<CAP_SYS_RESOURCE> مطلوبة لفعل "
882 "ذلك."
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid ""
888 "The caller tried to increase the hard B<RLIMIT_NOFILE> limit above the "
889 "maximum defined by I</proc/sys/fs/nr_open> (see B<proc>(5))"
890 msgstr ""
891 "حاول المستدعي زيادة الحد الصلب B<RLIMIT_NOFILE> فوق الحد الأقصى المعرف "
892 "بواسطة I</proc/sys/fs/nr_open> (انظر B<proc>(5))"
893
894 #. type: Plain text
895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
897 msgid ""
898 "(B<prlimit>()) The calling process did not have permission to set limits "
899 "for the process specified by I<pid>."
900 msgstr ""
901 "(B<prlimit>()) لم تملك العملية المستدعية الإذن لتعيين الحدود للعملية "
902 "المحددة بواسطة I<pid>."
903
904 #. type: TP
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 #, no-wrap
908 msgid "B<ESRCH>"
909 msgstr "B<ESRCH>"
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid "Could not find a process with the ID specified in I<pid>."
915 msgstr "تعذر العثور على عملية بالمعرف المحدد في I<pid>."
916
917 #. type: SH
918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
920 #, no-wrap
921 msgid "ATTRIBUTES"
922 msgstr "السمات"
923
924 #. type: Plain text
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 msgid ""
928 "For an explanation of the terms used in this section, see B<attributes>(7)."
929 msgstr ""
930 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
931
932 #. type: tbl table
933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
935 #, no-wrap
936 msgid "Interface"
937 msgstr "الواجهة"
938
939 #. type: tbl table
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 #, no-wrap
943 msgid "Attribute"
944 msgstr "السمة"
945
946 #. type: tbl table
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 #, no-wrap
950 msgid "Value"
951 msgstr "القيمة"
952
953 #. type: tbl table
954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
956 #, no-wrap
957 msgid ".na\n"
958 msgstr ".na\n"
959
960 #. type: tbl table
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 #, no-wrap
964 msgid ".nh\n"
965 msgstr ".nh\n"
966
967 #. type: tbl table
968 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
969 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
970 #, no-wrap
971 msgid ""
972 "B<getrlimit>(),\n"
973 "B<setrlimit>(),\n"
974 "B<prlimit>()"
975 msgstr ""
976 "B<getrlimit>(),\n"
977 "B<setrlimit>(),\n"
978 "B<prlimit>()"
979
980 #. type: tbl table
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "Thread safety"
985 msgstr "سلامة الخيوط"
986
987 #. type: tbl table
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, no-wrap
991 msgid "MT-Safe"
992 msgstr "MT-Safe"
993
994 #. type: SH
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 #, no-wrap
998 msgid "STANDARDS"
999 msgstr "المعايير"
1000
1001 #. type: TP
1002 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1003 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1004 #, no-wrap
1005 msgid "B<getrlimit>()"
1006 msgstr "B<getrlimit>()"
1007
1008 #. type: TQ
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 #, no-wrap
1012 msgid "B<setrlimit>()"
1013 msgstr "B<setrlimit>()"
1014
1015 #. type: Plain text
1016 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1017 #: opensuse-tumbleweed
1018 msgid "POSIX.1-2024."
1019 msgstr "POSIX.1-2024."
1020
1021 #. type: TP
1022 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1023 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1024 #, no-wrap
1025 msgid "B<prlimit>()"
1026 msgstr "B<prlimit>()"
1027
1028 #. type: Plain text
1029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1030 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1031 msgid "Linux."
1032 msgstr "لينكس."
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 msgid ""
1038 "B<RLIMIT_MEMLOCK> and B<RLIMIT_NPROC> derive from BSD and are not specified "
1039 "in POSIX.1; they are present on the BSDs and Linux, but on few other "
1040 "implementations. B<RLIMIT_RSS> derives from BSD and is not specified in "
1041 "POSIX.1; it is nevertheless present on most implementations. B<\\"
1042 "%RLIMIT_MSGQUEUE>, B<RLIMIT_NICE>, B<RLIMIT_RTPRIO>, B<RLIMIT_RTTIME>, and "
1043 "B<\\%RLIMIT_SIGPENDING> are Linux-specific."
1044 msgstr ""
1045 "B<RLIMIT_MEMLOCK> و B<RLIMIT_NPROC> مشتقان من BSD وغير محددين في POSIX.1؛ "
1046 "هما موجودان على أنظمة BSD ولينكس، ولكن على عدد قليل من التطبيقات الأخرى. "
1047 "B<RLIMIT_RSS> مشتق من BSD وغير محدد في POSIX.1؛ ومع ذلك فهو موجود على معظم "
1048 "التطبيقات. B<\\%RLIMIT_MSGQUEUE>، B<RLIMIT_NICE>، B<RLIMIT_RTPRIO>، "
1049 "B<RLIMIT_RTTIME>، و B<\\%RLIMIT_SIGPENDING> خاصة بلينكس."
1050
1051 #. type: SH
1052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1054 #, no-wrap
1055 msgid "HISTORY"
1056 msgstr "التاريخ"
1057
1058 #. type: Plain text
1059 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1060 #: opensuse-tumbleweed
1061 msgid "4.3BSD, SVr4, SUSv1, POSIX.1-2001 XSI, POSIX.1-2024."
1062 msgstr "4.3BSD، SVr4، SUSv1، POSIX.1-2001 XSI، POSIX.1-2024."
1063
1064 #. type: Plain text
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 msgid "Linux 2.6.36, glibc 2.13."
1068 msgstr "لينكس 2.6.36، glibc 2.13."
1069
1070 #. type: SH
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 #, no-wrap
1074 msgid "NOTES"
1075 msgstr "ملاحظات"
1076
1077 #. type: Plain text
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1080 msgid ""
1081 "A child process created via B<fork>(2) inherits its parent's resource "
1082 "limits. Resource limits are preserved across B<execve>(2)."
1083 msgstr ""
1084 "عملية ابنة منشأة عبر B<fork>(2) ترث حدود موارد والديها. حدود الموارد محفوظة "
1085 "عبر B<execve>(2)."
1086
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 msgid ""
1091 "Resource limits are per-process attributes that are shared by all of the "
1092 "threads in a process."
1093 msgstr "حدود الموارد هي سمات لكل عملية مشتركة بين جميع الخيوط في العملية."
1094
1095 #. type: Plain text
1096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1098 msgid ""
1099 "Lowering the soft limit for a resource below the process's current "
1100 "consumption of that resource will succeed (but will prevent the process from "
1101 "further increasing its consumption of the resource)."
1102 msgstr ""
1103 "خفض الحد الناعم لمورد تحت الاستهلاك الحالي للعملية لذلك المورد سينجح (ولكن "
1104 "سيمنع العملية من زيادة استهلاكها للمورد أكثر)."
1105
1106 #. type: Plain text
1107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1109 msgid ""
1110 "One can set the resource limits of the shell using the built-in I<ulimit> "
1111 "command (I<limit> in B<csh>(1)). The shell's resource limits are inherited "
1112 "by the processes that it creates to execute commands."
1113 msgstr ""
1114 "يمكن للمرء تعيين حدود موارد الصدفة باستخدام الأمر المدمج I<ulimit> (I<limit> "
1115 "في B<csh>(1)). حدود موارد الصدفة موروثة من قبل العمليات التي تنشئها لتنفيذ "
1116 "الأوامر."
1117
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid ""
1122 "Since Linux 2.6.24, the resource limits of any process can be inspected via "
1123 "I</proc/>pidI</limits>; see B<proc>(5)."
1124 msgstr ""
1125 "منذ لينكس 2.6.24، يمكن فحص حدود موارد أي عملية عبر I</proc/>pidI</limits>؛ "
1126 "انظر B<proc>(5)."
1127
1128 #. type: Plain text
1129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1131 msgid ""
1132 "Ancient systems provided a B<vlimit>() function with a similar purpose to "
1133 "B<setrlimit>(). For backward compatibility, glibc also provides "
1134 "B<vlimit>(). All new applications should be written using B<setrlimit>()."
1135 msgstr ""
1136 "قدمت الأنظمة القديمة دالة B<vlimit>() بغرض مشابه لـ B<setrlimit>(). للتوافق "
1137 "مع الإصدارات السابقة، يوفر glibc أيضًا B<vlimit>(). يجب كتابة جميع التطبيقات "
1138 "الجديدة باستخدام B<setrlimit>()."
1139
1140 #. type: SS
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 #, no-wrap
1144 msgid "C library/kernel ABI differences"
1145 msgstr "اختلافات ABI بين مكتبة C والنواة"
1146
1147 #. type: Plain text
1148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1150 msgid ""
1151 "Since glibc 2.13, the glibc B<getrlimit>() and B<setrlimit>() wrapper "
1152 "functions no longer invoke the corresponding system calls, but instead "
1153 "employ B<prlimit>(), for the reasons described in BUGS."
1154 msgstr ""
1155 "منذ glibc 2.13، لم تعد دالتا الغلاف B<getrlimit>() و B<setrlimit>() في glibc "
1156 "تستدعيان استدعاءات النظام المقابلة، بل تستخدمان B<prlimit>() بدلاً من ذلك، "
1157 "للأسباب الموصوفة في BUGS."
1158
1159 #. type: Plain text
1160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1162 msgid ""
1163 "The name of the glibc wrapper function is B<prlimit>(); the underlying "
1164 "system call is B<prlimit64>()."
1165 msgstr ""
1166 "اسم دالة الغلاف في glibc هو B<prlimit>()؛ استدعاء النظام الأساسي هو "
1167 "B<prlimit64>()."
1168
1169 #. type: SH
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 #, no-wrap
1173 msgid "BUGS"
1174 msgstr "العلل"
1175
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid ""
1180 "In older Linux kernels, the B<SIGXCPU> and B<SIGKILL> signals delivered when "
1181 "a process encountered the soft and hard B<RLIMIT_CPU> limits were delivered "
1182 "one (CPU) second later than they should have been. This was fixed in Linux "
1183 "2.6.8."
1184 msgstr ""
1185 "في أنوية لينكس الأقدم، كانت الإشارات B<SIGXCPU> و B<SIGKILL> التي تُسلم عندما "
1186 "تواجه عملية الحدين الناعم والصلب B<RLIMIT_CPU> تُسلم بعد ثانية (وحدة معالجة "
1187 "مركزية) واحدة مما ينبغي. تم إصلاح هذا في لينكس 2.6.8."
1188
1189 #. see http://marc.theaimsgroup.com/?l=linux-kernel&m=114008066530167&w=2
1190 #. type: Plain text
1191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1193 msgid ""
1194 "In Linux 2.6.x kernels before Linux 2.6.17, a B<RLIMIT_CPU> limit of 0 is "
1195 "wrongly treated as \"no limit\" (like B<RLIM_INFINITY>). Since Linux "
1196 "2.6.17, setting a limit of 0 does have an effect, but is actually treated as "
1197 "a limit of 1 second."
1198 msgstr ""
1199 "في أنوية لينكس 2.6.x قبل لينكس 2.6.17، يُعامل حد B<RLIMIT_CPU> بقيمة 0 بشكل "
1200 "خاطئ على أنه \"بدون حد\" (مثل B<RLIM_INFINITY>). منذ لينكس 2.6.17، تعيين حد "
1201 "بقيمة 0 له تأثير، ولكن يُعامل فعليًا كحد قدره ثانية واحدة."
1202
1203 #. See https://lwn.net/Articles/145008/
1204 #. type: Plain text
1205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1207 msgid ""
1208 "A kernel bug means that B<RLIMIT_RTPRIO> does not work in Linux 2.6.12; the "
1209 "problem is fixed in Linux 2.6.13."
1210 msgstr ""
1211 "خلل في النواة يعني أن B<RLIMIT_RTPRIO> لا يعمل في لينكس 2.6.12؛ المشكلة "
1212 "مُصلحة في لينكس 2.6.13."
1213
1214 #. see http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
1215 #. type: Plain text
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 msgid ""
1219 "In Linux 2.6.12, there was an off-by-one mismatch between the priority "
1220 "ranges returned by B<getpriority>(2) and B<RLIMIT_NICE>. This had the "
1221 "effect that the actual ceiling for the nice value was calculated as I<19\\ -"
1222 "\\ rlim_cur>. This was fixed in Linux 2.6.13."
1223 msgstr ""
1224 "في لينكس 2.6.12، كان هناك عدم تطابق بفارق واحد بين نطاقات الأولوية التي "
1225 "تُرجعها B<getpriority>(2) و B<RLIMIT_NICE>. كان لهذا تأثير أن السقف الفعلي "
1226 "لقيمة nice يُحسب كـ I<19\\ -\\ rlim_cur>. تم إصلاح هذا في لينكس 2.6.13."
1227
1228 #. The relevant patch, sent to LKML, seems to be
1229 #. http://thread.gmane.org/gmane.linux.kernel/273462
1230 #. From: Roland McGrath <roland <at> redhat.com>
1231 #. Subject: [PATCH 7/7] make RLIMIT_CPU/SIGXCPU per-process
1232 #. Date: 2005-01-23 23:27:46 GMT
1233 #. Tested Solaris 10, FreeBSD 9, OpenBSD 5.0
1234 #. FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=50951
1235 #. type: Plain text
1236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1238 msgid ""
1239 "Since Linux 2.6.12, if a process reaches its soft B<RLIMIT_CPU> limit and "
1240 "has a handler installed for B<SIGXCPU>, then, in addition to invoking the "
1241 "signal handler, the kernel increases the soft limit by one second. This "
1242 "behavior repeats if the process continues to consume CPU time, until the "
1243 "hard limit is reached, at which point the process is killed. Other "
1244 "implementations do not change the B<RLIMIT_CPU> soft limit in this manner, "
1245 "and the Linux behavior is probably not standards conformant; portable "
1246 "applications should avoid relying on this Linux-specific behavior. The "
1247 "Linux-specific B<RLIMIT_RTTIME> limit exhibits the same behavior when the "
1248 "soft limit is encountered."
1249 msgstr ""
1250 "منذ لينكس 2.6.12، إذا وصلت عملية إلى حدها الناعم B<RLIMIT_CPU> وكان لديها "
1251 "معالج مثبت لـ B<SIGXCPU>، فبالإضافة إلى استدعاء معالج الإشارة، تزيد النواة "
1252 "الحد الناعم بمقدار ثانية واحدة. يتكرر هذا السلوك إذا استمرت العملية في "
1253 "استهلاك وقت وحدة المعالجة المركزية، حتى الوصول إلى الحد الصلب، وعندها تُقتل "
1254 "العملية. لا تغير التطبيقات الأخرى الحد الناعم B<RLIMIT_CPU> بهذه الطريقة، "
1255 "وسلوك لينكس ربما لا يتوافق مع المعايير؛ يجب على التطبيقات المحمولة تجنب "
1256 "الاعتماد على هذا السلوك الخاص بلينكس. يُظهر الحد الخاص بلينكس "
1257 "B<RLIMIT_RTTIME> نفس السلوك عند مواجهة الحد الناعم."
1258
1259 #. d3561f78fd379a7110e46c87964ba7aa4120235c
1260 #. type: Plain text
1261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1263 msgid ""
1264 "Kernels before Linux 2.4.22 did not diagnose the error B<EINVAL> for "
1265 "B<setrlimit>() when I<rlim-E<gt>rlim_cur> was greater than I<rlim-"
1266 "E<gt>rlim_max>."
1267 msgstr ""
1268 "لم تشخص أنوية لينكس قبل 2.4.22 الخطأ B<EINVAL> لـ B<setrlimit>() عندما كانت "
1269 "I<rlim-E<gt>rlim_cur> أكبر من I<rlim-E<gt>rlim_max>."
1270
1271 #. type: Plain text
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 msgid ""
1275 "Linux doesn't return an error when an attempt to set B<RLIMIT_CPU> has "
1276 "failed, for compatibility reasons."
1277 msgstr ""
1278 "لا يُرجع لينكس خطأً عندما تفشل محاولة تعيين B<RLIMIT_CPU>، لأسباب تتعلق "
1279 "بالتوافق."
1280
1281 #. type: SS
1282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1284 #, no-wrap
1285 msgid "Representation of \\[dq]large\\[dq] resource limit values on 32-bit platforms"
1286 msgstr "تمثيل قيم حدود الموارد \\[dq]الكبيرة\\[dq] على منصات 32 بت"
1287
1288 #. #-#-#-#-# archlinux: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1289 #. Linux still uses long for limits internally:
1290 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1291 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1292 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1293 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1294 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1295 #. type: Plain text
1296 #. #-#-#-#-# debian-trixie: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1297 #. Linux still uses long for limits internally:
1298 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1299 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1300 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1301 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1302 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1303 #. type: Plain text
1304 #. #-#-#-#-# debian-unstable: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1305 #. Linux still uses long for limits internally:
1306 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1307 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1308 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1309 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1310 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1311 #. type: Plain text
1312 #. #-#-#-#-# fedora-44: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1313 #. Linux still uses long for limits internally:
1314 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1315 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1316 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1317 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1318 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1319 #. type: Plain text
1320 #. #-#-#-#-# fedora-rawhide: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1321 #. Linux still uses long for limits internally:
1322 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1323 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1324 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1325 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1326 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1327 #. type: Plain text
1328 #. #-#-#-#-# mageia-cauldron: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1329 #. Linux still uses long for limits internally:
1330 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1331 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1332 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1333 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1334 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1335 #. type: Plain text
1336 #. #-#-#-#-# opensuse-leap-16-1: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1337 #. Linux still uses long for limits internally:
1338 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1339 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1340 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1341 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1342 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1343 #. type: Plain text
1344 #. #-#-#-#-# opensuse-tumbleweed: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1345 #. Linux still uses long for limits internally:
1346 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1347 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1348 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1349 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1350 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1351 #. type: Plain text
1352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1354 msgid ""
1355 "The glibc B<getrlimit>() and B<setrlimit>() wrapper functions use a 64-bit "
1356 "I<rlim_t> data type, even on 32-bit platforms. However, the I<rlim_t> data "
1357 "type used in the B<getrlimit>() and B<setrlimit>() system calls is a (32-"
1358 "bit) I<unsigned long>. Furthermore, in Linux, the kernel represents "
1359 "resource limits on 32-bit platforms as I<unsigned long>. However, a 32-bit "
1360 "data type is not wide enough. The most pertinent limit here is B<\\"
1361 "%RLIMIT_FSIZE>, which specifies the maximum size to which a file can grow: "
1362 "to be useful, this limit must be represented using a type that is as wide as "
1363 "the type used to represent file offsets\\[em]that is, as wide as a 64-bit "
1364 "B<off_t> (assuming a program compiled with I<_FILE_OFFSET_BITS=64>)."
1365 msgstr ""
1366 "تستخدم دالتا الغلاف B<getrlimit>() و B<setrlimit>() في glibc نوع بيانات "
1367 "I<rlim_t> بعرض 64 بت، حتى على منصات 32 بت. ومع ذلك، فإن نوع البيانات "
1368 "I<rlim_t> المستخدم في استدعاءات النظام B<getrlimit>() و B<setrlimit>() هو "
1369 "I<unsigned long> (32 بت). علاوة على ذلك، في لينكس، تمثل النواة حدود الموارد "
1370 "على منصات 32 بت كـ I<unsigned long>. لكن نوع بيانات 32 بت ليس واسعًا بما "
1371 "يكفي. الحد الأكثر صلة هنا هو B<\\%RLIMIT_FSIZE>، الذي يحدد الحجم الأقصى "
1372 "الذي يمكن أن ينمو إليه ملف: ليكون مفيدًا، يجب تمثيل هذا الحد باستخدام نوع "
1373 "بعرض مثل النوع المستخدم لتمثيل إزاحات الملف\\[em]أي، بعرض مثل B<off_t> بعرض "
1374 "64 بت (بافتراض برنامج مُجمّع مع I<_FILE_OFFSET_BITS=64>)."
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1379 msgid ""
1380 "To work around this kernel limitation, if a program tried to set a resource "
1381 "limit to a value larger than can be represented in a 32-bit I<unsigned "
1382 "long>, then the glibc B<setrlimit>() wrapper function silently converted "
1383 "the limit value to B<RLIM_INFINITY>. In other words, the requested resource "
1384 "limit setting was silently ignored."
1385 msgstr ""
1386 "للتحايل على هذا القيد في النواة، إذا حاول برنامج تعيين حد مورد إلى قيمة أكبر "
1387 "مما يمكن تمثيله في I<unsigned long> بعرض 32 بت، فإن دالة الغلاف "
1388 "B<setrlimit>() في glibc حولت قيمة الحد بصمت إلى B<RLIM_INFINITY>. بعبارة "
1389 "أخرى، تم تجاهل إعداد حد المورد المطلوب بصمت."
1390
1391 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1392 #. type: Plain text
1393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1395 msgid ""
1396 "Since glibc 2.13, glibc works around the limitations of the B<\\"
1397 "%getrlimit>() and B<setrlimit>() system calls by implementing "
1398 "B<setrlimit>() and B<\\%getrlimit>() as wrapper functions that call "
1399 "B<prlimit>()."
1400 msgstr ""
1401 "منذ إصدار glibc 2.13، يتجاوز glibc قيود استدعاءات النظام B<\\%getrlimit>() و "
1402 "B<setrlimit>() عبر تنفيذ B<setrlimit>() و B<\\%getrlimit>() كدوال غلاف "
1403 "تستدعي B<prlimit>()."
1404
1405 #. type: SH
1406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1408 #, no-wrap
1409 msgid "EXAMPLES"
1410 msgstr "أمثلة"
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid "The program below demonstrates the use of B<prlimit>()."
1416 msgstr "يوضح البرنامج التالي استخدام B<prlimit>()."
1417
1418 #. type: Plain text
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 #, no-wrap
1422 msgid ""
1423 "#define _GNU_SOURCE\n"
1424 "#define _FILE_OFFSET_BITS 64\n"
1425 "#include E<lt>err.hE<gt>\n"
1426 "#include E<lt>stdint.hE<gt>\n"
1427 "#include E<lt>stdio.hE<gt>\n"
1428 "#include E<lt>stdlib.hE<gt>\n"
1429 "#include E<lt>sys/resource.hE<gt>\n"
1430 "#include E<lt>time.hE<gt>\n"
1431 "\\&\n"
1432 "int\n"
1433 "main(int argc, char *argv[])\n"
1434 "{\n"
1435 " pid_t pid;\n"
1436 " struct rlimit old, new;\n"
1437 " struct rlimit *newp;\n"
1438 "\\&\n"
1439 " if (!(argc == 2 || argc == 4)) {\n"
1440 " fprintf(stderr, \"Usage: %s E<lt>pidE<gt> [E<lt>new-soft-limitE<gt> \"\n"
1441 " \"E<lt>new-hard-limitE<gt>]\\[rs]n\", argv[0]);\n"
1442 " exit(EXIT_FAILURE);\n"
1443 " }\n"
1444 "\\&\n"
1445 " pid = atoi(argv[1]); /* PID of target process */\n"
1446 "\\&\n"
1447 " newp = NULL;\n"
1448 " if (argc == 4) {\n"
1449 " new.rlim_cur = atoi(argv[2]);\n"
1450 " new.rlim_max = atoi(argv[3]);\n"
1451 " newp = &new;\n"
1452 " }\n"
1453 "\\&\n"
1454 " /* Set CPU time limit of target process; retrieve and display\n"
1455 " previous limit */\n"
1456 "\\&\n"
1457 " if (prlimit(pid, RLIMIT_CPU, newp, &old) == -1)\n"
1458 " err(EXIT_FAILURE, \"prlimit-1\");\n"
1459 " printf(\"Previous limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1460 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1461 "\\&\n"
1462 " /* Retrieve and display new CPU time limit */\n"
1463 "\\&\n"
1464 " if (prlimit(pid, RLIMIT_CPU, NULL, &old) == -1)\n"
1465 " err(EXIT_FAILURE, \"prlimit-2\");\n"
1466 " printf(\"New limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1467 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1468 "\\&\n"
1469 " exit(EXIT_SUCCESS);\n"
1470 "}\n"
1471 msgstr ""
1472 "#define _GNU_SOURCE\n"
1473 "#define _FILE_OFFSET_BITS 64\n"
1474 "#include E<lt>err.hE<gt>\n"
1475 "#include E<lt>stdint.hE<gt>\n"
1476 "#include E<lt>stdio.hE<gt>\n"
1477 "#include E<lt>stdlib.hE<gt>\n"
1478 "#include E<lt>sys/resource.hE<gt>\n"
1479 "#include E<lt>time.hE<gt>\n"
1480 "\\&\n"
1481 "int\n"
1482 "main(int argc, char *argv[])\n"
1483 "{\n"
1484 " pid_t pid;\n"
1485 " struct rlimit old, new;\n"
1486 " struct rlimit *newp;\n"
1487 "\\&\n"
1488 " if (!(argc == 2 || argc == 4)) {\n"
1489 " fprintf(stderr, \"Usage: %s E<lt>pidE<gt> [E<lt>new-soft-limitE<gt> \"\n"
1490 " \"E<lt>new-hard-limitE<gt>]\\[rs]n\", argv[0]);\n"
1491 " exit(EXIT_FAILURE);\n"
1492 " }\n"
1493 "\\&\n"
1494 " pid = atoi(argv[1]); /* PID of target process */\n"
1495 "\\&\n"
1496 " newp = NULL;\n"
1497 " if (argc == 4) {\n"
1498 " new.rlim_cur = atoi(argv[2]);\n"
1499 " new.rlim_max = atoi(argv[3]);\n"
1500 " newp = &new;\n"
1501 " }\n"
1502 "\\&\n"
1503 " /* Set CPU time limit of target process; retrieve and display\n"
1504 " previous limit */\n"
1505 "\\&\n"
1506 " if (prlimit(pid, RLIMIT_CPU, newp, &old) == -1)\n"
1507 " err(EXIT_FAILURE, \"prlimit-1\");\n"
1508 " printf(\"Previous limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1509 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1510 "\\&\n"
1511 " /* Retrieve and display new CPU time limit */\n"
1512 "\\&\n"
1513 " if (prlimit(pid, RLIMIT_CPU, NULL, &old) == -1)\n"
1514 " err(EXIT_FAILURE, \"prlimit-2\");\n"
1515 " printf(\"New limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1516 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1517 "\\&\n"
1518 " exit(EXIT_SUCCESS);\n"
1519 "}\n"
1520
1521 #. SRC END
1522 #. type: SH
1523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1525 #, no-wrap
1526 msgid "SEE ALSO"
1527 msgstr "انظر أيضًا"
1528
1529 #. type: Plain text
1530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1532 msgid ""
1533 "B<prlimit>(1), B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), "
1534 "B<mlock>(2), B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), "
1535 "B<shmctl>(2), B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), "
1536 "B<capabilities>(7), B<cgroups>(7), B<credentials>(7), B<signal>(7)"
1537 msgstr ""
1538 "B<prlimit>(1), B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), "
1539 "B<mlock>(2), B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), "
1540 "B<shmctl>(2), B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), "
1541 "B<capabilities>(7), B<cgroups>(7), B<credentials>(7), B<signal>(7)"
1542
1543 #. type: TH
1544 #: debian-trixie
1545 #, no-wrap
1546 msgid "2024-06-17"
1547 msgstr "17 يونيو 2024"
1548
1549 #. type: TH
1550 #: debian-trixie
1551 #, no-wrap
1552 msgid "Linux man-pages 6.9.1"
1553 msgstr "صفحات دليل لينكس 6.9.1"
1554
1555 #. type: Plain text
1556 #: debian-trixie
1557 msgid "Standard C library (I<libc>, I<-lc>)"
1558 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
1559
1560 #. type: Plain text
1561 #: debian-trixie fedora-44 fedora-rawhide
1562 #, no-wrap
1563 msgid "B<typedef> /* ... */ B<rlim_t;> /* Unsigned integer type */\n"
1564 msgstr "B<typedef> /* ... */ B<rlim_t;> /* Unsigned integer type */\n"
1565
1566 #. type: Plain text
1567 #: debian-trixie fedora-44 fedora-rawhide
1568 msgid "POSIX.1-2008."
1569 msgstr "POSIX.1-2008."
1570
1571 #. type: Plain text
1572 #: debian-trixie fedora-44 fedora-rawhide
1573 msgid "POSIX.1-2001, SVr4, 4.3BSD."
1574 msgstr "POSIX.1-2001، SVr4، 4.3BSD."
1575
1576 #. type: TH
1577 #: fedora-44 fedora-rawhide
1578 #, no-wrap
1579 msgid "2024-07-23"
1580 msgstr "23 يوليو 2024"
1581
1582 #. type: TH
1583 #: fedora-44 fedora-rawhide
1584 #, no-wrap
1585 msgid "Linux man-pages 6.13"
1586 msgstr "صفحات دليل لينكس 6.13"
1587
1588 #. type: TH
1589 #: mageia-cauldron
1590 #, no-wrap
1591 msgid "Linux man-pages 6.17"
1592 msgstr "صفحات دليل لينكس 6.17"
1593
1594 #. type: TH
1595 #: opensuse-leap-16-1 opensuse-tumbleweed
1596 #, no-wrap
1597 msgid "Linux man-pages (unreleased)"
1598 msgstr "صفحات دليل لينكس (لم تصدر بعد)"